How to Make Homemade Electrolytes: Ratios and Recipes

A basic homemade electrolyte drink needs just three ingredients: table salt, sugar, and water. The classic ratio, used globally for oral rehydration, is roughly half a teaspoon of salt and six level teaspoons of sugar stirred into one liter of clean water. That simple mixture has saved millions of lives during diarrheal illness, and variations of it work well for exercise recovery, heat exposure, and other situations where you’re losing fluids and minerals. But the ratios are not arbitrary, and getting them wrong can make the drink less effective or, in rare cases, unsafe.

Why Sugar and Salt Work Together

Plain water is fine for mild thirst, but when you’re dehydrated from sweating, vomiting, or diarrhea, your body needs more than just water molecules. Sodium is the main electrolyte that determines how much water stays in your bloodstream and the fluid surrounding your cells, while potassium governs the water inside your cells.1Anaesthesia & Intensive Care Medicine. Physiology of fluid balance Drinking large volumes of plain water without replacing sodium can actually dilute what’s left in your blood, which is why electrolyte drinks exist in the first place.

The sugar in an electrolyte drink is not there for energy or taste, though it helps with both. Glucose activates a specific transport protein in the lining of your small intestine that pulls sodium and water along with it. Research on this cotransporter has estimated it accounts for roughly five liters of water absorption per day in the human gut.2PubMed Central. Cotransport of water by the Na+/glucose cotransporter Without glucose, sodium absorption still happens, just more slowly. This is why salt water alone tastes terrible and sits in your stomach, while a salt-and-sugar solution absorbs quickly and efficiently.

The ratio between glucose and sodium matters. When they arrive at the intestinal wall in roughly equal concentrations, absorption is fastest. Tip the balance too far toward sugar and the drink becomes too concentrated, which pulls water into the gut instead of absorbing it. Go too heavy on salt without enough glucose, and you lose the cotransport advantage.

The Gold Standard Recipe

The formula that has the deepest evidence behind it is the World Health Organization’s oral rehydration solution, developed over decades of cholera and diarrhea research. The scientific basis goes back to the 1960s, when researchers first demonstrated that glucose enhances sodium and water absorption across the intestinal lining, and field trials during the Bangladesh liberation war proved the formula could treat severe dehydration without intravenous fluids.3PubMed. History of development of oral rehydration therapy The current reduced-osmolality WHO formula contains 75 millimoles per liter each of sodium and glucose, along with 20 millimoles of potassium and 10 millimoles of citrate.4The American Journal of Emergency Medicine. Life-threatening hyperkalemia from nutritional supplements: uncommon or undiagnosed? That sounds technical, but in kitchen measurements it translates to a recipe you can memorize.

For one liter of water:

  • Salt: ½ level teaspoon (about 2.5 to 3 grams of table salt)
  • Sugar: 6 level teaspoons (about 25 to 30 grams of regular white sugar)
  • Optional potassium: ¼ teaspoon of “lite salt” or salt substitute, which contains potassium chloride, in place of some of the regular salt
  • Optional citrus: juice of half a lemon or orange for flavor and a small potassium boost

Stir until everything dissolves. The drink should taste about as salty as tears. If it tastes saltier than that, add a bit more water. If it tastes purely sweet with no salt presence, you probably under-measured the salt. That taste test is a surprisingly reliable quality check.

Regular table sugar (sucrose) works well here because your gut quickly splits it into glucose and fructose, and the glucose portion drives the cotransport mechanism. Some people prefer to buy pure dextrose (glucose powder) from brewing supply stores, which is absorbed slightly more directly. Either works. Honey is another option, though its sugar composition is less predictable and it should never be given to infants.

A Lighter Sports-Style Formula

The WHO recipe is designed for illness-related dehydration, where sodium losses from diarrhea and vomiting are high. If you’re making an electrolyte drink for exercise, you generally need less sodium and more carbohydrate for fuel. The American College of Sports Medicine recommends that for exercise lasting longer than an hour, a drink should contain roughly four to eight percent carbohydrate (that’s 40 to 80 grams of sugar per liter) and about 0.5 to 0.7 grams of sodium per liter.5PubMed. American College of Sports Medicine position stand. Exercise and fluid replacement

The differences reflect the different situations these drinks address. Commercial sports drinks typically contain around 60 grams per liter of carbohydrate, 20 to 30 millimoles per liter of sodium, and just 2 to 5 millimoles of potassium. An oral rehydration solution, by contrast, has much more sodium and less sugar, because it is replacing what’s lost through the gut rather than through sweat.6Wilderness & Environmental Medicine. Comparison of Sports Drink Versus Oral Rehydration Solution During Exercise in the Heat

A practical sports-style recipe for one liter:

  • Salt: ¼ teaspoon (roughly 1.5 grams)
  • Sugar: 3 to 5 tablespoons (about 40 to 60 grams)
  • Citrus juice: juice of one lemon or lime for flavor and trace potassium

For workouts under an hour, the ACSM notes there is little evidence that an electrolyte drink performs better than plain water.5PubMed. American College of Sports Medicine position stand. Exercise and fluid replacement Save the homemade sports drink for longer sessions, hot weather, or heavy sweaters.

Why Sugar Concentration Matters More Than You Think

One of the most common mistakes with homemade electrolyte drinks is dumping in too much sugar. It seems harmless, and more sugar makes the drink taste better, but research consistently shows that pushing carbohydrate concentration above about six percent compromises fluid delivery. In one study measuring how quickly ingested fluid appeared in the bloodstream, a drink with roughly three percent glucose delivered fluid fastest, and increasing the concentration to nine percent significantly slowed things down.7PubMed Central. Effect of beverage glucose and sodium content on fluid delivery A separate trial found that total fluid absorption from six percent carbohydrate-electrolyte beverages during exercise was not meaningfully different from plain water across the duodenum and jejunum, regardless of whether the drinks were slightly above or below blood osmolality.8PubMed. Effect of beverage osmolality on intestinal fluid absorption during exercise

The practical lesson: when you’re making a drink primarily for hydration rather than fueling a marathon, keep the sugar modest. Six level teaspoons in a liter of water sits right around that sweet spot. If you want to err, err on the side of less sugar rather than more. You can always eat a snack for calories.

Electrolytes for Low-Carb and Ketogenic Diets

People following very low-carb or ketogenic diets face a specific electrolyte challenge. These diets promote increased sodium and water excretion through the kidneys, and if sodium intake doesn’t keep up with those extra losses, the result is what’s colloquially called “keto flu,” with symptoms including dizziness when standing, fatigue, and muscle cramps. The body also compensates by activating hormonal systems that conserve sodium at the cost of excreting more potassium and magnesium.9BMJ Open Diabetes Research & Care. The case for a ketogenic diet in the management of kidney disease

This means a keto-friendly electrolyte drink needs to be low in sugar but relatively generous with sodium, potassium, and magnesium. A typical approach:

  • Salt: ½ teaspoon of regular salt plus ¼ teaspoon of lite salt (for potassium)
  • Magnesium: a small amount of magnesium citrate or glycinate powder, following the supplement’s dosing instructions
  • Flavor: a squeeze of lemon or lime juice, or a few drops of liquid stevia or a splash of sugar-free flavoring
  • Water: one liter

The sugar in a standard electrolyte drink is there to drive the sodium-glucose cotransporter, so removing it does reduce absorption speed somewhat. But for the typical keto dieter who isn’t acutely dehydrated from illness, the extra sodium and minerals matter more than maximizing absorption rate. People on these diets often need to supplement electrolytes daily, not just after workouts.

Choosing Your Magnesium Source

Magnesium deserves its own mention because it is often the trickiest electrolyte to add to a homemade drink. Different magnesium salts behave quite differently in the gut. Magnesium citrate dissolves easily in water but is more likely to cause loose stools, while magnesium oxide barely dissolves at all. Magnesium gluconate and magnesium chloride tend to cause less gastrointestinal trouble and are generally preferred for oral supplementation.10PubMed Central. Perspective: Call for Re-evaluation of the Tolerable Upper Intake Level for Magnesium Supplementation in Adults

If you’re adding magnesium to a daily electrolyte drink, start with a small dose and work up. Splitting the total amount across two or more servings throughout the day, and taking it with food, reduces the chances of stomach upset. Most people find that a dose in the range of 100 to 200 milligrams of elemental magnesium per day from supplements is enough to cover what diet alone misses, but those with significant sweat losses or dietary restrictions may need more.

Bicarbonate vs. Citrate as a Base

The original WHO formula included sodium bicarbonate (baking soda) as a base to help correct the metabolic acidosis that comes with severe diarrhea. The current version uses trisodium citrate instead. Clinical trials comparing the two found no significant differences in rehydration, weight recovery, or correction of acidosis.11PubMed Central. Oral rehydration therapy: efficacy of sodium citrate equals to sodium bicarbonate for correction of acidosis in diarrhoea 12PubMed. Bicarbonate versus citrate in oral rehydration therapy in infants with watery diarrhea: a controlled clinical trial

For homemade purposes, this matters because baking soda is in every kitchen while trisodium citrate is not. If you’re making an ORS-style drink for illness-related dehydration and want to include a base, a small pinch (about half a teaspoon) of baking soda per liter is the easiest option. It adds a slightly soapy taste that lemon juice can mask. If you skip it entirely, the drink still works for hydration; the base primarily helps with the acid-base disruption that accompanies severe diarrhea.

Safety Pitfalls Worth Knowing

Homemade electrolyte drinks are generally safe for healthy people, but a few mistakes can cause real problems.

The biggest risk with any electrolyte drink is getting the salt wildly wrong. Too much salt in too little water tastes awful and can cause nausea or vomiting, which defeats the purpose. Too little salt in a large volume of fluid, consumed over a prolonged period of heavy sweating, can actually contribute to exercise-associated hyponatremia, where blood sodium drops below safe levels. This condition has been reported in nearly every form of endurance activity, and its root cause is typically excessive water intake without adequate sodium.13PubMed Central. Exercise-Associated Hyponatremia 14International Journal of Drug Delivery Technology. Exercise-Associated Hyponatremia in Endurance Sports: Pathophysiology, Epidemiology, Risk Factors, and Clinical Controversies

Potassium is the electrolyte that demands the most caution. Healthy kidneys handle moderate potassium intake without trouble, but large doses can overwhelm the body’s ability to excrete it, especially in people with kidney impairment or those taking certain blood pressure medications. Case reports exist of near-fatal cardiac events from potassium-containing supplements and salt substitutes in people whose kidneys could not keep up.4The American Journal of Emergency Medicine. Life-threatening hyperkalemia from nutritional supplements: uncommon or undiagnosed? The takeaway: if you have kidney disease or take ACE inhibitors, angiotensin receptor blockers, or potassium-sparing diuretics, talk to your doctor before adding potassium chloride (lite salt) to your drinks. For everyone else, the quarter-teaspoon amounts in a typical homemade recipe are well within safe bounds.

Watch the Acid and Your Teeth

Adding lemon or lime juice to an electrolyte drink makes it taste better and contributes trace potassium. But frequent exposure to citric acid erodes tooth enamel over time. In lab studies comparing various fruit juices, lemon juice produced the most severe enamel damage, with progressive loss of enamel height and cusp structure with continued exposure.15PubMed. Topographic and radiographic profile assessment of dental erosion. Part II: effect of citrus fruit juices on human dentition Other research has identified citric and malic acid as the major organic acids responsible for erosion in fruit-based drinks, concluding that such beverages should be regarded as potentially erosive.16Journal of Dental Hygiene Science. Effects of Titratable Acidity and Organic Acids on Enamel Erosion In Vitro

If you’re sipping a citrus-based electrolyte drink throughout the day, a few habits help protect your teeth: use a straw to bypass the front teeth, don’t swish the drink around your mouth, and wait at least 30 minutes before brushing (the softened enamel is more vulnerable to abrasion right after acid exposure). You can also use a milder acid source, like a splash of orange juice instead of straight lemon, or skip the citrus and flavor with a few frozen berries or a small amount of unsweetened juice concentrate.

Sweetener Alternatives and Their Trade-Offs

People who want to reduce the sugar in an electrolyte drink sometimes reach for stevia, monk fruit, or artificial sweeteners. These work fine for taste, but remember that the sugar in a rehydration drink has a functional role beyond sweetness. Glucose drives the cotransporter that pulls sodium and water into your bloodstream. If you replace all the sugar with a zero-calorie sweetener, the drink becomes flavored salt water, and absorption slows.

One animal study found that steviol, a breakdown product of stevioside (the sweet compound in stevia), reduced intestinal glucose absorption by about 29 percent through effects on the intestinal lining’s energy metabolism.17Toxicology Letters. Inhibitory effect of steviol, a metabolite of stevioside, on glucose absorption in everted hamster intestine in vitro That was measured in hamster intestinal tissue at high concentrations, so it’s hard to know how much this matters in a human sipping a drink, but it is worth noting. If you’re using a stevia-sweetened electrolyte drink during genuine dehydration, keeping at least some real sugar in the recipe is the safer bet. For daily sipping when you’re not dehydrated, the zero-calorie version is unlikely to cause problems.

Individual Variation in Sweat

No single recipe is perfect for everyone, because people differ enormously in how much they sweat and how salty their sweat is. A review of the research on sweat composition found that both sweating rate and sweat sodium concentration vary considerably within and among individuals, influenced by fitness level, heat acclimatization, genetics, and the exercise intensity itself.18PubMed Central. Sweating Rate and Sweat Sodium Concentration in Athletes: A Review of Methodology and Intra/Interindividual Variability Some people leave visible salt stains on dark clothing after a run; others barely taste salt in their sweat.

If you’re a heavy or salty sweater, you may benefit from a drink closer to the higher end of the sodium range. If you’re a light sweater doing moderate exercise, a milder recipe or even plain water may be all you need. Paying attention to how you feel, whether your muscles cramp, and how quickly you recover gives you feedback that no standardized recipe can. The recipes here are starting points. Adjust based on what your body tells you.

Hygiene and Shelf Life

A sugar-and-salt solution in water is a hospitable environment for bacteria once it sits at room temperature. A study examining commercially produced electrolyte drinks sold in Dhaka, Bangladesh found that over half of the samples showed fecal contamination, and 40 percent exceeded the FDA’s threshold for total bacterial counts.19PLoS ONE. Microbiological quality assessment of potential pathogenic bacteria and multidrug resistance patterns in commercial electrolyte drinks in Dhaka, Bangladesh Commercial drinks in sealed containers and produced under regulated conditions fare better, but homemade drinks have no preservatives and no sealed packaging.

Mix a fresh batch each day. If you make it in the morning, keep it refrigerated and use it within 24 hours. If you’re preparing it for outdoor activities, carry it in a clean, insulated bottle and don’t let it sit in direct sunlight. Use filtered or boiled water if your tap water quality is questionable. And wash your hands before mixing. These precautions sound obvious, but when you’re making something in your own kitchen that looks and tastes like juice, it’s easy to treat it too casually.