How to Make Your Own Electrolyte Drink at Home

Making your own electrolyte drink takes about two minutes and costs a fraction of what you’d pay for a commercial mix. The basic formula is simple: water, salt (sodium), something for potassium, a small amount of sugar, and optional magnesium. What separates a good homemade electrolyte drink from flavored salt water is getting the ratios right for your body and activity level.

The Basic Homemade Electrolyte Recipe

This everyday recipe works well for mild dehydration, hot weather, or light to moderate exercise:

  • 32 oz (1 liter) of water
  • ¼ teaspoon table salt (about 575 mg sodium)
  • ¼ teaspoon salt substitute like Nu-Salt or Morton Lite Salt (about 350 mg potassium)
  • 1–2 tablespoons honey, maple syrup, or sugar (12–25 g)
  • 2 tablespoons lemon or lime juice for flavor and a small potassium boost

Stir until dissolved. That’s it. You can refrigerate it or drink it at room temperature. The sugar isn’t just for taste. In your small intestine, a protein called SGLT1 pulls sodium and glucose into your cells together, dragging water along with them. For every glucose molecule absorbed, two sodium ions get pulled through as well. A small amount of sugar genuinely speeds up how fast you rehydrate. Too much sugar, though, can slow absorption and cause stomach discomfort, so keep it under 25 grams per liter.

Why These Ingredients Matter

Sodium is the electrolyte you lose most in sweat. During moderate-intensity exercise, recreational athletes lose roughly 1,000 to 1,500 mg of sodium per hour. At lower intensities, that drops closer to 400 to 700 mg per hour. If you’re exercising for over an hour, working outdoors in heat, or recovering from illness, sodium is the main thing you need to replace.

Potassium keeps your muscles firing properly and helps balance sodium’s effects on blood pressure. Coconut water is often suggested as a natural potassium source, and it does deliver roughly 200 mg of potassium per cup. But it’s naturally low in sodium (only about 75 mg per cup), so it works better as a recipe base than as a standalone rehydration drink. If you use coconut water, you still need to add salt.

Magnesium supports muscle relaxation and nerve function. Most people don’t lose large amounts in sweat, but many are mildly deficient from diet alone. Adding a pinch of magnesium powder to your drink can help, though it’s also easy to get from food (nuts, dark leafy greens, dark chocolate).

Choosing a Magnesium Powder

Not all magnesium supplements dissolve well in water. Magnesium citrate is 55% soluble in plain water, making it the best choice for a drinkable mix. It also has a mildly tart flavor that blends well with citrus. Magnesium oxide, the cheapest form on store shelves, is virtually insoluble in water and poorly absorbed. Magnesium glycinate absorbs well but doesn’t dissolve as cleanly, sometimes leaving a chalky texture. For a DIY drink, magnesium citrate powder is the clear winner.

If you add magnesium, start with about ¼ teaspoon of magnesium citrate powder per liter, which provides roughly 75 to 100 mg of elemental magnesium depending on the brand. Check the label for the elemental magnesium content, not just the weight of the compound.

A Stronger Mix for Heavy Sweating

If you’re doing intense exercise for over an hour, working a physical job in heat, or recovering from a stomach illness, you’ll want a stronger version:

  • 32 oz (1 liter) of water
  • ½ teaspoon table salt (about 1,150 mg sodium)
  • ½ teaspoon salt substitute (about 700 mg potassium)
  • 2 tablespoons honey or sugar
  • ¼ teaspoon magnesium citrate powder (optional)
  • Juice of one lemon or lime

This closely mirrors the sodium concentration in commercial sports drinks while giving you more potassium than most of them contain. Sip it steadily rather than drinking it all at once, especially if your stomach is already upset.

Adjustments for a Keto or Low-Carb Diet

Low-carb and ketogenic diets cause your kidneys to excrete more sodium and water, especially in the first few weeks. This is why “keto flu” symptoms like headaches, fatigue, and muscle cramps are so common early on. The electrolyte targets for keto are higher than for a standard diet: 4 to 6 grams of sodium, 3.5 to 5 grams of potassium, and 400 to 600 mg of magnesium per day, spread across meals and drinks.

For a keto-friendly electrolyte drink, simply drop the sugar and use a squeeze of lemon or lime for flavor. You lose the glucose-assisted absorption boost, but the sodium and potassium still get absorbed through other pathways. Some people add a splash of apple cider vinegar instead. If you’re on keto, consider making two or three servings per day of the basic recipe (without sugar) to meet those higher sodium needs, and season your food generously with salt and lite salt.

Scaling by Activity Level

Your sweat rate and the sodium concentration of your sweat are both highly individual. But some general benchmarks help with planning. A study of recreational cyclists found that 90 minutes of moderate cycling in warm conditions produced about 1,565 mg of total sodium loss. At a lower intensity, the same duration produced only about 659 mg. Extrapolated to two hours, that’s roughly 900 mg at low intensity and 2,100 mg at moderate intensity.

For a casual walk or yoga session, you probably don’t need an electrolyte drink at all. Plain water is fine. For a one-hour gym session, the basic recipe covers you. For a long run, an all-day hike, or two-a-day training sessions, use the stronger recipe and plan to drink one liter per hour of activity, adjusting based on thirst and how salty your sweat tastes or looks (white residue on your clothes is a sign of high sodium loss).

Flavor Variations That Work

The biggest reason people stop drinking homemade electrolytes is taste. Salt water with lemon gets old fast. Here are some variations that use the same base formula:

  • Berry: Muddle a handful of frozen berries into the water before adding salt. Strain if you want a clear drink.
  • Ginger lime: Steep a tablespoon of grated fresh ginger in warm water for 10 minutes, cool, then add salt, potassium, lime juice, and honey.
  • Watermelon mint: Blend a cup of watermelon with the water, strain, and add salt and potassium. The watermelon provides natural sugar and a small potassium boost.
  • Coconut base: Replace half the water with coconut water. This adds roughly 100 mg of potassium per cup, so you can reduce the salt substitute slightly. You’ll still need to add salt, since coconut water is sodium-poor.

A pinch of stevia or monk fruit works as a zero-calorie sweetener for the keto version, though neither activates that glucose-sodium absorption pathway the way real sugar does.

Potassium Safety

Sodium is hard to overdo from a drink recipe since your body is efficient at excreting extra sodium through urine. Potassium requires a bit more care. For healthy people, supplementing up to about 2,500 mg of potassium per day on top of a normal diet appears safe. The recipes above provide 350 to 700 mg per liter, well within that range even if you drink several servings.

The real danger comes from concentrated potassium supplements, not from food or diluted drinks. Case reports of serious toxicity involve people taking thousands of milligrams from potassium chloride tablets. A 26-year-old died after consuming an estimated 12,500 mg from extended-release tablets. At the doses in a homemade drink, the potassium is dilute and absorbed gradually, which is far safer.

That said, people with kidney disease, diabetes, severe heart failure, or those taking ACE inhibitors or similar blood pressure medications should be cautious with any potassium supplementation. Impaired kidney function means your body can’t excrete excess potassium efficiently, and even moderate amounts can build up to dangerous levels.

Batch Prep and Storage

You can pre-mix a dry electrolyte powder and store it in a jar for weeks. Combine salt, salt substitute, magnesium citrate powder, and sugar (if using) in the ratio from any recipe above, then scoop the appropriate amount into water when you need it. Without citrus juice, the dry mix stays shelf-stable indefinitely. Once mixed with water and juice, keep it refrigerated and use it within 48 hours, since the citrus juice can develop off flavors.

For travel or gym bags, portion the dry mix into small zip-lock bags or empty capsule containers. One portion per liter of water makes it easy to mix into a bottle on the go.