What are electrolytes?
By Gonçalo, founder of Rainu · Updated 18 October 2026 · 7 min read
Short answer: electrolytes are minerals such as sodium, potassium, chloride and magnesium that carry an electric charge when they're dissolved in your blood and body fluids. They keep your nerves and muscles working and your water in the right place. Most people get plenty from food, and healthy kidneys keep the levels steady. You need extra mainly when you're losing a lot, through vomiting, diarrhea or long, sweaty exercise.
What are electrolytes?
Electrolytes are minerals that carry an electric charge when they're dissolved in a liquid such as blood. The main ones doctors measure in blood are sodium, potassium, chloride and bicarbonate; calcium, magnesium and phosphate are electrolytes too. MSD Manual, Overview of electrolytes (2025).
What do electrolytes do?
Together they help run your nerves and muscles, keep your blood from becoming too acidic or too alkaline, and keep water in the right places in your body. Each has its own jobs:
- Sodium sits mostly in the blood and the fluid around your cells. It controls how much fluid you hold and where it goes, and it's key for nerve and muscle function. MSD Manual, Sodium's role in the body (2025).
- Potassium sits mostly inside your cells and keeps cells, nerves and muscles working, including your heart. Blood levels that are too high or too low can upset the heart's rhythm. MSD Manual, Potassium's role in the body (2025).
- Magnesium is needed for normal nerve and muscle function and for bones and teeth. Adults need about 310 to 420 mg a day.
- Chloride and bicarbonate work alongside sodium and potassium; bicarbonate helps keep your blood's acid level steady.
How your body keeps electrolytes in balance
Mostly through your kidneys. They filter electrolytes and water out of your blood and adjust how much leaves in your urine, so healthy kidneys can match what you eat and drink. Hormones help: aldosterone tells the kidneys to keep sodium and get rid of potassium, and vasopressin tells them to hold on to water. Thirst does the rest. You lose sodium mainly in sweat and urine, and potassium mainly in urine, with a little in stool and sweat.
That's why a healthy person eating normal meals rarely runs low. Americans eat on average about 3,400 mg of sodium a day, well above the 2,300 mg limit in the Dietary Guidelines. FDA, Sodium in your diet (2024).
Low electrolytes: symptoms
Signs depend on which electrolyte is low, and they're often vague:
| Low level of | Possible symptoms |
|---|---|
| Sodium (hyponatremia) | Feeling sluggish and confused, nausea, being unsteady; when severe, seizures and coma |
| Potassium (hypokalemia) | Weak muscles, cramps, twitching, rarely paralysis; abnormal heart rhythms |
| Magnesium (hypomagnesemia) | Nausea, vomiting, sleepiness, weakness, muscle spasms, tremors, loss of appetite; when severe, seizures |
MSD Manual: Hyponatremia, Hypokalemia, Hypomagnesemia (2025).
The usual causes are losses, not diet: vomiting, diarrhea, laxatives and diuretics (water pills) for potassium; heavy drinking and long-lasting diarrhea for magnesium; drinking a lot of water fast, or heart, kidney and liver disease, for sodium. Only a blood test can tell you which level is off, and the cause decides the treatment. Hyponatremia: low sodium symptoms and causes → Low sodium from drinking too much water →
When do you need electrolytes?
- Vomiting or diarrhea. You lose salts as well as water. Replacing it with only water or tea, which have little or no salt, can let your sodium drop. An oral rehydration solution is the right drink, especially for children, older adults and people with long-term illnesses. MSD Manual, Gastroenteritis (2025). How to use an oral rehydration solution → Does tea dehydrate you? →
- Long, hot or very sweaty exercise. Sweat rates and the salt in sweat vary a lot from person to person. During exercise, drinks with electrolytes and carbohydrates can help more than water alone in some situations. You can estimate your sweat loss by weighing yourself before and after a session. American College of Sports Medicine position stand, 2007.
- Not usually: a normal day or a short workout. Water and your next meal cover it.
In very long events, the bigger risk is often the opposite: drinking more than you sweat dilutes your sodium. The international consensus is to drink to thirst. Hew-Butler et al., Clinical Journal of Sport Medicine, 2015.
Do electrolytes hydrate you better than water?
Some drinks do, but not sports drinks at rest. In a trial of 13 drinks, the body held on to an oral rehydration solution better than still water over the next few hours, along with whole and skimmed milk. A sports drink did no better than water. Maughan et al., American Journal of Clinical Nutrition, 2016. Which drinks hydrate best →
Electrolyte drinks compared: Gatorade, Pedialyte, coconut water
How much sodium, potassium and carbohydrate each drink carries, per 100 ml (about 3.4 fl oz):
| Drink | Sodium | Potassium | Carbs |
|---|---|---|---|
| Electrolyte solution (Pedialyte type) | 101 mg | 77 mg | 2.5 g |
| Gatorade (G Series Perform) | 39 mg | 15 mg | 6.4 g |
| Powerade | 42 mg | 18 mg | 7.8 g |
| Gatorade G2 (low calorie) | 45 mg | 13 mg | 1.9 g |
| Coconut water, packaged, unsweetened | 26 mg | 165 mg | 4.2 g |
| Coconut water, fresh | 105 mg | 250 mg | 3.7 g |
USDA FoodData Central, SR Legacy (2018), per 100 g. Recipes change, so check the label. For comparison, the oral rehydration solution recommended by the World Health Organization has 75 mmol of sodium per litre, about 170 mg per 100 ml, and 75 mmol of glucose. MSD Manual, Oral rehydration therapy (professional version, 2025). Coconut water benefits →
- For vomiting and diarrhea: an oral rehydration solution. Sports drinks have more sugar and less salt, so use them only if there's nothing better, and not for children under 5.
- For long, sweaty workouts: a sports drink gives you sodium plus carbohydrate for energy.
- Coconut water is rich in potassium but has much less sodium than an oral rehydration solution. After exercise it rehydrated about as well as water and a sports drink, but caused more bloating and stomach upset. Kalman et al., Journal of the International Society of Sports Nutrition, 2012.
- "Electrolyte water" and tablets vary a lot. The sodium per serving on the label tells you whether a drink does more than plain water. Pedialyte for a hangover: does it help? →
Is Gatorade good for you?
It depends on when you drink it. During long, sweaty exercise, it does what it's made for: replaces some of the sodium you sweat out and gives you carbohydrate for energy. As an everyday drink, it's mostly water with sugar and a little salt. By USDA's figures, a 20 fl oz bottle has about 38 g of carbs and 230 mg of sodium, and the body doesn't hold on to it any better than water at rest. For a stomach bug, an oral rehydration solution is the better choice, especially for young children.
Homemade electrolyte drink
For illness, a ready-made oral rehydration solution from a pharmacy or supermarket comes first: it's measured to the right balance of salt and sugar. If you can't get one, for example while travelling, Germany's federal health portal gives this backup recipe. Into 1 litre (about 34 fl oz) of bottled or boiled water, stir:
- 4 teaspoons of sugar,
- ¾ teaspoon of table salt,
- a glass of packaged orange juice.
gesund.bund.de (German Federal Ministry of Health), Diarrhea, 2024. For babies and young children, ask your pediatrician or pharmacist for a ready-made solution. After a workout, plain water with a meal or a salty snack is usually enough. How long it takes to rehydrate →
Can you have too many electrolytes?
Yes. Too much sodium is common in the American diet, and diets higher in sodium are linked to high blood pressure, a major cause of stroke and heart disease. Electrolyte powders taken every day without need add to a total that's already high. High potassium (hyperkalemia) usually comes from kidney disease or medicines that stop the kidneys getting rid of potassium, or from too much potassium in supplements. Potassium from food alone rarely causes it, because healthy kidneys clear the extra. MSD Manual, Hyperkalemia (2025). If you have kidney or heart disease, ask your doctor before using electrolyte products or potassium supplements. Pickle juice: how much sodium is in a shot →
Foods with electrolytes
Normal food is where most people get their electrolytes. Beans, dark leafy greens, potatoes, fish and bananas are good sources of potassium, and coconut water has plenty too. Sodium is rarely the one you're missing: more than 70% of it comes from packaged and prepared foods. Foods that also hydrate you →
Work out how much water you need each day →
Questions
What are electrolytes in simple terms?
Minerals like sodium, potassium, chloride and magnesium that carry an electric charge in your body fluids. They keep your nerves and muscles working and your water in the right place.
What are the signs you need electrolytes?
Losing a lot of fluid is the main clue: vomiting, diarrhea, or long, sweaty exercise. Signs of low levels include weakness, cramps, nausea, confusion and, with low potassium, an irregular heartbeat. Only a blood test can confirm it. Leg cramps at night →
Is it OK to drink electrolytes every day?
Most people don't need them every day, and many drinks add sugar and sodium you already get from food. With kidney or heart disease, ask your doctor first.
Is Pedialyte better than Gatorade?
For vomiting and diarrhea, yes: oral rehydration solutions have more sodium and less sugar. For long workouts, a sports drink's carbohydrate gives you energy as well.
Does coconut water have electrolytes?
Yes, mostly potassium: about 165 to 250 mg per 100 ml. It has much less sodium than an oral rehydration solution, so it isn't a substitute when you're ill.
Does water have electrolytes?
A little, depending on the minerals in your tap or bottled water, but far too little to replace heavy losses from vomiting or diarrhea. Distilled water has almost none: can you drink it? →
Sources
- MSD Manual, Consumer Version: Overview of electrolytes; Sodium's and Potassium's role in the body; Hyponatremia, Hypokalemia, Hyperkalemia, Hypomagnesemia (J. L. Lewis III, 2025)
- MSD Manual, Consumer Version: Overview of gastroenteritis (J. Gotfried, 2025)
- MSD Manual, Professional Version: Oral rehydration therapy (M. F. Cellucci, 2025)
- FDA, Sodium in your diet (2024)
- USDA FoodData Central, SR Legacy (2018)
- American College of Sports Medicine. Exercise and fluid replacement. Medicine & Science in Sports & Exercise, 2007
- Maughan RJ et al. A beverage hydration index. American Journal of Clinical Nutrition, 2016
- Kalman DS et al. Comparison of coconut water and a carbohydrate-electrolyte sport drink on measures of hydration and physical performance. Journal of the International Society of Sports Nutrition, 2012
- Hew-Butler T et al. Exercise-Associated Hyponatremia Consensus. Clinical Journal of Sport Medicine, 2015
- gesund.bund.de (German Federal Ministry of Health, with IQWiG): Durchfall (8 March 2024)
General information, not medical advice. If you have kidney or heart disease, take diuretics or other regular medicines, or are caring for a baby or young child with vomiting or diarrhea, ask a doctor before using electrolyte products. If someone is confused, has a seizure, faints or has a racing or irregular heartbeat, call 911 or your local emergency number.
