Electrolytes are minerals that carry an electrical charge when dissolved in your body’s fluids. The seven main electrolytes in your body are sodium, potassium, calcium, magnesium, chloride, bicarbonate, and phosphate. Each one plays a distinct role in keeping your muscles firing, your heart beating steadily, and your fluid levels in balance.
Sodium: The Fluid Regulator
Sodium is the most abundant electrolyte outside your cells and the single biggest factor controlling how much water your body holds. It determines the volume of fluid in your bloodstream and the spaces between your cells. When sodium concentration rises in one compartment, water follows it there through osmosis. This is why eating a salty meal makes you retain water, and why losing large amounts of sodium through sweat can leave you dehydrated even if you’re drinking plain water.
Beyond fluid balance, sodium is essential for nerve signaling and muscle contraction. Your cells use a pump that constantly pushes three sodium ions out for every two potassium ions it pulls in, creating the electrical charge difference that lets nerves and muscles fire on command. Normal blood sodium levels fall between 136 and 145 mmol/L.
Potassium: The Heart’s Pacekeeper
Potassium is the mirror image of sodium. It’s the dominant electrolyte inside your cells, concentrated about 30 to 40 times higher there than in your blood. That steep concentration gradient is what gives your cells their resting electrical charge, roughly negative 95 millivolts. In the heart, this negative charge keeps muscle cells stable between beats, preventing them from firing prematurely and causing irregular rhythms.
When blood potassium drifts outside its normal range of 3.5 to 5.0 mmol/L, the risk of dangerous heart arrhythmias climbs quickly. Both too little and too much potassium can trigger these problems, because potassium, sodium, and calcium levels inside your cells are all interconnected. A shift in one affects the others.
Most people don’t get enough potassium from food. The recommended daily intake is 3,400 mg for men and 2,600 mg for women. Cooked beet greens top the charts at 1,309 mg per cup. A medium baked potato with skin delivers over 900 mg. Lima beans provide 969 mg per cooked cup, and a cup of nonfat yogurt has 625 mg. Even a medium banana, the food most associated with potassium, contains a respectable 451 mg.
Calcium and Phosphate: The Bone Builders
Calcium does far more than strengthen your skeleton, though that is its primary storage site. A small fraction circulates in your blood, where it’s critical for muscle contraction and nerve communication. When a muscle contracts, calcium ions flood into the muscle cell to trigger the process. Your body regulates blood calcium levels tightly, pulling from bone reserves when dietary intake falls short.
Phosphate works alongside calcium in building and maintaining bone and tooth density. The two minerals deposit together as a crystalline compound that gives bones their rigidity. Phosphate also plays a role in the body’s pH buffering system and in how cells store and transfer energy.
Vitamin D is the key partner for calcium absorption. Your gut can’t efficiently absorb calcium without adequate vitamin D, and the benefits of good vitamin D status appear to depend on calcium intake being at or above recommended levels. The two nutrients are genuinely synergistic: improving one without the other limits the payoff of both.
Magnesium: The Relaxation Mineral
If calcium triggers muscle contraction, magnesium helps muscles relax afterward. It also supports energy production, nerve function, heart rhythm, blood pressure regulation, and blood sugar control. Normal blood levels range from 1.3 to 2.1 mEq/L, though most of your body’s magnesium is stored in bones and soft tissue rather than circulating in blood.
Good food sources include dark leafy greens (which also pack potassium), nuts, seeds, legumes, and whole grains. Because magnesium participates in hundreds of enzyme reactions, even a modest shortfall can show up as muscle cramps, fatigue, or irritability.
Chloride and Bicarbonate: The Behind-the-Scenes Pair
Chloride rarely gets attention, but it partners with sodium to regulate fluid volume and blood pressure. It’s the other half of table salt (sodium chloride) and helps neutralize positive ion charges throughout your body. Normal blood chloride levels sit between 98 and 106 mmol/L. When chloride levels drop, your kidneys compensate by reabsorbing more bicarbonate, which can shift your blood’s acid-base balance.
Bicarbonate is your blood’s primary pH buffer. It works by converting strong acids into weaker ones and strong bases into milder compounds, keeping blood pH in a very narrow safe range. Your blood maintains about 20 times more bicarbonate than carbonic acid at any given time, which makes the system especially efficient at neutralizing excess acid. Your kidneys control bicarbonate levels by reabsorbing it from filtered blood or letting it pass into urine as needed.
What Electrolyte Imbalances Feel Like
Mild imbalances often produce no symptoms at all. As they worsen, the signs tend to overlap regardless of which electrolyte is off: muscle cramps, spasms, or weakness; fatigue; nausea; headaches; numbness or tingling in your fingers and toes; confusion or irritability; and irregular or fast heartbeat. Digestive symptoms like diarrhea or constipation can also appear.
The tricky part is that these symptoms are vague enough to be caused by dozens of other things. What distinguishes an electrolyte problem is usually the context. Heavy sweating, prolonged vomiting or diarrhea, certain medications, and kidney problems are the most common triggers.
Electrolyte Loss During Exercise
Sweat is mostly water, but sodium is the electrolyte lost in the greatest quantity. Sweat sodium concentration varies enormously between individuals, ranging from about 230 mg to over 2,000 mg per liter. A person sweating heavily during intense exercise in hot conditions can lose a liter or more per hour, making sodium replacement important during prolonged activity.
Potassium, magnesium, and calcium are also present in sweat but in much smaller amounts. For most workouts under an hour, water alone is sufficient. For longer or more intense sessions, especially in heat, a drink containing sodium and potassium helps your body absorb fluid faster and replace what’s actually being lost. The wide individual variation in sweat composition is why some people cramp easily during exercise while others doing the same workout feel fine.
Best Food Sources at a Glance
- Potassium: Beet greens, potatoes, lima beans, squash, yogurt, bananas, avocados, fish, and clams (20 small clams contain nearly 1,200 mg)
- Calcium: Dairy products, fortified plant milks, tofu made with calcium sulfate, leafy greens like kale and bok choy
- Magnesium: Pumpkin seeds, almonds, spinach, black beans, dark chocolate, whole grains
- Sodium and chloride: Table salt, pickled foods, cheese, bread, and most processed foods (deficiency is rare outside of heavy sweating or illness)
- Phosphate: Meat, poultry, fish, dairy, nuts, beans (deficiency is uncommon because phosphate is widespread in the food supply)
A varied diet built around vegetables, legumes, dairy or fortified alternatives, and whole grains covers most electrolyte needs without supplements. The electrolytes people most commonly fall short on are potassium and magnesium, both found in high concentrations in leafy greens and beans.

