Quick answer: On a ketogenic diet, lower insulin levels cause the kidneys to excrete more sodium, and water follows. Most people need 3,000 to 5,000 mg of sodium, 2,000 to 3,500 mg of potassium and 300 to 500 mg of magnesium per day from food plus electrolytes to avoid the headache, fatigue and cramps known as keto flu.
What electrolytes on keto actually means
Electrolytes are minerals that carry an electric charge when dissolved in water. The ones that matter most on a low-carbohydrate diet are sodium, potassium, magnesium and calcium. They control fluid balance, nerve signalling and muscle contraction. On a standard mixed diet, processed foods supply most of the sodium and a fair share of the potassium. On keto, those foods disappear, and insulin falls. Both changes push the kidney to excrete more sodium.
The label on a keto electrolyte product rarely tells you the whole story. It may list sodium citrate, potassium chloride and magnesium glycinate. Those are compound weights. The elemental mineral your body actually gets is lower. A product that says 1,000 mg sodium citrate delivers roughly 230 mg elemental sodium. This distinction matters when you compare products or set a daily target.
What the evidence shows
The link between carbohydrate restriction and sodium loss is well documented, but the size of the effect varies. Here is what controlled studies and reviews show.
In a metabolic ward study of adults on a very-low-carbohydrate diet, urinary sodium rose sharply in the first week and then declined but stayed above baseline for weeks. The study type was a small controlled feeding trial, so the numbers are precise but the population was limited.
A randomized trial in adults with hypertension found that a low-carbohydrate diet reduced systolic blood pressure and allowed some participants to reduce diuretic medication. The mechanism included natriuresis, meaning increased sodium in the urine. The population was hypertensive adults, not healthy athletes.
Observational data from people on ketogenic diets for weight loss show that headache, fatigue and muscle cramps cluster in the first two weeks. These are self-reported symptoms, so the evidence is weaker than a clinical trial. The pattern is consistent, though, and it responds to sodium and fluid.
Magnesium evidence on keto is thinner. Low-carb diets can be low in magnesium-rich foods like beans and whole grains, but leafy greens, nuts and fish can fill the gap. A small trial in adults with constipation found magnesium citrate improved stool frequency. That is not a keto-specific study, so treat it as supportive, not definitive.
Potassium is the electrolyte with the strongest safety signal. High-dose potassium supplements can cause cardiac arrhythmia, especially in people with kidney disease or those taking ACE inhibitors, ARBs or potassium-sparing diuretics. The evidence for harm is clear from case reports and clinical pharmacology. The evidence for routine high-dose potassium supplementation on keto is weak, because food sources are usually enough.
Forms compared
Not all electrolyte forms behave the same in the body or in a formula. The table below compares the three most common keto electrolyte ingredients by elemental yield and practical notes.
| Ingredient | Elemental mineral per 1,000 mg | Practical notes |
|---|---|---|
| Sodium citrate | ~230 mg sodium | Softer taste than chloride; buffers pH; good for flavoured powders |
| Sodium chloride (salt) | ~390 mg sodium | Cheapest; strong salty taste; works in capsules or unflavoured powders |
| Potassium citrate | ~360 mg potassium | Less gastric irritation than chloride; legal dose limits vary by market |
| Magnesium glycinate | ~140 mg magnesium | Gentle on the bowel; larger capsule size; good for evening use |
| Magnesium citrate | ~160 mg magnesium | May loosen stools; useful if constipation is the problem |
Elemental yield is the number to compare. Two products can both say 500 mg magnesium, but one may be magnesium oxide (about 60% elemental) and the other magnesium glycinate (about 14% elemental). The oxide delivers more elemental mineral per milligram, but it is less well absorbed and more likely to cause loose stools.
Dosage and timing
Targets should be set as food-plus-supplement totals. The table below gives practical ranges by population. These are not medical prescriptions. They are starting points that a formulator or clinician can adjust.
| Population | Sodium (mg/day) | Potassium (mg/day) | Magnesium (mg/day) | Notes |
|---|---|---|---|---|
| Sedentary adult, first 2 weeks of keto | 3,000–4,000 | 2,000–3,000 | 300–400 | Split sodium across 2–3 doses; salt food |
| Active adult or hot climate | 4,000–5,000 | 2,500–3,500 | 300–500 | Add 500–1,000 mg sodium around training |
| Hypertensive adult on keto | Discuss with clinician | 2,000–3,000 | 300–400 | Sodium needs vary; monitor blood pressure |
| Kidney disease or on ACE inhibitor/ARB | Do not supplement potassium without medical advice | Individual | Individual | Risk of hyperkalemia |
Timing matters less than total daily intake, but splitting sodium into two or three doses reduces stomach upset and keeps levels steadier. Magnesium at night suits people who get cramps or constipation. Potassium from food should be spread across meals.
Safety, side effects and interactions
Sodium is generally safe within these ranges for healthy adults. People with hypertension, heart failure or kidney disease should not add salt without medical advice. The same applies to potassium. High potassium can cause palpitations, muscle weakness and, in severe cases, cardiac arrest. The groups at highest risk are people with chronic kidney disease, those taking ACE inhibitors, ARBs, potassium-sparing diuretics or trimethoprim, and older adults with reduced kidney function.
Magnesium supplements can cause diarrhoea, especially oxide and citrate forms. Glycinate is gentler. People with kidney disease should avoid magnesium supplements unless a clinician approves them. Magnesium can also interfere with absorption of some antibiotics and bisphosphonates, so separate doses by two hours.
Calcium is less of a concern on keto if dairy or leafy greens are present. A normal dietary intake is enough for most people. Routine high-dose calcium supplements are not needed for keto flu and may carry other risks.
No electrolyte product should claim to treat or prevent a disease. In the US, dietary supplements are not pre-market approved by the FDA. Structure-function claims are allowed, but disease claims are not.
How to read the label
Start with the supplement facts panel. Look for elemental mineral amounts, not compound weights. If the label says 500 mg potassium citrate, check the elemental potassium column. If the manufacturer does not list it, the product is hard to compare.
Next, check the dosage form. A capsule can hold roughly 500–800 mg of powder, so a product claiming 1,000 mg sodium per capsule is likely using a concentrated form or multiple capsules per serving. Powders and stick packs can carry larger doses but often use carriers. Avoid maltodextrin and dextrose on a keto product. Acacia fibre or erythritol are better carriers if one is needed.
Look at excipients. Magnesium stearate and silicon dioxide are common flow agents and are not a problem for most people. Artificial colours and sugars are unnecessary. For a keto product, total carbohydrate should stay under 1 g per serving.
Finally, check third-party testing. A certificate of analysis (CoA) per batch is the minimum. Heavy metals, microbial and potency testing should be available on request. NSF audit or equivalent is a useful signal, but it is not a guarantee of label accuracy for every batch.
Making it: what changes in production
Electrolyte products are simple in concept and tricky in practice. The dosage form drives most decisions. Powders and stick packs are the most common for keto electrolytes because they can carry 1,000 mg sodium and 500 mg potassium per serving without a handful of capsules. Stick packs need a carrier to prevent caking; acacia fibre works and adds no carbohydrate. Jars are cheaper per serving but less convenient.
Capsules suit smaller doses. A two-capsule serving can hold about 1,000–1,200 mg of powder total, so high-sodium formulas often need three or four capsules. That is a compliance problem for daily use. Tablets can be compressed but sodium salts are hygroscopic and may need humidity-controlled production.
Effervescent tablets are an option for sodium citrate and potassium bicarbonate, but the acid-base reaction limits how much mineral you can load. They also need a low-moisture environment. Liquid drops are easy to dose but bulky for high sodium; they suit magnesium and trace minerals better.
Flavour masking is the main sensory challenge. At 1,000 mg sodium, citrus, watermelon and berry work. Creamy or dessert flavours fail because salt clashes with dairy notes. Unflavoured products avoid the problem and are cheaper to produce.
Stability is usually good for mineral salts. The risk is moisture pickup and caking in powders. Use desiccant sachets in jars and specify a water activity limit. Overages are not typical for minerals because they do not degrade, but you should still test potency at release and at shelf-life end.
Batch testing should include sodium, potassium and magnesium potency, heavy metals, microbial limits and moisture. Third-party testing is available on request. Every batch ships with a CoA.
ZOOMSHEAL makes electrolyte powders, stick packs, capsules, tablets and effervescent tablets at its factory in Huadu District, Guangzhou. Minimum order quantities start at 500 units per SKU for gummies, powders and liquids and 1,000 for capsules, tablets and softgels. Softgels can start at 1,000–2,000 pieces for a pilot, while gummies and stick packs need higher first runs. Lead time is 4–6 weeks for a pilot run after formula and artwork approval, and sampling takes 7–10 days. The factory holds GMP (Intertek), ISO 9001:2015, ISO 22000:2018, HACCP, NSF audit and Halal certification. FDA facility registration is via a US agent, but that is not FDA approval.
Buying checklist for brands
- Decide the elemental dose per serving first, then choose the salt form that fits the dosage form.
- Confirm the legal potassium limit in each target market before finalising the formula.
- Ask for a CoA per batch and third-party heavy metals and potency testing.
- Check the carbohydrate content per serving; carriers and flavours can push it above 1 g.
- Request a stability protocol that includes moisture and potency at shelf life.
- Match the dosage form to the dose: powders for high sodium, capsules for smaller doses.
- Verify certifications and their scope; Halal certification can be line- and product-specific.
Frequently asked questions
How much salt should I take on keto?
Most adults on keto do well with 3,000–5,000 mg sodium per day from food and supplements combined. That is roughly 1.5–2.5 teaspoons of salt, but processed food also contributes. Start at the lower end, split doses across the day, and increase if you get headaches, lightheadedness or cramps. People with hypertension or kidney disease should ask a clinician first.
Will taking salt stop ketosis?
No. Sodium does not affect ketone production. Ketosis depends on carbohydrate restriction, not salt intake. In fact, adequate sodium helps you feel well enough to stay on the diet. The exception is if you consume salt with a large amount of carbohydrate, which is a different issue. Plain salt or electrolyte powder without sugar will not break ketosis.
Can I just drink bouillon for electrolytes?
Yes, bouillon is a practical source of sodium. A cup of broth can supply 800–1,000 mg sodium, depending on the brand. It does not cover potassium or magnesium well, so you still need leafy greens, avocado, fish or a supplement. Watch for added monosodium glutamate or starches if you are strict about ingredients.
Why do I get muscle cramps at night on keto?
Night cramps on keto usually reflect low magnesium and sodium together. Try magnesium glycinate in the evening and spread sodium intake across the day. If cramps persist, check potassium from food and review medications with a clinician. Persistent cramps can also come from dehydration or nerve issues, so do not assume electrolytes are the only cause.
Are keto electrolyte supplements safe for everyone?
No. People with kidney disease, heart failure, hypertension or those taking ACE inhibitors, ARBs or potassium-sparing diuretics should not add potassium without medical advice. Magnesium supplements are also risky in kidney disease. Healthy adults can usually use standard doses, but check with a clinician if you take prescription medication or have a chronic condition.
How do I choose a keto electrolyte powder?
Look for elemental mineral amounts per serving, carbohydrate under 1 g, and no maltodextrin or dextrose. Check the potassium dose against your market's legal limit. Ask for a CoA and third-party testing. Prefer products that state the salt form, such as sodium citrate or magnesium glycinate, because that affects taste and tolerability.
References
- NIH Office of Dietary Supplements. Sodium fact sheet for consumers.
- NIH Office of Dietary Supplements. Potassium fact sheet for consumers.
- NIH Office of Dietary Supplements. Magnesium fact sheet for consumers.
- PubMed search: low-carbohydrate diet and urinary sodium excretion.
- PubMed search: ketogenic diet, electrolytes and keto flu symptoms.
- EFSA. Scientific opinion on dietary reference values for sodium.
- US FDA. Dietary supplements.
- WHO. Salt reduction fact sheet.
Reviewed by Dr. Xu Wei, PhD, formulation scientist at ZOOMSHEAL in Guangzhou (23 years of supplement contract manufacturing). Last updated: November 2026. This article is for education and does not replace medical advice.






