What Foods Have Electrolytes: Top Sources by Mineral

Many everyday foods are packed with electrolytes, the minerals your body uses to regulate fluid balance, muscle contractions, and nerve signaling. The major electrolytes are sodium, potassium, magnesium, calcium, phosphorus, and chloride, and each one shows up in different foods. You don’t need sports drinks or supplements to keep your levels topped off. A varied diet built around whole foods covers most people’s needs.

Potassium: The Most Common Shortfall

Potassium is the electrolyte most adults fall short on, with a minimum daily need of roughly 1,600 to 2,000 mg. The foods richest in potassium aren’t always the ones you’d expect. A medium baked potato with the skin delivers 919 mg, nearly half a day’s worth in a single side dish. A half cup of cooked spinach provides 591 mg, and a small banana comes in at 362 mg.

Other strong sources include sweet potatoes, white beans, lentils, dried apricots, cantaloupe, and orange juice. Coconut water has earned a reputation as a natural sports drink partly because of its potassium content. The common thread is that fruits, vegetables, and legumes are where potassium concentrates, so a plant-heavy plate goes a long way.

Magnesium: Seeds, Nuts, and Dark Chocolate

Magnesium supports muscle relaxation, sleep quality, and hundreds of enzyme reactions. Seeds and nuts are the standout sources. One ounce of roasted pumpkin seeds contains 150 mg of magnesium. Roasted almonds provide 80 mg per ounce, cashews 72 mg, and dark chocolate (70% cocoa or higher) 64 mg. That means a small handful of pumpkin seeds and a square of dark chocolate together deliver a meaningful chunk of your daily intake.

Whole grains, black beans, edamame, and leafy greens also contribute. Avocados are a particularly useful food here because they supply both magnesium and potassium in one package.

Calcium: Beyond Dairy

Calcium is best known for bone health, but it also plays a direct role in muscle contraction and heart rhythm. Dairy remains the most concentrated source: a cup of yogurt provides about 450 mg, and hard cheeses like Swiss and cheddar are similarly rich. But dairy isn’t the only option.

Canned sardines (with bones) deliver roughly 370 mg per 3-ounce serving. Calcium-set tofu ranges from 250 to 750 mg per 4-ounce block depending on the brand, making it one of the most calcium-dense plant foods available. A cup of raw kale provides a more modest 55 mg, though it adds up when combined with other sources throughout the day. Fortified plant milks, broccoli, and bok choy round out the list.

Sodium: You’re Probably Getting Enough

Sodium is an essential electrolyte, but most people get far more than they need from processed and restaurant foods. If you eat a typical modern diet, sodium isn’t one you need to seek out. That said, some whole foods do contain naturally occurring sodium. A cup of raw beets has about 106 mg, and a cup of cooked celery provides 136 mg. Beet greens, carrots, and artichokes carry small amounts too.

The exception is heavy exercise or prolonged sweating. In those situations, replacing sodium matters, and salty snacks, broth, or a pinch of salt in water can help. For everyday eating, though, the goal is usually to manage sodium rather than chase it.

Phosphorus: Protein Foods and Cheese

Phosphorus works alongside calcium to build bones and teeth, and it’s involved in energy production at the cellular level. It’s abundant in protein-rich foods, so deficiency is rare. Seeds lead the pack: a cup of roasted pumpkin seeds contains about 1,385 mg, and sunflower seeds top 1,500 mg per cup. Cheese is another concentrated source, with Swiss cheese providing over 750 mg per cup (diced) and cheddar about 600 mg.

Beans, lentils, almonds, peanuts, eggs, chicken, and fish all contribute meaningful amounts. If you eat protein at most meals, phosphorus is one electrolyte you’re almost certainly covering without trying.

Chloride: Paired With Sodium

Chloride typically travels with sodium as table salt (sodium chloride), so the same foods that provide sodium also provide chloride. Seaweed, olives, tomatoes, celery, and lettuce contain small natural amounts. Because chloride intake mirrors sodium intake, most people get plenty through their normal diet.

How Cooking Affects Electrolyte Content

The way you prepare food changes how many minerals end up on your plate. Boiling is the biggest culprit. When vegetables sit in boiling water, water-soluble minerals like potassium and magnesium leach into the cooking liquid. Research on common vegetables found that boiling spinach cut its potassium content roughly in half and reduced magnesium by about 30%. Carrots lost around 37% of their potassium during boiling. Peas held up somewhat better, losing only about 9% of their potassium.

If you want to preserve electrolytes, steaming or roasting are better choices. If you do boil vegetables, using the cooking liquid in soups or sauces recaptures much of what leached out.

Why Some Foods Deliver More Than Others

Not all of the minerals listed on a nutrition label actually make it into your bloodstream. Compounds called phytates, found in whole grains, seeds, and legumes, can bind to calcium, magnesium, iron, and zinc in your gut and reduce how much you absorb. Oxalates in spinach, beet greens, and tea do something similar with calcium. Spinach is high in calcium on paper, but your body absorbs only a fraction of it because oxalates grab onto the calcium before your intestines can.

This doesn’t mean you should avoid these foods. It just means variety matters. Eating calcium from multiple sources (dairy, fortified tofu, sardines, kale) rather than relying on one high-oxalate green ensures you actually absorb enough. Soaking beans and grains before cooking also reduces phytate levels.

Practical Meals for Electrolyte Balance

You don’t need to track milligrams at every meal. A few simple patterns cover all the major electrolytes at once. A baked potato with yogurt and a side of steamed broccoli hits potassium, calcium, phosphorus, and magnesium. A salad with kale, pumpkin seeds, sardines, and a squeeze of lemon delivers calcium, magnesium, phosphorus, and potassium together. A smoothie made with banana, spinach, and a splash of orange juice is a quick potassium-and-magnesium boost.

After intense exercise, the American Heart Association recommends replenishing electrolytes through whole fruits, leafy greens, fatty fish, low-fat dairy, nuts, and seeds. High-water-content foods like melons, berries, oranges, and grapes pull double duty by rehydrating you while restoring minerals. Adding a pinch of salt to post-workout water or food helps replace the sodium lost through sweat.

The simplest rule: if your plate regularly includes vegetables, fruit, nuts or seeds, a protein source, and some dairy or a fortified alternative, your electrolyte needs are largely covered without any special planning.