This Dr. Axe content is medically reviewed or fact checked to ensure factually accurate information.
With strict editorial sourcing guidelines, we only link to academic research institutions, reputable media sites and, when research is available, medically peer-reviewed studies. Note that the numbers in parentheses (1, 2, etc.) are clickable links to these studies.
The information in our articles is NOT intended to replace a one-on-one relationship with a qualified health care professional and is not intended as medical advice.
This article is based on scientific evidence, written by experts and fact checked by our trained editorial staff. Note that the numbers in parentheses (1, 2, etc.) are clickable links to medically peer-reviewed studies.
Our team includes licensed nutritionists and dietitians, certified health education specialists, as well as certified strength and conditioning specialists, personal trainers and corrective exercise specialists. Our team aims to be not only thorough with its research, but also objective and unbiased.
The information in our articles is NOT intended to replace a one-on-one relationship with a qualified health care professional and is not intended as medical advice.
Foods High in Electrolytes: Top Sources for Hydration, Energy and Recovery
June 3, 2026
Electrolytes are essential minerals that carry an electrical charge when dissolved in fluids. They help regulate hydration, muscle contractions, nerve signaling, heart rhythm, blood pressure and pH balance. While sports drinks often get the spotlight, many of the best sources of electrolytes are whole foods.
If you’ve ever wondered what foods have electrolytes, the answer may surprise you. Fruits, vegetables, dairy products, legumes, seafood and even certain fermented foods naturally provide important electrolytes, such as potassium, sodium, magnesium, calcium, chloride and phosphorus.
Whether you’re recovering from exercise, sweating heavily in hot weather, dealing with illness-related fluid loss or simply looking to support overall health, prioritizing foods high in electrolytes can help maintain optimal fluid and mineral balance.
In this guide, you’ll learn:
- What electrolytes are and why they matter
- The best electrolyte-rich foods to eat
- Signs of electrolyte imbalance
- How to replenish electrolytes naturally
- Answers to frequently asked questions
What are electrolytes and what do they do?
Electrolytes are minerals found in your blood, tissues and bodily fluids. The major electrolytes include:
- Potassium
- Sodium
- Magnesium
- Calcium
- Chloride
- Phosphorus
- Bicarbonate
These minerals help:
1. Maintain hydration
Electrolytes regulate how much water enters and leaves cells. Sodium and potassium are particularly important for fluid balance and hydration. According to the Centers for Disease Control and Prevention, sodium and potassium are essential for hydration, blood volume and proper nerve and muscle function.
A clinical trial published in the American Journal of Clinical Nutrition demonstrated that beverages containing electrolytes help the body retain fluids more effectively than plain water. In this randomized study, healthy adults consumed various beverages, and researchers measured fluid balance and urine output over several hours.
Drinks containing electrolytes, particularly sodium and potassium, improved fluid retention by reducing urine losses, helping maintain hydration status for longer periods. The researchers concluded that electrolytes play a key role in regulating fluid balance because they help the body retain and distribute water more efficiently throughout tissues and cells.
2. Support muscle function
Every muscle contraction depends on electrolyte activity. Low levels can contribute to muscle weakness, cramping and fatigue.
A study published in the American Journal of Physiology examined electrolyte changes in exercising men and found that sodium, potassium and magnesium play critical roles in muscle performance and fatigue resistance. During intense cycling exercise, researchers observed significant shifts in potassium and sodium levels within working muscles, demonstrating that these electrolytes are directly involved in generating and sustaining muscle contractions.
The study concluded that maintaining proper electrolyte balance is essential for normal muscle function because electrolytes help regulate the electrical signals that trigger muscle contraction and relaxation, while disturbances in these mineral levels may contribute to muscle fatigue.
3. Enable nerve signaling
Electrolytes help nerves transmit electrical signals throughout the body, supporting movement, sensation and cognitive function.
In vivo research published in PLOS ONE found that potassium, one of the body’s primary electrolytes, plays a direct role in nerve signaling by influencing the excitability of motor nerves. Researchers evaluated 38 healthy volunteers and found that even small variations in normal blood potassium levels significantly affected how nerve cells generated and transmitted electrical signals.
The findings showed that potassium helps maintain the electrical properties required for nerves to communicate efficiently, highlighting why proper electrolyte balance is essential for normal nervous system function and signal transmission throughout the body.
4. Promote heart health
Potassium, magnesium and calcium help maintain a healthy heartbeat and normal cardiovascular function. Research suggests higher potassium intake may support healthy blood pressure levels.
A large study published in the Journal of the American College of Cardiology analyzed data from 153,014 adults and found that key electrolytes, including potassium, magnesium and calcium, are closely involved in the heart’s electrical activity. Researchers observed that even normal variations in electrolyte levels were associated with measurable changes in cardiac conduction and rhythm, highlighting their importance in maintaining a healthy heartbeat.
The findings support the well-established role of electrolytes in regulating the electrical signals that coordinate heart contractions, helping promote normal cardiovascular function and reduce the risk of rhythm disturbances.
5. Maintain acid-base balance
Electrolytes help keep your body’s pH within a healthy range and support countless metabolic processes.
Research published in the World Journal of Nephrology explained that electrolytes (particularly sodium, potassium and bicarbonate) are fundamental to maintaining acid-base balance and supporting normal metabolic processes. The researchers noted that sodium and potassium are the primary electrolytes responsible for regulating body fluid tonicity and cellular function, while bicarbonate serves as a critical buffer that helps keep blood pH within a narrow, healthy range.
Proper electrolyte balance allows cells to carry out essential metabolic reactions, nutrient transport and energy production, whereas disturbances in these electrolytes can impair cellular metabolism and overall physiological function.
Top 10 foods high in electrolytes at a glance
If you’re looking for the top 10 foods high in electrolytes, prioritize:
- Coconut water
- Avocados
- Potatoes
- Sweet potatoes
- Bananas
- Spinach
- Swiss chard
- Yogurt
- Salmon
- Beans
These foods collectively provide substantial amounts of potassium, magnesium, calcium and other key electrolytes.
What foods are high in electrolytes?
When looking for foods with electrolytes, focus on nutrient-dense whole foods rather than processed sports drinks.
1. Coconut water
Often called nature’s sports drink, coconut water contains potassium, magnesium, calcium and smaller amounts of sodium.
Benefits include:
- Excellent hydration support
- Naturally low in added sugar
- Rich source of potassium
Coconut water is especially useful after moderate exercise or hot-weather sweating.
2. Avocados
Avocados are among the most impressive electrolyte-rich foods because they provide:
- Potassium
- Magnesium
- Small amounts of calcium
One avocado contains more potassium than a medium banana.
3. Bananas
Bananas remain one of the most popular foods for electrolyte replenishment.
Key electrolytes banana nutrition provides include potassium and magnesium.
Bananas are portable, affordable and easy to digest after exercise.
4. Sweet potatoes
Sweet potatoes provide:
- Potassium
- Magnesium
- Calcium
They also supply fiber and antioxidant-rich beta-carotene.
5. White potatoes
Potatoes rank among the richest dietary sources of potassium. Research consistently shows that potassium-rich foods support healthy blood pressure and cardiovascular health.
6. Watermelon
Watermelon helps hydrate because it contains:
- High water content
- Potassium
- Magnesium
It’s particularly refreshing during hot summer months.
7. Oranges and orange juice
Oranges provide:
- Potassium
- Calcium
- Magnesium
Their high water content also supports hydration.
8. Strawberries
Strawberries contain:
- Potassium
- Magnesium
- Calcium
Plus, they’re rich in vitamin C and beneficial antioxidants.
9. Spinach
Spinach delivers multiple electrolytes, including:
- Magnesium
- Potassium
- Calcium
Leafy greens are among the most nutrient-dense food categories available, and they are also among the top foods high in electrolytes.
10. Swiss chard
Swiss chard is one of the best vegetable sources of potassium and magnesium. This leafy green can help boost daily electrolyte intake while providing fiber and phytonutrients.
11. Yogurt
Plain yogurt contains:
- Calcium
- Potassium
- Phosphorus
It also provides probiotics that support digestive health.
12. Kefir
Kefir supplies:
- Calcium
- Potassium
- Magnesium
Its probiotic content may also support gut health and immune function.
13. Milk
Milk naturally contains:
- Calcium
- Potassium
- Sodium
- Phosphorus
Research has shown milk can be an effective post-exercise rehydration beverage because it provides both fluids and electrolytes.
14. Salmon
Salmon contributes:
- Potassium
- Phosphorus
- Magnesium
It also provides omega-3 fatty acids that support heart and brain health.
15. Sardines
Sardines are rich in:
- Calcium
- Phosphorus
- Sodium
- Potassium
Because they’re eaten with their bones, they’re especially high in calcium.
16. Beans
Black beans, white beans and kidney beans are excellent sources of:
- Potassium
- Magnesium
- Calcium
Beans also provide protein and fiber.
17. Lentils
Lentils contain:
- Potassium
- Magnesium
- Phosphorus
They’re one of the best plant-based electrolyte foods.
18. Pumpkin seeds
Pumpkin seeds are packed with:
- Magnesium
- Phosphorus
- Potassium
Magnesium is especially important because many adults fail to consume enough of it.
19. Pickles and fermented vegetables
Fermented vegetables can provide sodium and potassium. They may be helpful after prolonged sweating when sodium replacement is needed.
20. Bone broth
Bone broth naturally contains:
- Sodium
- Potassium
- Magnesium
- Calcium
It can be especially beneficial during illness or recovery when hydration support is needed.
Other foods high in electrolytes
- acorn squash
- almonds
- apricots
- asparagus
- beet greens
- broccoli
- brown rice
- celery
- cheese
- cherries
- chicken
- citrus fruits
- clams
- coconuts
- cod
- collard greens
- crackers
- dark chocolate
- eggs
- figs
- halibut
- kale
- legumes
- lettuce
- lima beans
- mango
- mushrooms
- nuts
- okra
- olives
- peanut butter
- peas
- pretzels
- prunes
- quinoa
- raisins
- rye flour
- scallops
- seaweed
- sunflower seeds
- table salt
- tofu
- tomatoes
- trout
- tuna
- turkey
- turnip greens
- whole grains
- zucchini
Signs of electrolyte imbalance
Electrolyte imbalances can occur from:
- Excessive sweating
- Intense exercise
- Vomiting
- Diarrhea
- Certain medications
- Kidney disorders
- Poor dietary intake
- Muscle Cramps: Low potassium, magnesium or sodium may contribute to cramping and muscle spasms.
- Fatigue: Electrolytes help generate cellular energy and support normal muscle function.
- Headaches: Dehydration and electrolyte disturbances frequently trigger headaches.
- Weakness: Electrolyte deficiencies can impair muscle contractions and nerve communication.
- Dizziness: Changes in fluid balance may affect blood pressure and circulation.
- Irregular heartbeat: Potassium, calcium and magnesium play important roles in cardiac rhythm. Significant imbalances should be evaluated by a healthcare professional.
- Confusion: More severe electrolyte disturbances may affect brain function and cognition.
How to replenish electrolytes
1. Eat whole foods rich in electrolytes
For most people, the best approach is consuming a variety of:
- Fruits
- Vegetables
- Dairy products
- Legumes
- Nuts and seeds
- Seafood
2. Drink water consistently
Electrolytes and water work together. Hydration is not just about water intake; proper mineral balance matters too.
3. Replace sodium after heavy sweating
Endurance exercise, intense heat exposure and prolonged sweating increase sodium losses. In these situations, sodium-containing foods and beverages may be beneficial.
4. Consider electrolyte drinks when appropriate
Electrolyte beverages can be useful after:
- Long endurance events
- Excessive sweating
- Vomiting
- Diarrhea
However, most healthy individuals can meet their electrolyte needs through diet.
5. Focus on potassium-rich foods
Research suggests that many adults consume less potassium than recommended, making potassium-rich foods especially important for overall health.
Best foods to replenish specific electrolytes
While many foods contain multiple electrolytes, some foods are particularly rich in specific minerals. If you’re trying to correct a deficiency, recover after exercise or illness, or optimize hydration, focusing on foods that provide the electrolyte you’re lacking can be helpful.
Sweat contains primarily sodium and chloride, along with smaller amounts of potassium, magnesium and calcium, making replacement of these minerals especially important after prolonged exercise or heavy sweating.
1. Foods high in potassium
Potassium is one of the most important electrolytes for hydration, muscle contractions, nerve signaling and heart function. It is also one of the nutrients many Americans don’t consume enough of.
Some of the best potassium-rich foods include:
- Avocados
- Bananas
- Coconut water
- White potatoes
- Sweet potatoes
- Watermelon
- Oranges
- Orange juice
- Tomatoes and tomato juice
- Beans
- Lentils
- Spinach
- Swiss chard
- Salmon
- Yogurt
- Milk
- Prunes
- Dried apricots
- Kiwi
- Melons
2. Foods high in sodium and chloride
Sodium and chloride work together to maintain fluid balance, blood volume and hydration status. These are the electrolytes lost in the greatest amounts through sweat.
Some of the best food sources include:
- Bone broth
- Pickles and pickle juice
- Fermented vegetables
- Olives
- Cottage cheese
- Cheese
- Milk
- Canned soups
- Salted nuts
- Salted roasted chickpeas
- Seafood
- Table salt (in moderation)
3. Foods high in magnesium
Magnesium supports muscle function, energy production, nerve signaling and hundreds of enzymatic reactions throughout the body.
Top magnesium-rich foods include:
- Pumpkin seeds
- Spinach
- Swiss chard
- Almonds
- Cashews
- Peanuts
- Peanut butter
- Chia seeds
- Black beans
- Lentils
- Soybeans
- Edamame
- Tofu
- Yogurt
- Avocados
- Brown rice
- Dark chocolate
4. Foods high in calcium
Calcium is best known for supporting bone health, but it is also critical for muscle contractions, nerve transmission and heart function.
Excellent calcium-rich foods include:
- Yogurt
- Milk
- Kefir
- Cheese
- Sardines
- Salmon with bones
- Tofu made with calcium sulfate
- Spinach
- Kale
- Broccoli
- Almonds
5. Foods high in phosphorus
Phosphorus works with calcium to support bone health and plays a key role in energy metabolism and cellular function.
Foods high in phosphorus include:
- Salmon
- Sardines
- Milk
- Yogurt
- Kefir
- Chicken
- Turkey
- Lean beef
- Lentils
- Beans
- Pumpkin seeds
- Tofu
6. Foods that provide multiple electrolytes
If your goal is overall hydration and electrolyte replenishment rather than increasing a single mineral, these foods deliver several electrolytes at once:
- Coconut water
- Milk
- Yogurt
- Kefir
- Avocados
- Sweet potatoes
- White potatoes
- Spinach
- Swiss chard
- Bone broth
- Salmon
- Sardines
- Beans
- Lentils
These foods provide combinations of potassium, sodium, magnesium, calcium and phosphorus, making them some of the most effective natural options for replenishing electrolytes after exercise, illness or excessive sweating.
Frequently asked questions
What foods have electrolytes naturally?
Many whole foods contain electrolytes, including bananas, avocados, potatoes, spinach, yogurt, milk, beans, salmon, coconut water and watermelon.
Which food has the most electrolytes?
There is no single food that contains all electrolytes in large amounts, but coconut water, potatoes, avocados and dairy products provide multiple key electrolytes.
Are bananas the best source of electrolytes?
Bananas are a good source of potassium, but potatoes, avocados, beans and leafy greens often provide even more potassium per serving.
Is coconut water better than sports drinks?
For many people, coconut water offers a natural source of potassium and hydration. However, after intense endurance exercise, sports drinks may provide more sodium, which can be important for recovery.
Can you get enough electrolytes from food alone?
Yes. Most healthy adults can meet their electrolyte needs through a balanced diet rich in fruits, vegetables, dairy, legumes, nuts, seeds and seafood.
What causes electrolyte loss?
Electrolytes are commonly lost through:
- Sweat
- Vomiting
- Diarrhea
- Certain medications
- Excessive fluid loss
- Chronic illness
Conclusion
- Electrolytes are essential minerals that help regulate hydration, muscle contractions, nerve communication, heart rhythm and overall health. Fortunately, many of the best foods high in electrolytes are everyday staples, including avocados, potatoes, bananas, coconut water, leafy greens, yogurt, beans and salmon.
- Rather than relying solely on sports drinks, prioritize a diet rich in whole, nutrient-dense electrolyte-rich foods. Doing so can help maintain hydration, support exercise recovery, promote cardiovascular health and reduce the risk of electrolyte imbalances.
- When it comes to finding the best foods with electrolytes, nature provides plenty of delicious options.


