The kidneys regulate acid-base balance through reabsorption of filtered bicarbonate (proximal tubule), secretion of hydrogen ions (distal tubule and collecting duct), and excretion of non-volatile acids, with the distal segments as primary fine-tuning sites. Chronic respiratory acidosis or alkalosis triggers renal compensatory responses over days to restore pH toward normal.
Your understanding of buffer solutions tells you that pH stability depends on having a reservoir of weak acid and its conjugate base to absorb excess H⁺ or OH⁻. In the body, the dominant extracellular buffer is the bicarbonate buffer system: CO₂ + H₂O ⇌ H₂CO₃ ⇌ H⁺ + HCO₃⁻. The lungs regulate the CO₂ side of this equation within minutes by adjusting ventilation, but the kidneys control the bicarbonate side — and this is what gives the body its long-term acid-base stability. Without renal regulation, the bicarbonate reservoir would be steadily depleted by the ~70 mEq of non-volatile acid the body produces daily from protein metabolism and other sources.
The kidneys defend pH through three coordinated mechanisms. First, the proximal tubule reclaims filtered bicarbonate — roughly 4,300 mEq per day — by secreting H⁺ into the tubular lumen, where it combines with filtered HCO₃⁻ to form CO₂ and water. The CO₂ diffuses back into the cell, is reconverted to HCO₃⁻ by carbonic anhydrase, and is returned to the blood. This is not net acid excretion; it is bicarbonate recovery. Think of it as the kidney catching the bicarbonate before it escapes in the urine, preserving the buffer reservoir you already have.
The actual fine-tuning of acid-base balance happens in the distal tubule and collecting duct, where intercalated cells secrete H⁺ via H⁺-ATPase pumps. This secreted hydrogen is buffered in the tubular fluid by two urinary buffers: filtered phosphate (HPO₄²⁻ + H⁺ → H₂PO₄⁻, called titratable acid) and ammonia synthesized by proximal tubule cells from glutamine (NH₃ + H⁺ → NH₄⁺). Each hydrogen ion trapped in the urine by these buffers represents one new bicarbonate molecule generated and returned to the blood. This is how the kidney actually replenishes bicarbonate consumed by metabolic acid production.
The power of renal compensation becomes clear in chronic respiratory disorders. If the lungs cannot adequately eliminate CO₂ — say, in chronic obstructive pulmonary disease — arterial PCO₂ rises, pushing the buffer equation toward more H⁺ and driving pH down. The kidneys respond over 3–5 days by increasing H⁺ secretion and ammoniagenesis, generating new bicarbonate to raise the [HCO₃⁻]/[CO₂] ratio back toward normal. The pH improves but does not fully normalize — this is compensation, not correction. Conversely, in chronic respiratory alkalosis (sustained hyperventilation lowering PCO₂), the kidneys reduce bicarbonate reabsorption, allowing HCO₃⁻ to spill into the urine and lowering plasma bicarbonate to match the reduced CO₂. The clinical pattern — whether pH, PCO₂, and HCO₃⁻ move in the same or opposite directions — tells you whether you are looking at a primary respiratory or metabolic disturbance and whether compensation has occurred.