What Are the 7 Electrolytes and What Do They Do?

The human body relies on seven main electrolytes: sodium, potassium, calcium, magnesium, chloride, bicarbonate, and phosphate. These are minerals that carry an electrical charge when dissolved in your blood, sweat, or other body fluids. That charge is what allows your nerves to fire, your muscles to contract, and your cells to maintain the right amount of water. Here’s what each one does and where to get it.

Sodium

Sodium is the most abundant electrolyte in the fluid outside your cells, and it’s the primary driver of your body’s water balance. Your plasma osmolality, which is essentially how concentrated your blood is, depends mainly on sodium concentration. When sodium levels shift, water follows: too much sodium pulls water into your bloodstream, raising blood pressure, while too little lets water leak into cells, causing them to swell.

Sodium also plays a direct role in nerve signaling and muscle function. Your kidneys are constantly fine-tuning how much sodium you retain or excrete. When blood pressure drops, a hormonal chain reaction triggers your adrenal glands to release aldosterone, which tells your kidneys to hold onto more sodium and, with it, more water. The normal blood level sits between 136 and 145 mEq/L. Your body only needs about a teaspoon of salt per day, though most people consume well beyond that.

Potassium

Potassium is sodium’s counterpart. While sodium dominates outside your cells, potassium is the main electrolyte inside them. This difference in concentration across cell membranes is what creates the electrical charge cells need to function. In heart muscle, that negative resting charge keeps the cells stable between beats, preventing the kind of spontaneous firing that causes dangerous heart rhythms.

Normal blood potassium ranges from 3.5 to 5.0 mEq/L, and even small deviations can cause problems. Low potassium tends to cause muscle weakness, cramps, and fatigue. High potassium is more immediately dangerous because it disrupts the heart’s electrical stability. Good food sources include cooked spinach, sweet potatoes, bananas, avocado, beans, tomatoes, oranges, and plain yogurt.

Calcium

Calcium is best known for building bones and teeth, but it’s also the trigger for muscle contraction. When a nerve signals a muscle to contract, calcium floods into the muscle cell and binds to proteins on the muscle fibers, exposing the sites where the fibers can grab onto each other and shorten. Without calcium, this process can’t begin. In the heart, this same mechanism drives every beat.

Normal total blood calcium runs between 2.0 and 2.6 mmol/L (roughly 9 to 10.5 mg/dL). Only a portion of that calcium is in the active, ionized form (1.05 to 1.3 mmol/L), which is the form your body actually uses for signaling. Good sources include milk and dairy products, fish with bones like sardines, eggs, fortified cereals, beans, and certain vegetables like collard greens and asparagus.

Magnesium

Magnesium works as calcium’s natural counterbalance. In muscle cells, magnesium competes with calcium for binding sites. Where calcium triggers contraction, magnesium promotes relaxation. This push and pull between the two minerals is especially critical in the heart, where magnesium prevents excessive calcium release that could cause the muscle to contract when it shouldn’t, particularly during the resting phase between beats.

Beyond muscle function, magnesium is essential for energy production. The molecule your cells use as fuel, ATP, only works when bound to magnesium. Both muscle contraction and relaxation require energy from this magnesium-ATP complex. Normal blood levels range from 1.3 to 2.1 mEq/L. Leafy greens like spinach, kale, and collard greens are rich sources, along with whole grains, nuts, peanut butter, and dried beans.

Chloride

Chloride is the most abundant negatively charged electrolyte in your blood, with a normal range of 98 to 106 mEq/L. It works closely with sodium to regulate fluid balance and blood pressure. Most of the chloride in your diet comes paired with sodium as table salt (sodium chloride), but it also appears naturally in olives, seaweed, rye, tomatoes, lettuce, and celery.

Chloride also helps maintain the body’s acid-base balance. Your stomach uses it to produce hydrochloric acid for digestion, and in the bloodstream it shifts between compartments to keep electrical charges balanced as other electrolytes move around. When bicarbonate levels rise, chloride levels typically fall, and vice versa. This relationship, called the chloride shift, helps keep blood pH stable.

Bicarbonate

Bicarbonate is your blood’s primary pH buffer. Your body constantly produces acids as byproducts of metabolism, and bicarbonate neutralizes them to keep blood pH locked around 7.4. The system works in both directions: when something acidic enters the bloodstream, bicarbonate ions neutralize it by forming carbonic acid and water. When something basic enters, carbonic acid reacts with it to produce bicarbonate ions and water. This carbonic acid-bicarbonate system is self-correcting, recycling its own components to handle threats from either direction.

Bicarbonate also plays a key role in transporting carbon dioxide. Your cells produce CO2 as waste, and much of it travels through the bloodstream as bicarbonate before being converted back to CO2 in the lungs and exhaled. Unlike the other electrolytes on this list, you don’t get bicarbonate directly from food. Your body produces it internally, primarily in the kidneys and red blood cells.

Phosphate

Phosphate is the electrolyte behind your body’s energy currency. ATP, the molecule every cell uses for fuel, stores its energy in the bonds between three phosphate groups. When the cell needs energy, it snaps off the third phosphate group, releasing it like a compressed spring. The cell then reattaches the phosphate to recharge the molecule, a cycle that happens billions of times per day across your body.

Phosphate also partners with calcium to mineralize bones and teeth, giving them their rigid structure. About 85% of the body’s phosphorus is stored in bone. Phosphate is found in most protein-rich foods, including meat, dairy, nuts, and beans, so deficiency from diet alone is uncommon.

How Your Body Keeps Electrolytes in Balance

Your kidneys do most of the heavy lifting. They filter your blood continuously, deciding moment to moment how much of each electrolyte to retain and how much to excrete in urine. This isn’t a passive process. It’s actively managed by hormones that respond to real-time changes in your blood.

The most important of these hormones is aldosterone, released by your adrenal glands. When blood pressure drops or potassium levels rise, a cascade begins: specialized cells in the kidneys detect the change and release an enzyme called renin, which sets off a chain of chemical conversions that ultimately produces a signaling molecule called angiotensin II. This molecule tells the adrenal glands to secrete aldosterone, which instructs the kidneys to reabsorb more sodium (raising blood pressure) while excreting more potassium. Antidiuretic hormone, released from the brain, handles the water side of the equation by telling the kidneys to hold onto more water when the blood becomes too concentrated.

These systems are why electrolyte levels stay remarkably stable under normal conditions, and why disruptions tend to come from things that overwhelm the kidneys’ ability to compensate: prolonged vomiting or diarrhea, heavy sweating, kidney disease, or certain medications that alter how the kidneys handle specific minerals.

Signs of Electrolyte Imbalance

Because electrolytes are involved in nerve and muscle function across the entire body, imbalances tend to produce a recognizable cluster of symptoms. Muscle cramps, twitching, weakness, and fatigue are common early signs regardless of which electrolyte is off. More severe imbalances can cause confusion, irregular heartbeat, numbness or tingling, and in extreme cases, seizures.

The symptoms overlap because the electrolytes themselves overlap in function. A potassium problem and a magnesium problem can look nearly identical. A calcium imbalance and a sodium imbalance can both cause confusion and muscle issues. This is why electrolyte problems are diagnosed through blood tests rather than symptoms alone. A basic metabolic panel measures sodium, potassium, chloride, bicarbonate, and calcium all at once, giving a snapshot of where the imbalance lies.