An electrolyte is a substance that carries an electrical charge when dissolved in water. Your body relies on these charged particles, called ions, to power nerve signals, trigger muscle contractions, balance fluid levels, and keep your blood at the right pH. The major electrolytes in your body are sodium, potassium, calcium, magnesium, chloride, and bicarbonate.
How Electrolytes Work at a Chemical Level
Certain elements naturally hold a positive or negative electrical charge. When a compound like table salt dissolves in water, it splits into its component atoms: positively charged sodium and negatively charged chloride. These free-floating ions allow the liquid to conduct electricity. Your body uses the same principle. Instead of electricity jumping between ions in salt water, your cells use ions to shuttle chemical signals and transport compounds in and out of cell membranes.
This is why the word “electrolyte” applies both to the packet you stir into a water bottle and to the minerals already circulating in your blood. The term describes any mineral that dissolves into ions your body can use for electrical and chemical work.
What Electrolytes Do in Your Body
Nerve Signaling
Your nerve cells communicate through rapid shifts in electrical charge called action potentials. At rest, a nerve cell keeps more potassium inside and more sodium outside, creating a voltage difference across its membrane. When the cell fires, sodium rushes in, flipping the charge and sending a signal down the nerve. Potassium then flows out to reset the cell. A dedicated pump on every cell membrane constantly moves three sodium ions out and two potassium ions back in to maintain this balance. In your brain alone, this pump consumes roughly three-quarters of all available energy.
Muscle Contraction
Every muscle contraction depends on a rise in calcium inside the cell. When a nerve signal reaches a muscle fiber, sodium and calcium ions flow through channels in the cell surface, triggering a chain reaction that releases stored calcium. That calcium binds to proteins on muscle fibers, exposing the attachment points that let the fibers slide past each other and shorten. This sliding is the physical event you experience as a muscle contracting. Without adequate calcium, potassium, and sodium, the process stalls or misfires, which is why muscle cramps and weakness are hallmark signs of electrolyte problems.
Fluid Balance
Sodium is the primary electrolyte controlling how much water stays in your bloodstream versus inside your cells. Water follows sodium through a process called osmosis: wherever sodium concentration is higher, water moves toward it. Your kidneys fine-tune this balance constantly, retaining or excreting sodium to keep blood volume and blood pressure stable.
Blood pH
Your blood needs to stay within a narrow pH range to function. Bicarbonate, one of the lesser-known electrolytes, acts as the body’s main pH buffer. Carbon dioxide produced during normal metabolism combines with water to form carbonic acid, which then splits into bicarbonate and a hydrogen ion. This reaction can run in either direction, absorbing or releasing acid as needed. Your kidneys also regulate pH by reabsorbing bicarbonate when blood is too acidic or letting it pass into urine when blood is too alkaline.
The Major Electrolytes and Their Normal Ranges
Doctors measure electrolyte levels through a standard blood test. The normal ranges for adults are:
- Sodium: 135 to 145 mEq/L
- Potassium: 3.5 to 5.0 mEq/L
- Calcium: 8.5 to 10.3 mg/dL
- Magnesium: 1.5 to 2.4 mEq/L
These numbers may not mean much on their own, but they give your doctor a snapshot of hydration, kidney function, and overall metabolic health. Even small deviations can produce noticeable symptoms.
What Electrolyte Imbalance Feels Like
Because electrolytes are involved in so many systems, imbalances can show up in different ways depending on which mineral is off. Low sodium tends to affect the brain first: headaches, confusion, nausea, and in severe cases, seizures. High sodium causes restlessness and difficulty sleeping.
Low potassium produces fatigue, weakness, and muscle twitching. Severe cases can cause generalized paralysis. High potassium brings on muscle cramps and weakness as well, but the bigger concern is its effect on the heart, where it can trigger dangerous rhythm changes. Low calcium and low magnesium also carry cardiac risks, with magnesium deficiency in particular linked to a specific type of irregular heartbeat.
The common thread across nearly all electrolyte imbalances is some combination of fatigue, lethargy, and muscle weakness. These symptoms are vague enough that many people attribute them to poor sleep or stress before considering an electrolyte issue.
Food Sources for Each Electrolyte
Most people can maintain healthy electrolyte levels through diet alone. The best sources vary by mineral:
- Potassium (goal: 4,000 mg/day): Fruits, vegetables, and legumes supply the largest share, about 26% of total intake in dietary studies. Potatoes, dairy products, meat, and coffee also contribute meaningfully.
- Calcium (goal: 1,000 mg/day): Cheese accounts for nearly 30% of calcium intake, with milk and other dairy products adding another 20%. Mineral water is an underappreciated source, contributing roughly 12.5%.
- Magnesium (goal: 300 to 400 mg/day, depending on age and sex): Intake is spread across many food groups. Fruits and vegetables, whole grain bread, coffee, and even mineral water each contribute between 6% and 14%.
- Sodium (goal: no more than 1,500 mg/day): Most people get far more sodium than they need. Condiments and sauces account for about 22% of intake, with bread and meat products adding another 11 to 13% each.
When You Need More Than Water
For everyday hydration and exercise under 90 minutes, plain water replaces fluid losses just fine. Your next meal will replenish whatever electrolytes you sweated out. During prolonged exercise lasting longer than 90 minutes, an electrolyte-containing sports drink becomes more useful because it replaces both the minerals and the carbohydrate fuel your muscles are burning through.
A practical guideline for any exercise: drink 150 to 300 milliliters (roughly 5 to 10 ounces) every 15 to 20 minutes, adjusting based on how heavily you sweat. Heavier sweaters and people exercising in heat lose more sodium and may benefit from electrolyte drinks even during shorter sessions. Outside of exercise, situations like prolonged vomiting, diarrhea, or heavy alcohol use can deplete electrolytes quickly enough to warrant an oral rehydration solution rather than water alone.