Anion Gap in CKD
Chronic kidney disease is one of the most reliable causes of a gradually rising anion gap. As GFR falls, the kidney can no longer excrete the daily acid load and unmeasured anions accumulate — a process called uremic acidosis that becomes clinically visible well before end-stage renal disease.
The kidney as the anion gap's gatekeeper
The healthy kidney maintains the anion gap within the reference interval by excreting the daily acid load — roughly 1 mEq/kg/day of hydrogen ion, generated from protein metabolism — primarily as titratable acid (phosphate) and ammonium (NH₄⁺). Two things go wrong as GFR declines. First, ammonium generation and excretion fall, so acid is retained. Second, glomerular filtration of phosphate, sulfate, and a host of small organic anions drops, so these "unmeasured anions" accumulate in plasma. The combined effect is a slow, progressive widening of the anion gap that tracks the loss of renal function.
This is the biochemical basis of uremic acidosis, the high anion gap metabolic acidosis of advanced CKD, explored in detail in the broader renal failure acidosis guide. The acid load is real, but the rise in the gap is modest in early disease and only becomes marked as the patient approaches end-stage renal disease (ESRD).
How the anion gap rises with falling GFR
In stage 1–3 CKD the anion gap is usually normal or only slightly elevated. The kidney preserves bicarbonate reasonably well and the acid load, while accumulating, is buffered by bone and intracellular buffers. A high anion gap is not yet the expected finding, so an elevated gap at this stage should prompt a search for a superimposed cause — lactic acidosis, ketoacidosis, or toxin — rather than being attributed to CKD alone.
As CKD progresses to stages 4–5 the picture changes. The gap climbs into the high-teens or low-twenties, bicarbonate falls into the high-teens, and a chronic, well-compensated metabolic acidosis becomes the norm. In dialysis-dependent ESRD, a pre-dialysis anion gap of 17–25 mEq/L is typical; immediately after a haemodialysis session the gap falls sharply as the dialyser clears phosphate, sulfate, and organic anions, then climbs again over the inter-dialytic interval. Many nephrologists trend the pre-dialysis gap as a marker of uremic toxin burden and dialysis adequacy.
| CKD stage | GFR (mL/min/1.73 m²) | Typical anion gap |
|---|---|---|
| 1–2 (normal / mildly reduced) | ≥ 60 | Normal (8–12 mEq/L) |
| 3 (moderately reduced) | 30–59 | Normal to borderline high |
| 4 (severely reduced) | 15–29 | Mildly elevated (12–16 mEq/L) |
| 5 / ESRD (kidney failure) | < 15 | Markedly elevated (17–25 mEq/L) |
Reference intervals for each of these electrolytes, with units and method-specific variation, are tabulated in the normal ranges reference.
High-AG without overt acidosis in early CKD
An important subtlety: in mild-to-moderate CKD the anion gap can be slightly elevated while the serum bicarbonate is still in the normal range and the patient is not clinically acidotic. This happens because bone mineral and intracellular buffers temporarily absorb the retained acid, so plasma bicarbonate has not yet fallen even though unmeasured anions are already accumulating. The gap "leads" the bicarbonate by months to years.
This is one reason the anion gap is a more sensitive early marker of CKD-related acid retention than the bicarbonate alone. A patient with stage 3 CKD whose gap has crept from 10 to 14 mEq/L over two years, with a normal bicarbonate, is on a trajectory toward overt metabolic acidosis — and may benefit from bicarbonate supplementation to slow bone buffering and delay the decline in kidney function, an effect supported by randomised trial evidence (de Brito-Ashurst et al., Kidney International; Kraut & Madias, CJASN).
Nephrotic-range proteinuria and chronic inflammation make hypoalbuminemia common in CKD, which lowers the measured gap and can mask early uremic acid retention. Apply the albumin correction (AG + 2.5 × (4.0 − albumin)) before deciding the gap is normal. Use the anion gap calculator to do this automatically.
The role of dialysis
Haemodialysis and peritoneal dialysis correct uremic acidosis by three mechanisms: they clear the accumulated unmeasured anions (phosphate, sulfate, organic acids) across the dialyser membrane, they supply bicarbonate or a bicarbonate-equivalent buffer (lactate in peritoneal dialysate) to replace the consumed buffer, and they remove the volume and solute load that drives acid generation. The pre- to post-dialysis fall in the anion gap is one of the cleanest demonstrations of the gap's dependence on renal clearance.
When a dialysis patient presents with an anion gap far above their baseline — say 30 mEq/L in a patient who normally runs 20 — the cause is almost never uremia alone. Think lactic acidosis from sepsis or hypoperfusion, DKA, or a toxin. Uremic acidosis raises the gap to a predictable ceiling; a gap above that ceiling means something new is happening.