You get electrolytes naturally from a wide range of whole foods, including fruits, vegetables, nuts, seeds, dairy, meat, and seafood. The key electrolytes your body needs are potassium, sodium, magnesium, calcium, phosphorus, and chloride, and each one shows up in different concentrations across different foods. Most people eating a varied diet already get enough of several electrolytes without thinking about it, though potassium and magnesium are common shortfalls.
What Electrolytes Actually Do
Electrolytes are minerals that carry an electrical charge when dissolved in your body’s fluids. That charge is what makes them essential. Sodium is the primary regulator of fluid volume outside your cells, while potassium does the same job inside your cells, where it’s concentrated at roughly 30 times its level in your blood. The two work in constant opposition: sodium gets pumped out of cells in exchange for potassium coming in, a process that burns a significant portion of your resting energy and keeps every nerve and muscle functioning.
When sodium levels shift, water follows. Too much sodium pulls water out of cells to dilute it, expanding the fluid around them. Too little, and you can develop headaches, confusion, and nausea. Potassium imbalances cause fatigue, muscle weakness, and twitching. Calcium and magnesium deficiencies share similar symptoms (lethargy, weakness, irregular heart rhythms), which is why maintaining steady levels of all four matters more than fixating on any single one.
Potassium: The One Most People Miss
Potassium is the electrolyte Americans most consistently fall short on, which is worth knowing because it’s abundant in everyday foods. A medium baked potato with its skin delivers 919 mg, making it one of the richest single-serving sources available. A small baked salmon fillet provides 763 mg. Half a cup of cooked spinach has 591 mg, and a cup of cantaloupe gives you 417 mg.
More moderate but still meaningful sources include a cup of low-fat milk (388 mg), half a cup of pinto beans (373 mg), a small banana (362 mg), a medium chicken breast (359 mg), and ten baby carrots (320 mg). Even foods you might not suspect contribute useful amounts: a cup of strawberries has 230 mg, an ear of corn has 282 mg, and a quarter cup of raisins packs 270 mg. The adult adequate intake for potassium is 2,600 mg per day for women and 3,400 mg for men, so hitting those numbers takes deliberate inclusion of potassium-rich foods at most meals.
Sodium: You Probably Get Plenty
Sodium is the one electrolyte most people overconsume rather than lack. The recommended limit is less than 2,300 mg per day, roughly one teaspoon of table salt. About 40% of the sodium Americans eat comes from deli sandwiches, pizza, burritos, soups, salty snacks, and processed poultry, according to the CDC.
If you eat mostly whole foods, your sodium intake drops substantially. Fresh meat, poultry, seafood, vegetables, and grains contain modest natural sodium. For most people, the goal isn’t finding more sodium but being aware of how much sneaks in through processed and restaurant food. If you do need to replace sodium after heavy sweating, a pinch of salt in water or a salty snack is usually sufficient.
Magnesium: Seeds and Nuts Lead the Way
Magnesium supports muscle function, nerve signaling, and energy production, and it’s one of the minerals many adults run low on. The richest natural source by a wide margin is pumpkin seeds: a cup of roasted kernels contains 649 mg, though most people eat a smaller portion (a quarter cup still gives you about 160 mg). A cup of dry-roasted almonds has 385 mg. An ounce-sized handful of either makes a meaningful daily contribution.
Cooked leafy greens are another reliable source, though the amounts vary more than you might expect. A cup of canned spinach (solids and liquid) has 131 mg, while a cup of cooked amaranth leaves provides 73 mg. Raw greens contain far less per cup because they haven’t been compressed by cooking: a cup of raw spinach has just 24 mg, and raw kale has only 7 mg. Dark chocolate, avocados, and black beans are other commonly cited sources. For consistent intake, a daily habit of seeds or nuts plus a serving of cooked greens covers a lot of ground.
Calcium: Beyond Dairy
Dairy remains the most concentrated and easily absorbed source of calcium. A cup of milk (any fat level) provides about 300 mg, and yogurt delivers a comparable amount. But if you don’t eat dairy, other options work well.
Sardines with bones are one of the best non-dairy sources at 370 mg per 3-ounce serving. Calcium-fortified orange juice matches milk at about 300 mg per cup, and fortified soy milk ranges from 200 to 400 mg depending on the brand. One detail worth knowing: not all vegetables deliver their calcium equally. Kale has excellent calcium absorption, around 41% of its calcium gets taken up by your body, which actually beats milk’s absorption rate of about 32%. Spinach, despite containing calcium on paper, is a poor source because its high oxalate content binds the mineral and blocks absorption. If you’re relying on greens for calcium, kale, bok choy, and broccoli are far better choices than spinach.
Phosphorus and Chloride
Phosphorus is essential for bones, teeth, DNA, and your body’s primary energy molecule. It shows up in dairy products, meat, poultry, fish, eggs, nuts, legumes, and grains. Dairy alone accounts for about 20% of typical phosphorus intake in the U.S. Phosphorus from animal sources is absorbed at a higher rate (40 to 70%) than from plants, because the phosphorus in seeds and unleavened breads is stored as phytic acid, which humans can’t break down efficiently.
Chloride pairs naturally with sodium in table salt and is present in tomatoes, celery, olives, and seaweed. Deficiency is rare outside of situations involving prolonged vomiting or certain medical conditions, so it rarely needs special attention in a normal diet.
Coconut Water and Other Natural Drinks
Coconut water has earned a reputation as a natural electrolyte drink, and the profile backs it up partially. It’s rich in potassium (roughly 51 milliequivalents per liter) and chloride, with moderate sodium (about 33 milliequivalents per liter) and around 1 gram of sugar per deciliter. That potassium-to-sodium ratio is essentially the inverse of what commercial sports drinks offer, which are designed to prioritize sodium replacement during heavy sweating. Coconut water works well for casual hydration and mild activity but may not replace enough sodium for intense or prolonged exercise.
Milk is another surprisingly effective hydration option, combining sodium, potassium, calcium, and protein in a single glass. Including carbohydrates or protein alongside electrolytes helps restore fluid balance after exercise because these macronutrients slow gastric emptying and support absorption in the small intestine, where sodium is co-transported with amino acids and glucose across the gut wall.
Getting Absorption Right
Eating electrolyte-rich food is only part of the equation. Your body absorbs these minerals at different rates depending on what else you’re eating. Vitamin D is critical for calcium absorption, which is why fortified dairy products pair both nutrients together. Oxalates in spinach, beet greens, and rhubarb bind to calcium and magnesium, reducing how much you actually take up. Phytic acid in whole grains and seeds does something similar to phosphorus and magnesium, though soaking, sprouting, or fermenting these foods breaks down some of the phytic acid and improves mineral availability.
Cooking greens concentrates their mineral content per serving and can reduce oxalate levels. A cup of cooked spinach delivers vastly more magnesium and potassium than a cup of raw spinach, not because cooking adds minerals, but because you’re eating the equivalent of several cups of raw leaves in a much smaller volume. For anyone trying to boost electrolyte intake through vegetables, cooked preparations almost always deliver more per bite.

