Nutrition Basics

Electrolytes: The Complete Guide to Balance and Replenishment

Everything about electrolytes — sodium, potassium, magnesium, and how to replenish them through food and drink.

5 min read

What Are Electrolytes?

Electrolytes are minerals that carry an electric charge when dissolved in water. In the body, they exist as ions in blood, urine, tissue, and other body fluids — and that electrical charge is exactly what allows nerves to fire, muscles to contract, and cells to regulate fluid balance. The major electrolytes in human physiology are sodium (Na+), potassium (K+), magnesium (Mg2+), calcium (Ca2+), chloride (Cl-), phosphate (PO43-), and bicarbonate (HCO3-).

Electrolyte balance is maintained primarily by the kidneys, which filter about 180 liters of blood per day and precisely reabsorb or excrete electrolytes based on hormonal signals — particularly aldosterone (regulates sodium/potassium), antidiuretic hormone (ADH, regulates water), and parathyroid hormone (regulates calcium/phosphate). Even small disruptions can impair neurological and cardiac function, which is why hospitals closely monitor electrolyte levels in critically ill patients.

For most healthy people, electrolyte needs are met by a varied diet. The situations that demand closer attention are prolonged intense exercise (especially in heat), illness with vomiting or diarrhea, very low-carbohydrate diets (which increase sodium and potassium excretion), and aging (kidneys become less efficient at conservation).

The Big Four: Sodium, Potassium, Magnesium, Calcium

Sodium is the dominant extracellular cation and the primary regulator of fluid volume. The Adequate Intake (AI) is 1,500 mg/day; the Tolerable Upper Intake Level is 2,300 mg/day. Most Americans consume around 3,400 mg/day, mostly from processed foods. High sodium intake raises blood pressure in salt-sensitive individuals — roughly 50% of hypertensives and 25% of normotensives. Conversely, sodium is the electrolyte most critically depleted during heavy sweating: sweat sodium concentration averages 900 mg/liter.

Potassium is the primary intracellular cation. It counterbalances sodium's effect on blood pressure — higher potassium intake is consistently associated with lower blood pressure and reduced stroke risk. The AI is 2,600 mg/day for adult women and 3,400 mg/day for adult men. A medium banana provides 422 mg, one cup of cooked spinach provides 839 mg, and one medium baked potato (with skin) provides 926 mg.

Magnesium is a cofactor in over 300 enzymatic reactions including ATP synthesis, protein synthesis, and DNA replication. The RDA is 310-320 mg/day for adult women and 400-420 mg/day for adult men. An ounce of pumpkin seeds provides 156 mg (37% DV). Magnesium deficiency is common — surveys suggest up to 48% of Americans do not meet the EAR — and is associated with insulin resistance, hypertension, and increased migraine frequency.

Calcium is the most abundant mineral in the body (about 1 kg in an adult), with 99% stored in bones and teeth. The remaining 1% in serum and cells regulates muscle contraction, nerve transmission, and blood clotting. The RDA is 1,000 mg/day for adults 19-50, rising to 1,200 mg/day for women over 50 and men over 70. One cup of low-fat milk provides 305 mg (23% DV); one cup of cooked kale provides 179 mg.

Signs of Electrolyte Imbalance

Electrolyte imbalances span a spectrum from mild symptoms to medical emergencies. The following table outlines key signs by electrolyte:

ElectrolyteLow (Deficiency)High (Excess)
SodiumHeadache, nausea, confusion, seizures (hyponatremia)Extreme thirst, elevated BP, edema
PotassiumMuscle cramps, weakness, arrhythmia (hypokalemia)Muscle paralysis, dangerous arrhythmia (hyperkalemia)
MagnesiumMuscle twitches, fatigue, anxiety, irregular heartbeatNausea, low BP, lethargy (usually only from supplements)
CalciumMuscle cramps, tingling, tetany, seizuresConstipation, kidney stones, calcification

Exercise-associated hyponatremia (EAH) is a well-documented risk for endurance athletes who over-drink plain water during long events, diluting blood sodium below 135 mEq/L. Symptoms mimic dehydration (nausea, headache), making correct field treatment critical — EAH requires sodium replacement, not more water. In contrast, hypernatremia (high sodium) most often results from inadequate fluid intake, not excess sodium consumption.

Best Food Sources

Whole foods provide electrolytes packaged with complementary nutrients. Below are top food sources for each major electrolyte:

  • Sodium: Table salt (1 tsp = 2,325 mg), olives, pickles, canned soups. Note: most sodium comes from processed foods, not the salt shaker.
  • Potassium: Baked potato with skin (926 mg), cooked spinach (839 mg), avocado (708 mg per fruit), plain yogurt (573 mg per cup), salmon (534 mg per 3 oz).
  • Magnesium: Pumpkin seeds/pepitas (156 mg per oz), chia seeds (111 mg per oz), almonds (80 mg per oz), cooked spinach (157 mg per cup), black beans (120 mg per cup).
  • Calcium: Low-fat yogurt (415 mg per cup), low-fat milk (305 mg per cup), fortified soy milk (300 mg per cup), canned sardines with bones (325 mg per 3 oz), cooked bok choy (158 mg per cup).

Magnesium and potassium from whole plant foods have higher safety margins than supplements because the intestine limits absorption of these minerals from food, providing automatic regulation not present with supplements.

Sports Drinks vs Whole Foods

Standard sports drinks like Gatorade provide approximately 110 mg sodium and 30 mg potassium per 8 oz serving, along with 14 g of carbohydrates (typically from sucrose and glucose) designed to match intestinal absorption rates during exercise. For exercise lasting longer than 60-90 minutes at moderate-to-high intensity — particularly in heat — these drinks have a legitimate performance and safety role.

For everyday activity and workouts under 60 minutes, plain water combined with a balanced diet is sufficient for most people. A post-workout banana with a pinch of salt, or chocolate milk (which provides an ideal ~3:1 carb-to-protein ratio along with sodium, potassium, and calcium), outperforms commercial sports drinks in cost, nutrient density, and absence of artificial ingredients.

The sports drink market has expanded into electrolyte tablets, powders, and 'hydration multipliers' — some very high in sodium (up to 1,000 mg per serving). These products can be useful for ultramarathon runners, cyclists in multi-hour heat events, or individuals with unusually high sweat sodium losses. For casual gym-goers, they are unnecessary and expensive relative to food-based alternatives.

Frequently Asked Questions

Everything about electrolytes — sodium, potassium, magnesium, and how to replenish them through food and drink. This guide is part of the "Nutrition Basics" series on NutriFYI, designed to give you evidence-based nutrition knowledge you can apply to your daily diet.

This guide is for anyone interested in nutrition — from beginners learning the basics to health-conscious individuals looking to make informed dietary choices. Whether you're a fitness enthusiast, a home cook, or simply curious about what's in your food, "Electrolytes: The Complete Guide to Balance and Replenishment" provides practical, science-backed information.

Nutritional values may vary based on preparation method and source. Consult a registered dietitian for personalized advice.