Electrolytes and sports drinks: when you need them and how to drink them
Electrolytes are salts you lose in sweat: mainly sodium, plus a little potassium and magnesium. You need them in long, sweaty workouts: over an hour, in the heat, in races and in team sports. For a regular gym session under an hour, water and normal food are enough.
MyGymGuid team · Updated November 19, 2026
Quick facts
- When
- Workouts over 60–90 minutes, heat, heavy sweating
- Sodium
- 300–600 mg per hour of exercise
- Water
- By thirst, usually 400–800 mL an hour; no more than you lose
- Potassium
- From food; tablets only with a doctor
- Evidence
- Moderate: needed for long losses, not for gym sessions under an hour
What electrolytes are for
Electrolytes are minerals that break down into charged particles in water. The main ones are sodium, chloride, potassium and magnesium. They keep water where it's needed, carry nerve signals and help muscles contract.
In sweat, you lose mainly water and sodium. There's little potassium and magnesium in sweat. So when people talk about "electrolytes for sport," they mostly mean sodium.
- Long workouts. Over 60–90 minutes, especially in the heat, losses add up. If you don't replace the water, performance drops: according to the ACSM position stand, noticeably once you lose more than 2% of your body weight.
- Heat and heavy sweating. In an hour you can lose from 0.3 to 2 liters of sweat or more. A liter of sweat contains about 800 mg of sodium on average, but it ranges from 200 to 1,600 mg between people.
- Holding on to water after exercise. Water with sodium is retained in the body better than plain water: less of it leaves in urine.
- A sports drink adds carbs to the salts, so it's also energy for long exercise.
When you don't need electrolytes. A gym session under an hour, a 30–40 minute run, a cool gym: water is enough here. You get your salt from normal food: most people already eat more sodium than they need.
Cramps. People often buy electrolytes for cramps. But a 2022 review explains exercise cramps by several causes at once, mainly muscle fatigue, rather than a lack of salts alone. There's no clear evidence yet that electrolytes prevent cramps in everyone. That doesn't mean they don't help anyone: in people who sweat a lot and lose a lot of salt, a link is possible. An acute cramp is relieved by gentle stretching.
How electrolytes work
Sodium holds water outside the cells, in the blood and between tissues. When you have enough sodium, your body keeps the water you drink, and your blood volume stays normal. That's easier on your heart, and cooling works better.
Potassium works inside the cells. It's needed by the heart and muscles. Your body keeps its blood level very precisely, and you lose several times less potassium than sodium in sweat.
Magnesium is needed for muscles and nerves. There's very little in sweat, tens of milligrams per liter. More in the magnesium guide.
An isotonic sports drink has a concentration close to your body fluids. It contains 6–8% carbs and a little sodium. A drink like this leaves the stomach quickly and is absorbed fast. Sweeter drinks, like juice and soda, are absorbed more slowly.
Sodium and sugar help water get absorbed in the gut: they pass through the wall together. Pharmacy rehydration solutions are built on the same principle. In a study of 13 drinks, a rehydration solution and milk kept water in the body better than plain water. A sports drink at rest was no better than water.
How much to drink and how much sodium you need
There's no single standard: everyone sweats differently. Start with a simple calculation and fine-tune it in your workouts.
| Exercise | Water | Sodium | Carbs |
|---|---|---|---|
| Gym or running under 60 minutes | By thirst | Not needed | Not needed |
| 60–150 minutes | By thirst, usually 400–800 mL an hour | 300–600 mg an hour | 30–60 g an hour, if you need energy |
| Over 2.5 hours, heat, heavy sweating | By thirst and by your sweat rate | 300–600 mg an hour, sometimes more | Up to 60–90 g an hour |
How to find your sweat rate. Weigh yourself naked before and after an hour-long workout. Add the weight of what you drank to the difference (1 L = 1 kg). That's your sweat per hour. For example: 80.0 kg before, 79.2 kg after, you drank 0.5 L. Your sweat is 1.3 L an hour.
The goal is not to lose more than 2% of your weight during a workout and not to gain weight. If you're heavier after exercise than before, you drank too much, and that's dangerous (more in the safety section).
Signs of salty sweat: white salt marks on your clothes and cap, sweat that stings your eyes. These people need more sodium during long exercise.
After training, you need about 1.25–1.5 L of fluid for every kilogram lost, gradually, over several hours. Together with salty food, the water is retained better.
Potassium: the adult requirement is 3,500 mg a day per EFSA (per NIH, 3,400 mg for men and 2,600 mg for women). It comes from vegetables, fruit, potatoes, legumes and dairy. Electrolyte products usually have 100–200 mg of potassium per serving, which is enough.
When to take electrolytes
- Before training. Start exercising without being thirsty: about 4 hours before, drink 5–7 mL of water per kg of body weight, which is 300–500 mL, together with a meal. If you have long exercise in the heat ahead and you sweat a lot, you can take a serving of electrolytes 1–2 hours before the start.
- During. Drink a little every 15–20 minutes, not a liter at once. Electrolytes and sports drinks make sense for exercise over 60–90 minutes.
- After. Replace what you lost: water plus salty food or a drink with sodium. If the workout was short and you eat a normal meal, you don't need separate electrolytes.
Try a new drink in training, not at a competition. Your stomach gets used to fluid and carbs during exercise gradually.
Sports drink, electrolytes or salt: what to choose
All these products do the same thing: replace water and sodium. The difference is whether they contain carbs and how much salt.
| Type | Rating | What's different | What it's for |
|---|---|---|---|
| Sugar-free electrolytes (powders, tablets) | 3/5 | Sodium, potassium, magnesium, chloride. No calories | Sweating, heat, cutting; when you don't need energy |
| Isotonic sports drink | 3/5 | 6–8% carbs and a little sodium. Both water and energy | Long workouts, races, team sports |
| Salt capsules | — | A lot of sodium in one capsule, no water | Ultramarathons and long events where it's easier to drink water separately |
| Pharmacy rehydration solution | — | More sodium than a sports drink, little sugar | After vomiting and diarrhea, heavy fluid loss |
| Potassium tablets | 2/5 | Potassium only | Only when prescribed by a doctor |
| Food and water | — | Salty food, broth, fruit and water | After training, most often enough |
Bottom line: for a gym session under an hour, water. For long, sweaty workouts, sugar-free electrolytes if you don't need energy, or an isotonic sports drink if you do. Potassium tablets aren't a sports supplement.
How to read the label. Look at sodium per serving, not per 100 g of powder. Servings of different brands range from 100 to 1,000 mg of sodium or more. Magnesium from electrolytes also counts toward your daily limit for magnesium from supplements.
Hyponatremia, potassium and who should avoid them
Hyponatremia is the main danger during long exercise. It's when sodium in the blood becomes too low because a person drank more water than they lost. Cells, including brain cells, swell.
- Signs: headache, nausea, vomiting, swollen hands and feet, confusion. In severe cases: seizures, coma, death.
- How common: at the Boston Marathon, 13% of finishers had low blood sodium, and 0.6% had dangerously low levels. The risk was higher in those who ran for over 4 hours and gained weight during the race.
- Salt doesn't protect against too much water. In a study of a 161 km ultramarathon, almost everyone took salt supplements, and those who developed hyponatremia had taken no less sodium. The main cause is drinking too much.
- How to prevent it: drink by thirst, not "in advance." Don't gain weight during a workout. Don't drink more than 800 mL an hour without a clear need.
If someone has a headache, nausea and confusion after long exercise, don't give them water, call an ambulance. Hyponatremia is treated by doctors.
Potassium: too much is dangerous. In healthy people, the kidneys get rid of excess potassium from food. But potassium in tablets and salt substitutes (potassium chloride) can raise its blood level, and that risks heart rhythm problems and cardiac arrest. That's why over-the-counter potassium supplements in the US are limited to 99 mg per serving.
Don't take potassium or salt supplements without talking to your doctor if:
- you have kidney disease;
- you take blood pressure or heart medications: ACE inhibitors (enalapril, lisinopril), ARBs (losartan, valsartan), potassium-sparing diuretics (spironolactone);
- you have high blood pressure or heart disease: then be careful with sodium too;
- you have diabetes: sports drinks contain sugar;
- you are pregnant or breastfeeding and want to take more than a normal dose of electrolytes provides.
Sports drinks are sugar. If your workout is short or you're cutting, they add extra calories. And rinse your mouth with water: sugary drinks are bad for your teeth.
What to combine electrolytes with
- With carbs: during long exercise: sports drinks, gels, bananas. Carbs and sodium together help water get absorbed.
- With caffeine: fine. In the study of 13 drinks, coffee kept water in the body just as well as plain water.
- With creatine and protein: no problem, you can mix them in the same shaker after training.
- With magnesium: add up the doses: electrolyte products can contain magnesium too.
Heat acclimatization also helps: after 1–2 weeks of training in the heat, your body starts sweating earlier and losing less salt in sweat. Electrolytes won't replace that.
What you don't need: drinking electrolytes all day "for health" or at every gym session. Without large losses, that's just extra salt.
Myths and FAQ
Do I need electrolytes for a gym workout?
Usually not. If the workout is under an hour and the gym isn't hot, water is enough. Electrolytes make sense for long, sweaty sessions.
Do electrolytes help with cramps?
There's no clear evidence yet that they prevent cramps in everyone: cramps are more often linked to muscle fatigue. But that doesn't mean they don't help anyone: in people who sweat a lot and lose a lot of salt, a link is possible. An acute cramp is relieved by gentle stretching.
Can I just add salt to water?
Yes. A quarter teaspoon of salt (about 1.5 g) gives about 600 mg of sodium. Dissolve it in 500–750 mL of water; you can add juice or honey for carbs. It will taste slightly salty, and that's normal.
Sports drink or plain water?
Under an hour, water. Over 60–90 minutes, especially in the heat and with heavy sweating, a sports drink: it replaces water, sodium and energy.
How much water should I drink during training?
By thirst, usually 400–800 mL an hour. To be more precise, weigh yourself before and after training: the goal is not to lose more than 2% of your weight and not to gain weight. If you gained weight, you drank too much.
Can I drink too much water?
Yes, and it's dangerous. If you drink more than you lose, your blood sodium drops: that's hyponatremia. It most often happens to slower marathon runners who drink at every aid station. Salt doesn't protect against it; drinking by thirst does.
Do I need potassium supplements?
Usually not. You lose little potassium in sweat, and food gives you plenty: potatoes, bananas, legumes, vegetables, dairy. The potassium in electrolyte products is enough. Potassium tablets only when prescribed by a doctor, especially if you have kidney disease or take blood pressure medication.
Do I need electrolytes when cutting?
Only if your workouts are long and sweaty. On a low-carb diet, your body loses more water and sodium in the first few days, and a little salt may help you feel better. Sports drinks are extra calories when cutting; go for sugar-free electrolytes.
Are electrolytes OK if I have high blood pressure?
Only after talking to your doctor. Sodium can raise blood pressure, and potassium is dangerous with some blood pressure medications.
Log your supplements in the app
Add your supplements with the dose and the app will remind you and log each dose. Free.
Based on publicly available sources. Reference information, not a substitute for medical advice. If you have a health condition, are pregnant or take medication, talk to your doctor.