Electrolytes are minerals that carry an electrical charge in your body, and they’re found in a wide range of everyday foods and beverages. The seven main electrolytes are sodium, potassium, calcium, magnesium, chloride, phosphate, and bicarbonate. Each one plays a different role, from keeping your heart beating steadily to helping your muscles contract and your nerves fire. Understanding where they come from in your diet can help you stay properly hydrated and avoid the fatigue, cramping, and other symptoms that come with running low.
What Electrolytes Actually Do
Electrolytes dissolve in the water inside and around your cells, creating tiny electrical signals that power some of your body’s most basic functions. Sodium and chloride regulate how much fluid your body holds and help maintain blood pressure. Potassium keeps your cells, heart, and muscles working properly. Magnesium supports nerve signaling, muscle function, and blood sugar control. Calcium and phosphate work together to build and maintain strong bones and teeth, while bicarbonate keeps your blood’s pH in balance and helps shuttle carbon dioxide through your bloodstream.
These minerals also drive water absorption in your gut. When sodium and glucose are transported together into the cells lining your small intestine, water follows passively through the concentration gradient they create. This is exactly why oral rehydration solutions combine salt and sugar: the pairing pulls water into your body far more efficiently than water alone.
Foods High in Potassium
Potassium is the electrolyte most people fall short on. Adult men need about 3,400 mg per day, and adult women need about 2,600 mg. A single baked potato with its skin delivers 926 mg, making it one of the richest sources available. One cup of cooked spinach provides 839 mg. Half a cup of cooked white beans has 502 mg, and a medium banana, the food most associated with potassium, actually comes in lower at 451 mg.
Other solid sources include sweet potatoes, avocados, tomato sauce, and dried apricots. The key is variety. Relying on bananas alone would mean eating six or more per day to hit your target, while mixing in a potato, some beans, and leafy greens gets you there much more easily.
Foods High in Magnesium
Pumpkin seeds are the standout here: a single ounce of roasted pumpkin seeds contains 156 mg of magnesium. An ounce of dry-roasted almonds provides 80 mg, and half a cup of boiled spinach adds another 78 mg. Cashews, black beans, edamame, and peanut butter are also reliable sources.
Magnesium deficiency is common partly because modern diets lean heavily on processed grains, which have most of their magnesium stripped away during refining. Whole grains, nuts, seeds, and dark leafy greens are the simplest way to close the gap.
Foods High in Calcium
Dairy remains the most concentrated dietary source of calcium. A serving of plain yogurt (about 150 grams) provides roughly 207 mg, while flavored varieties land around 197 mg. But you don’t need dairy to get enough. Canned sardines deliver about 240 mg per 60-gram serving because you eat the soft, calcium-rich bones. A cup of calcium-fortified soy milk matches that at around 240 mg. Raw kale is often cited as a plant source, but 50 grams only provides about 32 mg, so you’d need to eat quite a lot of it to make a real dent.
Fortified orange juice, tofu made with calcium sulfate, and canned salmon with bones are other practical options for people who avoid dairy.
Where Sodium and Chloride Come From
Sodium and chloride arrive together in the form of salt, which is roughly 40% sodium and 60% chloride. Only about 14% of the sodium in a typical American diet occurs naturally in whole foods like celery, beets, and milk. Another 11% comes from salt added during cooking or at the table. The remaining 70-plus percent comes from packaged and restaurant foods, where sodium is added during manufacturing as a preservative and flavor enhancer.
The World Health Organization recommends keeping sodium below 2,000 mg per day, which is just under a teaspoon of table salt. Whether you use table salt, sea salt, kosher salt, or Himalayan pink salt, the sodium content is essentially the same. The trace minerals in specialty salts exist in such small quantities that they don’t meaningfully contribute to your electrolyte intake.
Electrolytes in Beverages
Sports drinks and coconut water are the two most popular electrolyte beverages, and their profiles are quite different. One cup of coconut water contains about 404 mg of potassium, 64 mg of sodium, and 14 mg of magnesium. One cup of Gatorade, by contrast, provides 97 mg of sodium but only 37 mg of potassium and no magnesium at all.
This means coconut water is a better source of potassium and magnesium, while commercial sports drinks prioritize sodium and fast-absorbing carbohydrates. For casual hydration or mild activity, coconut water covers more electrolyte bases. For heavy, prolonged sweating where sodium losses are high, a sports drink or adding a pinch of salt to your water may be more effective at replacing what you’ve lost.
Milk, fruit juice, and bone broth are also meaningful sources. Milk provides calcium, potassium, and sodium in one package. Orange juice is rich in potassium. Bone broth delivers sodium along with smaller amounts of magnesium and calcium.
How Exercise Affects Electrolyte Loss
Sweat contains both sodium and potassium, but the amounts vary significantly from person to person and with exercise intensity. In trained endurance athletes, sweat sodium concentrations range from about 13 to 103 millimoles per liter, with averages climbing from around 31 mmol/L during low-intensity exercise to 49 mmol/L during high-intensity work. Potassium losses in sweat are much smaller and stay relatively constant regardless of how hard you’re working, averaging around 8 to 9 mmol/L.
Sweat rates during intense exercise can reach 0.6 to 2.6 liters per hour, so a heavy sweater exercising hard could lose a substantial amount of sodium in a single session. This is why salty sweat stains on clothing and a craving for salty food after a long workout are both signals your body needs replenishment. For most people doing moderate exercise under an hour, water and a balanced meal afterward are sufficient. Longer or more intense sessions, especially in heat, call for deliberate sodium and fluid replacement during and after the activity.
Signs You’re Running Low
Each electrolyte produces its own set of symptoms when levels drop too far. Low potassium typically shows up as muscle weakness, fatigue, leg cramps, and constipation. More significant drops can affect heart rhythm. Low magnesium causes muscle tremors, twitching, dizziness, and in more severe cases, an altered mental state. Low sodium is often silent unless the drop is rapid or extreme, at which point it can cause nausea, headache, confusion, and in rare cases, seizures.
Mild electrolyte dips are common after heavy sweating, a stomach bug, or a few days of poor eating. They usually resolve with food and fluids. Persistent symptoms like ongoing muscle cramps, heart palpitations, or unusual fatigue that doesn’t improve with rest and nutrition can signal a more significant imbalance worth investigating with a blood test.

