How Do I Get Electrolytes? Foods, Drinks & More

You get electrolytes from food, drinks, and (when needed) supplements. Most people can meet their daily needs through a normal diet that includes fruits, vegetables, nuts, dairy, and enough water. If you’re sweating heavily, recovering from illness, or eating a restricted diet, you may need to be more intentional about it.

Electrolytes are minerals that carry an electrical charge in your body. The four main ones are sodium, potassium, magnesium, and chloride. They keep your nerves firing, your muscles contracting, your heart beating steadily, and your fluid levels balanced. Losing too many or not getting enough leads to symptoms like cramps, fatigue, nausea, and weakness.

How Much You Need Each Day

The targets vary by electrolyte, and they’re higher than most people realize, especially for potassium. Here’s what adults need daily:

  • Potassium: 2,600 mg for women, 3,400 mg for men
  • Sodium: about 1,500 mg (most people far exceed this without trying)
  • Magnesium: 310–320 mg for women, 400–420 mg for men
  • Chloride: 2,300 mg (typically covered if your sodium intake is adequate, since table salt contains both)

Potassium is the one most people fall short on. Sodium is the opposite: the average Western diet provides well above the 1,500 mg target, and health guidelines recommend staying below 2,300 mg per day to reduce chronic disease risk.

Best Food Sources

Food is the most efficient and safest way to get electrolytes because it delivers them alongside other nutrients that help with absorption. You don’t need specialty products. A few targeted food choices can cover your bases.

For Potassium

Potassium is abundant in fruits, vegetables, and legumes. A medium banana provides about 420 mg, a medium potato with the skin has roughly 900 mg, and half a cup of cooked black beans delivers around 300 mg. Avocados, sweet potatoes, spinach, and tomato sauce are also rich sources. Because your daily target is high (2,600–3,400 mg), you need potassium-rich foods at most meals to hit it consistently.

For Magnesium

Seeds and nuts are the standout sources. One ounce of pumpkin seeds provides 150 mg of magnesium, nearly half the daily target for women. An ounce of chia seeds has 111 mg, and an ounce of almonds provides 80 mg. Cooked spinach (78 mg per half cup), Swiss chard (75 mg per half cup), quinoa (60 mg per half cup), and dark chocolate with 70% or higher cocoa (64 mg per ounce) are all strong options. Even a medium potato with skin contributes 48 mg.

For Sodium and Chloride

You rarely need to seek out extra sodium. It’s in bread, cheese, canned goods, condiments, and nearly every packaged food. If you eat a whole-food diet with very little processed food, adding a pinch of salt to meals is enough. The exception is heavy, prolonged sweating, where sodium losses can be significant.

Drinks That Provide Electrolytes

Water alone doesn’t contain meaningful amounts of electrolytes, especially if it’s filtered or distilled. Some studies have linked drinking water low in calcium and magnesium with tiredness, muscle cramps, and weakness. Mineral water, by contrast, can contain anywhere from 1 mg to 120 mg of magnesium per liter depending on the brand and source.

Coconut water is one of the best natural electrolyte drinks. One cup provides about 404 mg of potassium and 64 mg of sodium. Compare that to a standard sports drink like Gatorade, which has 97 mg of sodium but only 37 mg of potassium per cup. Coconut water is the better choice for everyday potassium replenishment, while sports drinks are formulated to prioritize sodium replacement during intense exercise.

Milk (including low-fat) is an underrated option. It delivers potassium, sodium, calcium, and 24–27 mg of magnesium per cup, plus protein that aids recovery after workouts. Bone broth and vegetable broth are useful too, particularly for sodium and potassium.

Why Glucose Helps With Absorption

Your small intestine absorbs sodium and water faster when a small amount of sugar is present. This happens because of a specific transporter in your gut lining that moves one molecule of glucose along with two sodium ions into your intestinal cells simultaneously. Water then follows passively through the osmotic pull created by that sodium transport. This is the entire basis of oral rehydration solutions used to treat dehydration: a precise ratio of salt, sugar, and water that maximizes fluid absorption.

This is worth knowing for practical reasons. If you’re dehydrated from illness, heat, or exercise, plain water with a pinch of salt and a small amount of sugar or honey will rehydrate you faster than water alone. Commercial electrolyte mixes and rehydration packets use this same principle.

Electrolyte Supplements and Mixes

Electrolyte powders, tablets, and drink mixes are convenient when food isn’t practical, like during long runs, after vomiting, or while traveling. Most contain sodium, potassium, and magnesium in varying amounts, sometimes with added sugar to boost absorption.

A few things to keep in mind. The tolerable upper limit for supplemental magnesium is 350 mg per day for adults. That limit applies only to magnesium from supplements and medications, not from food. Going above it can cause diarrhea, nausea, and cramping. Potassium supplements sold over the counter are typically capped at low doses (99 mg per pill) because excess supplemental potassium can cause dangerous heart rhythm changes.

This is why food is a safer delivery method for most people. It’s very difficult to overdose on electrolytes from whole foods because your kidneys regulate the balance. Supplements bypass some of that natural pacing.

When You Lose More Than Usual

Certain situations drain electrolytes faster than a normal diet can replace them:

  • Heavy or prolonged sweating: Endurance exercise, manual labor, or heat exposure can deplete sodium and potassium quickly. Salty snacks, a sports drink, or an electrolyte mix during and after activity helps.
  • Vomiting or diarrhea: Both cause rapid loss of sodium, potassium, and chloride. Oral rehydration solutions (store-bought or homemade with water, salt, and sugar) are the fastest way to recover.
  • Low-carb or ketogenic diets: Cutting carbs causes your kidneys to excrete more sodium and water, which in turn pulls potassium and magnesium along with it. People on these diets often need to add salt to food and eat extra magnesium-rich foods.
  • Alcohol consumption: Alcohol is a diuretic that increases fluid and electrolyte loss. The headache and fatigue of a hangover are partly driven by electrolyte depletion.

Signs You’re Running Low

Mild electrolyte imbalances often feel vague: fatigue, headache, muscle cramps, or general weakness. These overlap with many other issues, so they’re easy to dismiss. Low sodium specifically can cause nausea, vomiting, confusion, drowsiness, irritability, and muscle spasms. In severe cases it can lead to seizures or loss of consciousness. Low potassium shares some of those symptoms, particularly muscle weakness, cramps, and fatigue, and can also cause heart palpitations.

If you’re eating a varied diet and staying hydrated, significant deficiency is uncommon. But if you recognize a pattern of cramps, fatigue, or headaches that worsens with exercise or heat, your electrolyte intake is the first thing worth examining. Tracking your potassium and magnesium intake for a few days using a food-logging app can reveal gaps faster than guessing.