Electrolytes
What are electrolytes and what happens when levels are off?
Electrolytes are charged minerals your nerves, muscles, and heart depend on. Here is how they work, where they come from, and what low or high levels mean.
By Artifact Editors, Editorial team
Published · 5 min read

In this article
- What electrolytes are and what they do
- Are electrolytes just salt, sodium, or minerals?
- Which electrolytes matter most, and which work together
- How electrolytes conduct electricity in your heart, nerves, and muscles
- Where electrolytes come from, and what you lose in sweat and diarrhea
- What happens when electrolytes are low, and when they are high
- How an electrolyte blood test works and who needs one
- Why electrolytes taste salty, and who discovered them
- FAQ
What electrolytes are and what they do
Electrolytes are substances that carry an electric charge when dissolved in water, and your body uses that charge to balance fluids, send nerve signals, contract muscles, and keep acidity in range. MedlinePlus lists the main ones as sodium, potassium, chloride, calcium, magnesium, phosphate, and bicarbonate.
The word describes behavior, not a food group. A substance counts as an electrolyte because it splits into charged particles (ions) in fluid. That is the whole trick, and it explains why a lot of body function runs on it.
This page is the foundation for everything else in our electrolytes coverage.
Are electrolytes just salt, sodium, or minerals?
No. Salt is one source of electrolytes, not the whole category. Table salt is sodium chloride, so it supplies two of them, but potassium, magnesium, calcium, phosphate, and bicarbonate count too.
Calling them all minerals does not quite work either. Bicarbonate is a charged compound, not a mineral in the usual sense, and it serves as the body's main acid buffer. Meanwhile, not every mineral is an electrolyte: iron and zinc are not usually counted as one.
Which electrolytes matter most, and which work together
All seven matter, but sodium and potassium do the most visible work, and each one has a partner. Sodium and potassium operate as a pair. Calcium and magnesium operate as another.
| Electrolyte | Main job | Works with |
|---|---|---|
| Sodium | Main positive ion outside cells; largely sets how much water stays in blood and tissue fluid | Potassium, chloride |
| Potassium | Main positive ion inside cells; helps set the electrical charge across cell membranes | Sodium |
| Chloride | Usually moves alongside sodium | Sodium |
| Calcium | Triggers muscle contraction and neurotransmitter release | Magnesium |
| Magnesium | Helps the sodium-potassium pump and many enzymes work | Calcium, potassium |
| Phosphate | Part of ATP (cellular energy) and bone | Calcium |
| Bicarbonate | Buffers acid to keep pH steady | Chloride |
The pairing has practical consequences. Low magnesium can cause low calcium, and it often makes low potassium hard to correct. Fixing one number without the other can fail.
How electrolytes conduct electricity in your heart, nerves, and muscles
Your cells run on a voltage difference, and electrolytes create it. Cells keep different ion concentrations inside and outside their membranes, and a pump (the sodium-potassium pump) keeps sodium out and potassium in.
A nerve or muscle cell fires when sodium channels open and sodium rushes in. Potassium leaving the cell then resets the voltage, and calcium entry triggers contraction.
The heart is the high-stakes example. Shifts in potassium and calcium change the ECG tracing. According to StatPearls, high potassium can produce peaked T waves and a widened QRS complex, and eventually dangerous rhythms, while low potassium can produce U waves and arrhythmias.
Where electrolytes come from, and what you lose in sweat and diarrhea
They come from food and drink, and your kidneys fine-tune the balance by holding on to or excreting each one. Potassium is plentiful in fruits, vegetables, beans, dairy, and potatoes, per the NIH potassium fact sheet. Most sodium in the American diet comes from processed and restaurant food, not the salt shaker.
Now the trendy ones. Coconut water is relatively high in potassium and low in sodium. Watermelon has some potassium and magnesium but is mostly water. For actual numbers, check USDA FoodData Central, because brands and fruit vary.
Pickle juice is high in sodium. A small 2010 study on pickle juice and cramps suggested it might shorten electrically induced cramps, but the evidence is weak, and the effect is thought to be neural rather than a result of replacing electrolytes. It is not proof that pickle juice rehydrates you.
Sweat is mainly water plus sodium and chloride, with smaller amounts of potassium, magnesium, and calcium. How salty it is varies a lot from person to person, so any single number you see is a rough average at best.
Diarrhea takes water, sodium, chloride, potassium, and bicarbonate with it. That can lead to dehydration, low potassium, and acidic blood. The evidence-based fix is oral rehydration solution, which uses sodium-glucose co-transport to pull water in; see WHO guidance for the formulation.
Whether electrolyte powders or sports drinks help healthy people in everyday life is something we cannot support with a vetted review, so treat the marketing as marketing.
What happens when electrolytes are low, and when they are high
Both directions can cause trouble, and the most dangerous problems often start quietly. Here are the common patterns, with the usual lab cutoffs, which can vary slightly by lab.
- Low sodium (hyponatremia, usually below 135 mmol/L): nausea, headache, confusion, and in severe cases seizures and coma. Exercise-associated cases are largely caused by drinking too much plain water.
- High sodium (hypernatremia): usually a water deficit, with thirst, weakness, and confusion.
- Low potassium (hypokalemia, below 3.5 mmol/L): weakness, cramps, constipation, and arrhythmias.
- High potassium (hyperkalemia, above roughly 5.0 to 5.5 mmol/L): often tied to kidney disease or certain drugs, and it can cause fatal arrhythmias with few warning symptoms. The American Heart Association is a starting point for heart-related guidance.
- Low calcium: tingling, cramps, and tetany. High calcium: constipation, kidney stones, and confusion.
- Low magnesium: cramps and arrhythmias, often alongside low potassium.
Healthy people with normal kidneys rarely develop dangerous levels from diet alone. Risk rises with kidney disease, heart failure, diuretics, ACE inhibitors and ARBs, vomiting and diarrhea, and endurance exercise.
How an electrolyte blood test works and who needs one
The standard test is a basic metabolic panel, a simple blood draw. It reports sodium, potassium, chloride, and bicarbonate, plus glucose, BUN, creatinine, and calcium, according to MedlinePlus.
Magnesium and phosphate are usually separate orders. Fasting is sometimes requested, mostly because of the glucose result, so follow the instructions you are given.
Doctors typically order it for people with kidney or heart disease, people taking diuretics or similar drugs, people with vomiting, diarrhea, or confusion, and as part of routine checkups. Whether healthy people need routine screening is not something we can back with a source.
Why electrolytes taste salty, and who discovered them
The salty taste comes mainly from sodium. Potassium chloride tastes salty too, but often with a bitter or metallic edge, and mineral waters can taste bitter, metallic, or soapy because of magnesium, calcium, and bicarbonate.
A persistent salty or sweet taste is not a reliable sign of an electrolyte problem. We found no good evidence for that claim. Taste changes have many causes, including dry mouth, medications, infection, and diabetes, so mention a lasting one to a clinician instead of guessing.
As for who discovered electrolytes, no single person did. Michael Faraday coined the terms electrolyte and ion in the 1830s, working with the philosopher William Whewell. Svante Arrhenius proposed in 1884 that electrolytes split into ions in solution and won the 1903 Nobel Prize in Chemistry. See Britannica to confirm the history.
Frequently asked questions
Do I need an electrolyte drink?
Probably not for ordinary days. We could not find vetted evidence that electrolyte powders or sports drinks help healthy people in everyday life. Oral rehydration solution is the evidence-based option for diarrhea. If you have kidney or heart disease or take diuretics, ask your clinician first.
Can drinking too much water lower your electrolytes?
Yes. Exercise-associated hyponatremia is largely caused by drinking too much plain water, which dilutes sodium in the blood. Symptoms can include nausea, headache, and confusion, and severe cases can cause seizures. It is a reason not to force fluids far beyond thirst during long exercise.
Can you get too many electrolytes from food?
Rarely, if your kidneys work normally. Healthy kidneys adjust how much of each electrolyte they excrete. Trouble is more likely with kidney disease, heart failure, or certain drugs, which can push potassium up, for example, sometimes with few warning symptoms.
Do we have to fast before an electrolyte blood test?
Sometimes. A basic metabolic panel includes glucose, which is why fasting is occasionally requested. Instructions vary by clinic and by what else is being tested, so follow what your provider or lab tells you, and check MedlinePlus for general details.
Sources (10)
- StatPearls, "Physiology, Electrolytes" NCBI Bookshelf
- Medline Plus, "Electrolytes"
- StatPearls, "Hyperkalemia" and "Hypokalemia"
- American Heart Association, hyperkalemia/hypokalemia guidance
- NIH Office of Dietary Supplements, Potassium fact sheet
- USDA FoodData Central
- Miller KC et al., pickle juice and cramps, Med Sci Sports Exerc 2010
- WHO, oral rehydration salts guidance
- MedlinePlus, "Basic Metabolic Panel"
- Encyclopaedia Britannica, entries on Faraday and Arrhenius



