Many common whole foods are packed with electrolytes, often delivering more per serving than sports drinks or flavored supplements. The richest sources include potatoes, spinach, white beans, dairy products, nuts, seeds, and seafood. By eating a varied diet built around these foods, most people can maintain healthy electrolyte levels without any special products.
What Electrolytes Do in Your Body
Electrolytes are minerals that carry an electrical charge when dissolved in your body’s fluids. Your cells use them to conduct the electrical signals that make muscles contract, nerves fire, and your heart beat in rhythm. They also control how water moves in and out of cells, which is why electrolyte balance and hydration are so tightly linked. The key electrolytes you get from food are sodium, potassium, magnesium, calcium, phosphorus, and chloride.
Potassium-Rich Foods
Potassium is the electrolyte most Americans fall short on. It works in tandem with sodium: when a sodium ion enters a cell, a potassium ion leaves, and vice versa. This back-and-forth keeps fluid levels balanced and allows nerves to transmit signals properly.
A medium baked potato with skin delivers 926 mg of potassium, making it one of the single best sources available. One cup of cooked spinach provides 839 mg, and half a cup of cooked white beans adds 502 mg. Avocado is often cited as a top pick, but half a cup actually contains a more modest 364 mg. Other strong sources include sweet potatoes, bananas, lentils, and tomato sauce. Stacking a few of these foods across the day adds up quickly.
Sodium From Whole Foods
Sodium gets a bad reputation because processed foods contain so much of it, but your body genuinely needs it to maintain fluid balance. The American Heart Association recommends keeping intake at or below 2,300 mg per day, with an ideal limit of 1,500 mg for most adults. If you eat mostly whole, unprocessed foods, you may actually need to be intentional about getting enough, especially if you sweat heavily.
Shellfish is one of the richest natural sources. Three ounces of queen crab provides 587 mg, and a cup of raw blue mussels contains 429 mg. Canned beets supply 352 mg per cup (though much of that comes from the canning liquid). Cooked celery offers 136 mg per cup. Olives, pickles, and sea vegetables are other natural options, though most people get plenty of sodium from bread, cheese, and condiments without trying.
Magnesium-Rich Foods
Magnesium supports muscle relaxation, nerve function, and energy production. It’s found in especially high concentrations in seeds and nuts. One ounce of roasted pumpkin seeds contains 156 mg, covering 37% of the daily value in a single handful. An ounce of dry-roasted almonds provides 80 mg, or 19% of the daily value. Other reliable sources include cashews, dark chocolate, black beans, and whole grains like brown rice and oatmeal.
Leafy greens pull double duty here. Cooked spinach, already mentioned as a potassium powerhouse, is also a strong magnesium source because chlorophyll (the molecule that makes plants green) contains a magnesium atom at its center. The darker the green, the more magnesium it tends to carry.
Calcium Beyond Dairy
Calcium is best known for bone health, but it also plays a direct role in muscle contraction, nerve signaling, and heart rhythm regulation. Dairy products like yogurt, milk, and cheese are the most concentrated sources for most people. A six-ounce container of plain low-fat yogurt, for example, also delivers 245 mg of phosphorus alongside its calcium.
If you avoid dairy, several foods fill the gap well. Canned sardines with bones provide 325 mg of calcium per three-ounce serving. A cup of cooked kale delivers 179 mg, and four ounces of tofu prepared with calcium supplies 205 mg. Fortified plant milks and orange juice can also contribute meaningfully.
Phosphorus-Rich Foods
Phosphorus works alongside calcium to build bones and teeth, and it’s involved in how your body stores and uses energy. It’s widely distributed in the food supply: dairy products account for about 20% of the average American’s phosphorus intake, with bakery products like breads and tortillas contributing another 10%.
The highest per-serving amounts come from protein-rich foods. Three ounces of cooked Atlantic salmon delivers 214 mg (17% of the daily value), a three-ounce chicken breast provides 182 mg, and half a cup of cooked lentils offers 178 mg. Eggs, cashews, and even a medium baked potato (123 mg) contribute useful amounts. Processed foods tend to contain phosphate additives that add an average of 67 mg more phosphorus per serving compared to similar unprocessed versions, so deficiency is uncommon.
Hydrating Foods With Built-In Electrolytes
Some foods help with electrolyte balance simply by delivering water along with minerals. Cucumber is 96% water by weight, and watermelon is 92% water. Neither is a concentrated mineral source on its own, but eating them alongside electrolyte-dense foods helps your body absorb and use those minerals more effectively because hydration and electrolyte balance are interdependent.
Coconut water has become a popular natural electrolyte drink. It contains moderate amounts of potassium and small amounts of sodium, magnesium, and calcium. It’s a reasonable option after light exercise, though for heavy sweating you may need more sodium than coconut water provides.
Whole Foods vs. Supplements and Drinks
You might assume that electrolytes from food are absorbed better than those from supplements or sports drinks, but the research tells a more nuanced story. Minerals added to foods or taken as supplements are generally at least as bioavailable as those naturally present in whole foods, and sometimes more so, since minerals in food can be bound to the food matrix in ways that slow absorption.
That said, whole foods offer something supplements can’t replicate: multiple electrolytes together, plus fiber, vitamins, and other compounds that support overall health. A baked potato doesn’t just give you potassium. It also provides phosphorus, magnesium, and vitamin C. Spinach delivers potassium, magnesium, and calcium in one serving. This kind of nutrient layering is hard to match with a tablet or powder.
Signs You May Be Low on Electrolytes
A mild electrolyte imbalance often causes no symptoms at all. When levels drop further, common signs include muscle cramps or spasms, fatigue, headaches, nausea, confusion, and numbness or tingling in your fingers and toes. An irregular or fast heart rate can also signal an imbalance, particularly with potassium or calcium. These symptoms overlap with many other conditions, so a simple blood test called an electrolyte panel is the definitive way to check your levels.
You’re more likely to develop an imbalance if you sweat heavily during exercise or hot weather, experience prolonged vomiting or diarrhea, or take certain medications that increase fluid loss. In those situations, being deliberate about eating electrolyte-rich foods (or using a targeted supplement) matters more than it does on an average day.

