Yes, you can make a good electrolyte drink for fasting at home with three things: salt, a potassium salt substitute, and a magnesium powder. Mixed into 16 ounces of water, that gets you in the range of roughly 290 mg sodium, 150 mg potassium and 30 to 60 mg magnesium with zero calories. The recipe is easy. The part most recipes skip is that potassium and magnesium amounts vary a lot from product to product, so you have to read your labels instead of trusting a "scoop" or a "pinch."
I'm Schuyler, I founded Fasted State, and I make an electrolyte powder called Optimize. I'll tell you plainly where homemade works great and where a premade powder may be worth the money. I'm not a doctor, and nothing here is medical advice.
Why would you make your own electrolyte drink for fasting?
Three common reasons: cost, control, and avoiding ingredients you don't want. A homemade mix can cost pennies per serving, you decide exactly what goes in, and you can skip sweeteners, flavorings and carrier ingredients entirely.
If you already own a good salt and can find a clean potassium source, DIY is hard to beat on price. If you are new to fasting and still figuring out how much you need, mixing your own also teaches you what the numbers actually mean.
What should a fasting electrolyte drink contain?
Sodium, potassium and magnesium are the three that most fasting guides focus on. Your needs depend on your size, your sweat, your diet, the length of your fast and your medications, so treat every number below as a starting point rather than a prescription.
Sodium is the big one for most people, and it is the main reason salt-based drinks tend to help people who feel lightheaded or headachy during longer fasts. I go deeper on that in my post on headaches while fasting. Potassium is trickier, because the National Institutes of Health notes that people with impaired potassium excretion, such as chronic kidney disease or ACE inhibitor use, can develop high potassium even at normal intakes. Magnesium is the one most people undershoot, which is why I wrote a whole post on magnesium for fasting.
What is a simple homemade electrolyte drink recipe for fasting?
This is a single 16 ounce (about 500 mL) serving. It has no calories and no sugar.
- 16 ounces of cold water
- 1/8 teaspoon fine table or sea salt (roughly 290 mg sodium; fine grains pack more densely than coarse flakes, so a kitchen scale is better if you have one)
- A potassium salt substitute dosed by its label to about 150 mg potassium
- A magnesium powder dosed by its label to about 30 to 60 mg of elemental magnesium
- A squeeze of fresh lemon, optional, for taste

Stir or shake until dissolved, then sip over an hour or two rather than chugging. Some people find the taste of potassium chloride metallic, and the lemon helps.
About the salt numbers: a level teaspoon of table salt is commonly cited at around 2,300 mg sodium, so 1/8 teaspoon lands near 290 mg. Pink and coarse salts have less sodium per teaspoon because the grains are bigger, so measure by weight (about 0.75 g of sodium chloride gives roughly 290 mg sodium) if accuracy matters to you.
How do you dose the potassium without guessing?
Read the label on the salt substitute and do the math yourself. The NIH Office of Dietary Supplements reports that potassium content in salt substitutes varies widely, from about 440 mg to 2,800 mg potassium per teaspoon. That is a more than sixfold range, which means "1/4 teaspoon of salt substitute" can be a small dose with one brand and a large one with another.
Here is the arithmetic. Say your label lists 650 mg potassium per 1/4 teaspoon (a made-up number for illustration, so check yours). To get about 150 mg you would use roughly a quarter of that serving. For a half-sodium "lite salt" blend the potassium is much lower, so the dose scales differently again.
Two cautions. First, if you have kidney disease, heart failure, diabetes, adrenal problems or liver disease, or you take an ACE inhibitor or potassium-sparing diuretic, talk to your doctor before adding potassium at all. Second, the same NIH page notes that many supplement makers cap potassium at 99 mg per product, in part because of FDA concerns about small-bowel lesions with some potassium chloride drug products. That is about solid tablets, not a diluted drink, but it is a good reason to keep your dose modest and dissolved in a full glass of water.
How do you dose the magnesium?
Use a magnesium powder that lists elemental magnesium per serving, and aim for roughly 30 to 60 mg in this drink. The NIH sets the tolerable upper intake level for supplemental magnesium at 350 mg per day for adults, and notes that high doses from supplements often cause diarrhea. People with impaired kidney function are at higher risk of magnesium toxicity.
Forms matter for comfort. Magnesium citrate and magnesium oxide are more likely to loosen things up at higher doses, which is a poor mix with an already-stressful long fast. Glycinate and similar forms are often gentler for people, though I would call that common experience rather than settled science. If you are also taking a magnesium capsule at night, add it to your daily total.
Can you just drink salt water instead?
You can, and plenty of people do. The r/fasting community wiki even makes the point that "a tiny amount of salt in your water now and then is not proper supplementation," as the subreddit's moderation bot puts it. Salt alone covers sodium and leaves potassium and magnesium to whatever you eat, which is little or nothing during a fast.
For a 16 to 24 hour intermittent fast on a normal diet, salt water plus your regular food is often enough. For multi-day fasts, low-carb eating, or heavy sweating, the other two minerals start to matter more. My post on electrolytes for intermittent fasting covers the timing question.
What about the WHO rehydration recipe?
The World Health Organization's reduced-osmolarity oral rehydration solution is the best-studied homemade-style recipe in the world. The standard formula uses 2.6 g sodium chloride, 2.9 g trisodium citrate, 1.5 g potassium chloride and 13.5 g glucose per liter of water.
That glucose is the catch. It is there on purpose, because sugar helps the gut absorb sodium and water during diarrheal illness, and 13.5 g per liter is about 54 calories. If you are fasting for metabolic reasons, a sugar-containing ORS is a different tool for a different job. For ordinary fasting hydration, a zero-calorie mineral mix is more consistent with what most people are trying to do. Whether small electrolyte amounts break a fast is a definitional question, which I cover in do electrolytes break a fast.
What are the common mistakes with a DIY electrolyte drink?
The most common one is using too little sodium and calling it done. A pinch of salt in a water bottle is often a few dozen milligrams, which is far from what most fasting guides describe.
The second is flavor workarounds that quietly add calories, like fruit juice, honey, or bottled lemon with sugar. The third is stirring in magnesium and potassium at levels you have not calculated, then wondering why your stomach is upset. Dissolve everything fully, sip slowly, and start at the low end.

Where does Optimize fit?
I'll be direct. If you enjoy mixing your own and are willing to read labels, homemade is cheaper and entirely reasonable, and I would rather you do it well than buy something you don't need.
Where a premade powder earns its place is consistency and convenience. Optimize has 290 mg sodium, 145 mg potassium, 30 mg magnesium and 150 mg L-theanine per serving, plus Ceylon cinnamon, ginger, lemon peel and vanilla bean. It has zero sugar and zero calories, no sweeteners and no natural flavors, and it runs about $1.50 per serving at the regular price. You scoop it into 8 ounces of water and you are done, with no kitchen math. Plus, the other ingredients will help you feel better on your fast, and will support better energy, mental focus, and just feeling better.
The Optimize product page has the full label, so you can see it for yourself.
Frequently asked questions
Can I use Himalayan pink salt for a homemade electrolyte drink?
Yes. Its sodium content per gram is similar to table salt, but coarse grains pack less sodium per teaspoon, so weigh it if you want an accurate dose. Pink salt's trace minerals are present in very small amounts and should not be counted on for potassium or magnesium.
How much sodium do I need during a fast?
It varies with your body, diet, activity and the length of your fast. Many fasting coaches suggest somewhere around 1,000 to 2,000 mg across a longer fast, but that is common practice rather than a clinical guideline, and anyone with high blood pressure, kidney disease or heart disease should check with their doctor first.
Is a homemade electrolyte drink safe for multi-day fasts?
Extended fasting carries real risks, and electrolyte problems can be serious. Anyone considering a fast longer than a day or two, or who has a medical condition or takes medication, should have a doctor involved. Homemade drinks are no substitute for medical supervision.
Does lemon juice break a fast?
A squeeze adds a trivial amount of calories, and whether it "breaks" a fast depends on your goals. If you want to stay strictly at zero, leave it out or use only the lemon peel flavor. My what breaks a fast guide breaks down the gray areas.
Can I make this ahead of time?
Yes. Mix a batch in a glass bottle and refrigerate it for a day or two. Shake before drinking, since magnesium powders can settle.
The bottom line
A homemade electrolyte drink for fasting is simple, cheap and effective if you do the label math on potassium and magnesium and keep sodium in a reasonable range. Start small, sip slowly, and stop if anything feels off. If measuring and mixing is more effort than you want during a fast, a premade powder is a reasonable shortcut, and I would hold up Optimize as one honest option among several, not the only one.
Fuel your fast, feel your best.
This article is for general education and is not medical advice. Talk with your doctor before adding electrolytes or fasting, especially if you have kidney, heart or blood pressure conditions or take medication.
Sources
NIH Office of Dietary Supplements, Magnesium Fact Sheet for Health Professionals (350 mg supplemental upper limit, diarrhea, kidney risk) https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
NIH Office of Dietary Supplements, Potassium Fact Sheet for Health Professionals (salt substitute potassium range, hyperkalemia risk, 99 mg supplement convention) https://ods.od.nih.gov/factsheets/Potassium-HealthProfessional/
National Academies, Dietary Reference Intakes for Sodium and Potassium (2019), summary tables https://www.ncbi.nlm.nih.gov/books/NBK545442/
WikEM, Reduced-osmolarity oral rehydration solution (WHO/UNICEF formulation, summarizing WHO and UNICEF sources) https://wikem.org/wiki/Reduced-osmolarity_oral_rehydration_solution/de
Optimize product page, Fasted State https://getfastedstate.com/products/optimize
LMNT nutrition figures as listed by the manufacturer https://drinklmnt.com
0 comments