Magnesium is excreted mainly by the kidneys, which filter magnesium freely at the glomerulus and then reabsorb about 95 percent of it along the nephron, so that only roughly 100 mg leaves the body in urine each day. The colon adds a smaller variable amount, and sweat contributes a minor loss. Excretion is therefore less a drain than a tightly throttled valve: urinary magnesium reflects what the kidney chooses not to reclaim.

The Kidney’s Three-Part Magnesium Assembly Line

Renal magnesium handling has three stages: filtration, reabsorption, and regulated spillover. Each stage has different physics, so the body can tune excretion without changing how much magnesium arrives.

Filtration is passive. The glomerulus filters plasma water and small solutes, and magnesium passes through because about 55 to 70 percent of blood magnesium is free or loosely bound, while the rest rides on albumin. Protein-bound magnesium stays in the blood. That single fact explains a useful clinical rule: conditions that change albumin also change total serum magnesium without necessarily changing the biologically active fraction.

Reabsorption is where the kidney spends energy and structure. The proximal tubule reclaims roughly 10 to 15 percent of filtered magnesium, the thick ascending limb of the loop of Henle reclaims about 65 to 70 percent, and the distal convoluted tubule reclaims most of the remainder. The loop is the dominant gate. Its cells pump sodium, potassium, and chloride across the membrane, and that electrical work creates a positive voltage in the tubular lumen. Magnesium, being a cation, is driven across the cell by that voltage. When the voltage fails, magnesium escapes.

The distal tubule performs the fine adjustment. There, magnesium enters through channels that open when luminal magnesium is low and close when it is high, a negative-feedback design. Hormones and acid-base status tune the channels. The result is that urinary magnesium is not a simple mirror of intake; it is a regulated output shaped by the loop and the distal segment.

A second route handles any magnesium that escapes renal reclaim. The colon absorbs dietary magnesium and also secretes a small amount, and it can excrete unabsorbed magnesium from supplements or laxatives. That colonic route matters clinically because magnesium salts that are poorly absorbed pull water into the bowel and are eliminated in stool. Sweat contains magnesium at low concentration, and losses rise with heavy sweating, but sweat is a minor channel in most people.

Quantified Context: How Much Moves Where

Normal urine magnesium output is approximately 6 to 10 mEq per day, which corresponds to about 70 to 120 mg per day. That figure is the visible end of a much larger pipeline.

The kidneys filter roughly 2,000 to 2,400 mg of magnesium daily. Reabsorption reclaims about 95 percent of that load, so urinary excretion is a small fraction of filtered magnesium. When serum magnesium rises, the distal tubule reduces reabsorption and urine output climbs. When serum magnesium falls and the body is magnesium-depleted, the kidney can lower urinary excretion to conserve the mineral, but there is a floor: obligate losses of roughly 24 to 48 mg per day persist even in depletion.

The kidney sets the serum magnesium range at about 1.7 to 2.2 mg/dL, and that range is narrow for a reason. Magnesium is the second most abundant intracellular cation, and the serum pool is small. Most body magnesium sits in bone and inside cells, so serum magnesium is a surface reading, not a full inventory. A normal serum value does not exclude tissue depletion.

There is a counterintuitive detail here that many thin explainers omit: the kidney can be told to waste magnesium even when total-body stores are low. Loop and thiazide diuretics increase urinary magnesium loss by disrupting the same reabsorptive machinery that normally conserves it. That is why some people on long-term diuretics develop low serum magnesium despite adequate intake.

Another professional caveat: most clinical magnesium measurements rely on total serum magnesium, not ionized magnesium. Since a meaningful fraction is protein-bound, total values can mislead in patients with low albumin or with acid-base disturbances. The kidney’s handling is fine-grained, but the routine lab test is coarse.

Timeline Table: What Happens to a Magnesium Dose

The timing of renal excretion helps explain why single-dose and steady-state behavior differ.

Time window after intake What the body does Urinary magnesium pattern
0 to 2 hours Absorption begins in the small intestine; serum magnesium starts to rise Little immediate change; filtration is passive
2 to 4 hours Serum magnesium peaks with a typical oral dose; kidney begins to filter more Modest increase in filtered load begins
4 to 6 hours Distal tubule senses higher luminal magnesium and reduces reabsorption Urinary magnesium climbs toward peak output
6 to 12 hours Serum magnesium returns toward baseline; excess filtered magnesium is cleared High urinary output tapers
12 to 24 hours Steady-state handling resumes; bone and cell buffering contribute Output approaches the individual baseline
Days to weeks Kidney adapts reabsorption to habitual intake; depletion can lower output Sustained low output with low intake, up to obligate floor

The timeline matters for interpretation. A single 24-hour urine collection reflects a day of intake, not a lifetime of stores, and it can miss episodic losses. For steady-state questions, repeated measures or a fractionated collection may be more informative.

Edge Cases: When Excretion Goes Wrong

Several conditions redirect magnesium excretion in ways that outrank generic advice.

Renal magnesium wasting occurs when the kidney fails to reclaim magnesium despite low serum levels. Causes include inherited channel defects, certain drugs, and tubular injury. The giveaway is inappropriately high urinary magnesium in the face of low serum magnesium.

Loop and thiazide diuretics increase urinary magnesium loss, and the effect scales with dose and duration. Proton pump inhibitors are associated with reduced intestinal absorption and lower magnesium status over long periods, though the mechanism is not a simple renal leak. Alcohol use increases urinary magnesium excretion and reduces intake, a double hit. Poorly controlled diabetes causes osmotic diuresis, which carries magnesium out with glucose and water. Hypercalcemia and hyperthyroidism also increase urinary magnesium losses.

Chronic kidney disease flips the problem. Filtration falls, so magnesium clearance falls, and serum magnesium can rise, especially with magnesium-containing laxatives or antacids. That is why magnesium-based bowel preparations and some magnesium-containing supplements warrant caution in advanced kidney disease.

Unabsorbed magnesium salts create a colonic exit. Magnesium oxide and magnesium citrate draw water into the bowel; this is the basis for their laxative action and for the stool route of excretion. The amount that leaves by stool depends on dose, formulation, and bowel transit, so it varies widely.

Comparison Table: Excretion Routes and Inputs

Route or input Magnitude or effect What shifts it
Glomerular filtration Filters about 2,000 to 2,400 mg daily Plasma concentration, albumin binding
Loop of Henle reabsorption Reclaims about 65 to 70 percent of filtered load Loop diuretics, sodium delivery, voltage
Distal tubule reabsorption Fine-tunes final urine output Luminal magnesium, hormones, acid-base status
Urinary excretion About 70 to 120 mg daily Intake, diuretics, renal wasting, depletion
Stool excretion Variable; rises with poorly absorbed salts Laxative dose, formulation, transit time
Sweat Minor in most people; rises with heavy sweat Heat, exertion, individual variation

This table reconciles the common confusion about "excretion" as one number. The kidney dominates, but the colon and sweat are real routes. The kidney’s contribution is not just filtered volume; it is the difference between filtered and reclaimed magnesium.

Misconceptions That Distort the Picture

The first misconception is that urine magnesium equals intake. It does not. The kidney reabsorbs most filtered magnesium and adjusts output, so a low intake does not produce proportionally low urine output until conservation limits are reached. Conversely, a high intake raises output, but the distal tubule damps the change.

The second is that a normal serum magnesium rules out deficiency. Because most magnesium is intracellular and in bone, serum values can stay normal while stores fall. The kidney can also defend serum magnesium by reducing excretion, which is why serum magnesium can look normal in early depletion. This is a professional caveat worth repeating: serum magnesium is a snapshot of a small compartment.

The third is that all magnesium supplements affect excretion the same way. Poorly absorbed salts add a stool route; highly bioavailable forms raise serum and filtered load, which the kidney then clears. The route and the form both matter.

The fourth is that sweat is a major magnesium exit. Sweat magnesium is low, and although losses increase with heat and exertion, sweat is usually a minor channel compared with urine and stool.

Practical Actions and Thresholds

If the goal is to interpret magnesium excretion rather than diagnose a patient, these steps produce cleaner information:

Use a 24-hour urine collection when assessing urinary magnesium output, since spot values vary with hydration and time of day. Pair urine magnesium with serum magnesium and albumin, because protein binding affects the filtered fraction and total serum values can mislead. Review the medication list for loop and thiazide diuretics, proton pump inhibitors, and magnesium-containing laxatives before attributing a low value to diet. Treat a low serum magnesium with inappropriately high urinary magnesium as a signal of renal wasting, not simply poor intake. In advanced kidney disease, avoid magnesium-based laxatives and bowel preparations without clinical guidance, because reduced clearance can cause serum magnesium to rise. Remember the obligate floor: even with depletion, the kidney loses roughly 24 to 48 mg daily, so conservation is finite.

Thresholds for interpretation should be stated with their context. A serum magnesium below about 1.7 mg/dL is commonly used as the lower reference limit, but reference ranges vary by laboratory. Urinary magnesium cutoffs for defining renal wasting depend on the collection method and the clinical question, so a single universal number is not reliable. The fraction of filtered magnesium excreted, rather than a raw urine value, is the more mechanistically sound comparison when both serum and urine data are available.

Limits of What Excretion Testing Can Tell You

Urinary magnesium reflects the kidney’s handling over the collection period. It does not measure total-body magnesium, and it cannot distinguish low intake from renal wasting without paired serum values. The colon route is not captured by urine testing at all, so a person with high stool losses from laxative use can have unremarkable urinary magnesium while losing magnesium overall.

Assays also vary. Total serum magnesium is the routine measurement, and ionized magnesium testing is less available. That gap means some abnormalities in the biologically active fraction are invisible to standard testing. The best conclusion from a single 24-hour urine magnesium is a statement about renal output on that day, not a verdict on the body’s magnesium economy.

What the mechanism does establish is a clear hierarchy: the kidney filters a large magnesium load, reclaims nearly all of it through the loop and distal tubule, and excretes a small regulated remainder in urine, with stool and sweat as secondary routes. Understanding that hierarchy prevents the common error of treating urinary magnesium as a direct readout of intake, and it explains why diuretics, kidney disease, and gut-level losses can each move magnesium balance in different directions.