The foods highest in electrolytes are leafy greens, beans, seeds, nuts, and fish with bones. A single cup of cooked spinach delivers 839 mg of potassium, while just one ounce of pumpkin seeds packs 156 mg of magnesium. Because electrolytes include several different minerals, no single food covers all of them. The best strategy is knowing which foods are richest in each one.
The Electrolytes Your Body Needs
Electrolytes are minerals that carry an electrical charge when dissolved in your body’s fluids. They regulate muscle contractions, nerve signaling, fluid balance, and blood pressure. The major ones you get from food are potassium, magnesium, calcium, sodium, phosphorus, and chloride.
Most people get plenty of sodium and phosphorus from a typical diet. The electrolytes more likely to fall short are potassium, magnesium, and calcium. That makes the foods rich in those three especially worth knowing about.
Top Potassium Sources
Potassium is the electrolyte most Americans don’t get enough of, and it plays a central role in heart rhythm and muscle function. The richest sources tend to be beans and cooked greens, not bananas (which get most of the credit but rank lower per serving).
Here’s how the top potassium foods compare:
- Lima beans, cooked (1 cup): 955 mg
- Spinach, cooked (1 cup): 839 mg
- Sweet potato, cooked (1 cup): 572 mg
- White beans, cooked (½ cup): 502 mg
- Avocado (½ cup): 364 mg
Adults need around 2,600 to 3,400 mg of potassium per day. A lunch with a cup of cooked spinach and half a cup of white beans gets you past 1,300 mg in one meal. Cooking method matters here: boiling vegetables in a lot of water can leach potassium out, so steaming or roasting preserves more of it.
Top Magnesium Sources
Magnesium supports over 300 enzyme reactions, including energy production and muscle relaxation. It’s one of the reasons people with low magnesium often experience cramps, poor sleep, or fatigue. Seeds and nuts are by far the most concentrated sources.
- Pumpkin seeds, roasted (1 oz): 156 mg
- Almonds, dry roasted (1 oz): 80 mg
An ounce of pumpkin seeds, roughly a small handful, delivers about 37% of the daily value for magnesium. That’s more magnesium per calorie than almost any other food. Spinach and black beans are also solid sources, which means a meal of greens topped with pumpkin seeds covers potassium and magnesium at the same time. Other good options include cashews, peanuts, and edamame.
Top Calcium Sources
Calcium is best known for bone health, but it’s also essential for muscle contraction and nerve communication. Dairy is the most obvious source, but several non-dairy foods are surprisingly rich in calcium.
- Sardines with bones, canned (4 oz): 350 mg
- Tofu, firm, made with calcium sulfate (½ cup): 260 mg
- Collard greens, cooked (½ cup): 175 mg
- Kale, cooked (½ cup): 90 mg
Sardines are an electrolyte powerhouse because the tiny, soft bones are edible and loaded with calcium. A single 4-ounce can covers about a quarter of your daily calcium needs. Firm tofu is another strong option, though the calcium content depends on whether it was prepared with calcium sulfate (check the label). For greens, collards outperform kale by nearly double per serving, and they also provide meaningful potassium.
Phosphorus From Everyday Proteins
Phosphorus works alongside calcium to build and maintain bones and teeth, and it helps your cells produce energy. Most protein-rich foods are naturally high in phosphorus, so deficiency is uncommon if you eat meat, fish, dairy, or legumes regularly.
- Chicken breast, roasted (3 oz): 182 mg
- Lentils, boiled (½ cup): 178 mg
Chicken and lentils deliver nearly identical amounts of phosphorus per serving. Dairy products, salmon, and eggs are also significant sources. Because phosphorus is so widespread in the food supply, the bigger concern for most people is getting too much from processed foods, which often contain phosphorus-based additives.
Sodium and Chloride
Sodium and chloride are technically electrolytes, but they’re the two minerals almost nobody needs to seek out. Table salt is sodium chloride, and most people consume more than the recommended limit from packaged and restaurant food alone.
If you do need to replace sodium after heavy sweating or prolonged exercise, whole foods like beets, celery, and carrots contain small, naturally occurring amounts. But for most everyday situations, the electrolytes worth prioritizing are the ones above: potassium, magnesium, and calcium.
Coconut Water as an Electrolyte Drink
If you prefer to drink your electrolytes, coconut water is the standout natural option. One cup (8 oz) contains 404 mg of potassium, 64 mg of sodium, and 14 mg of magnesium. That potassium count is higher than a cup of most sports drinks, which tend to emphasize sodium and sugar instead.
Coconut water works well for light to moderate activity and everyday hydration. For intense exercise lasting over an hour, the sodium content may be too low to fully replace sweat losses, which is where a sports drink or adding a pinch of salt can help. For general purposes, though, it’s one of the most electrolyte-dense beverages you can choose without added sugars or artificial ingredients.
Meals That Cover Multiple Electrolytes
The most efficient way to load up on electrolytes is to combine foods from the lists above into the same meal. A few examples that hit three or more electrolytes in a single plate:
- Grain bowl: Cooked spinach, white beans, and pumpkin seeds over rice. This covers potassium, magnesium, calcium, and phosphorus.
- Sardine salad: Canned sardines over kale with avocado and a squeeze of lemon. High in calcium, potassium, phosphorus, and magnesium.
- Lentil stew with sweet potato and collard greens: Rich in potassium, phosphorus, calcium, and magnesium.
Notice the pattern: dark leafy greens, beans, and seeds show up repeatedly across every electrolyte category. Building meals around those three food groups is the simplest way to keep your electrolyte intake consistently high without supplements or specialty products.

