How The Body Keeps Blood pH Stable

Photo: MART PRODUCTION / Pexels
Human arterial blood normally sits between pH 7.35 and 7.45, with an average of about 7.40. That is a narrow window for a fluid that receives a constant stream of acid. Cells breathe out carbon dioxide all day, and every meal and every burned fat adds more. Three overlapping systems keep the window closed: chemical buffers that act in seconds, the lungs that adjust within minutes to hours, and the kidneys that finish the job over days. This article walks through each layer, shows the arithmetic that ties them together, and explains what happens when one fails.
Why blood pH has to stay this narrow
pH is a logarithmic measure of hydrogen ion concentration, so each whole-number drop means a tenfold rise in free hydrogen ions. At pH 7.4, the concentration works out to roughly 40 nanomoles per liter, a tiny number. A fall to pH 7.0 means about 2.5 times as many hydrogen ions (10 raised to the power of 0.4). Even a shift of 0.1 pH unit changes the hydrogen ion concentration by about 26 percent.
Why does the body care so much about so little? Because proteins are shape-dependent. Enzymes fold into three-dimensional structures held together partly by hydrogen bonds and by attractions between charged amino acid side chains. Hydrogen ions compete for those same charged sites. When their concentration drifts, the charge pattern on a protein surface changes, the shape bends, and catalytic function falls. StatPearls, a clinical reference from the National Library of Medicine, notes that pH outside the physiological range denatures proteins.
This is why acidosis (blood pH below 7.35) and alkalosis (above 7.45) are treated as serious clinical findings. Nerve conduction, muscle contraction, and the electrical rhythm of the heart all depend on proteins and ion channels sensitive to hydrogen ion concentration. Physiology texts commonly cite roughly 6.8 to 7.8 as the outer limit of what a human can survive, and even small excursions inside that range call for attention.
The terms are worth separating. Acidemia and alkalemia describe the pH of the blood itself. Acidosis and alkalosis describe the processes pushing it. A person can have an acidosis, for example, while the blood pH is still within the normal range because other systems are compensating, which is exactly what the rest of this article is about.
How much acid does the body produce?
Two kinds of acid arrive daily. Volatile acid is carbon dioxide, which combines with water to form carbonic acid and is breathed out. Fixed acid is everything else: sulfuric acid from the breakdown of sulfur-containing amino acids, phosphoric acid, and organic acids. Fixed acid cannot be exhaled and must leave through the urine.
The scale of the difference is striking. One physiology reference puts carbon dioxide production at about 13 to 20 moles per day, while the kidneys are responsible for excreting fixed acid at about 70 to 100 millimoles per day, roughly 1 millimole per kilogram of body weight (LITFL for carbon dioxide; Brandis, Acid-Base Physiology for fixed acid). Carbon dioxide therefore outnumbers fixed acid by more than a hundred to one. That is why the lungs are the largest single acid-handling organ in the body, even though most people never think of breathing as a chemical process. The chain of reactions that produces the carbon dioxide is covered in the Krebs cycle explained, where each turn of the cycle releases CO2.
Layer one: chemical buffers act within seconds
A buffer is a chemical pair that resists a change in pH by absorbing hydrogen ions when they are in excess and releasing them when they are scarce. Buffers respond at the speed of chemistry, which means almost instantly, wherever acid meets the buffer molecule. No nerve signal or organ is required. OpenStax's anatomy and physiology text lists three time scales for acid-base defenses: seconds for chemical buffers, minutes for the respiratory system, and hours to days for the kidneys.
Think of a buffer as a sponge sitting on a countertop where acid may spill. It can soak up a sudden splash almost immediately, but its capacity is limited. Once it is full, it cannot absorb more until someone wrings it out. In the body, the lungs and kidneys do the wringing.
The bicarbonate system and the equation that explains it
The most important extracellular buffer is bicarbonate. Carbon dioxide dissolved in blood combines with water to form carbonic acid, which dissociates into a hydrogen ion and a bicarbonate ion. Add acid, and bicarbonate soaks up the extra hydrogen ions. Remove acid, and the reaction runs the other way.
Its behavior is summarized by the Henderson-Hasselbalch equation. For this system, the pKa (the pH at which the buffer is half-dissociated) is 6.1, normal bicarbonate is 24 millimoles per liter, and dissolved carbon dioxide is 1.2 millimoles per liter (LITFL, Acid-Base Balance). That dissolved CO2 figure is the arterial partial pressure of carbon dioxide, about 40 mmHg, multiplied by a solubility factor of 0.03. Plugging in the numbers:
pH = 6.1 + log10 (24 ÷ 1.2) = 6.1 + log10 (20) = 6.1 + 1.30 = 7.40
The ratio of bicarbonate to dissolved carbon dioxide is 20 to 1 in normal blood, and OpenStax notes that this ratio is what makes the system especially effective against anything that makes blood more acidic. The equation also reveals the whole logic of the layered defense in one line. Blood pH depends on a ratio, and the lungs control the bottom of the fraction while the kidneys control the top.
| Scenario | Bicarbonate (mmol/L) | PaCO2 (mmHg) | Dissolved CO2 (mmol/L) | Ratio | Calculated pH |
|---|---|---|---|---|---|
| Normal | 24 | 40 | 1.2 | 20 | 7.40 |
| Hypoventilation, no compensation | 24 | 80 | 2.4 | 10 | 7.10 |
| Bicarbonate halved, no compensation | 12 | 40 | 1.2 | 10 | 7.10 |
| Same bicarbonate loss, lungs compensate | 12 | 26 | 0.78 | 15.4 | 7.29 |
The calculated values are arithmetic from the equation, not measured data. They show something important: doubling carbon dioxide and halving bicarbonate have the same effect on pH, because the ratio is what counts. And compensating by breathing off carbon dioxide does not restore normal pH in the last row, but it brings the blood from a dangerous 7.10 up toward 7.29.
Why a buffer with the wrong pKa still works
A chemist might object here. A buffer works best near its pKa, and the pKa of 6.1 is well below the blood's 7.4. On paper, bicarbonate should be a poor buffer for blood. It works because the body does not treat it as a closed beaker. The lungs continuously remove carbon dioxide, and the kidneys continuously regenerate bicarbonate. The bicarbonate buffer is an open system, with its two components under physiological control. That is the difference between a sponge that fills up and a sponge held under a tap that is draining.
Hemoglobin, proteins, and phosphate
Bicarbonate is the predominant buffer in extracellular fluid, but it is not the only one. OpenStax states that proteins provide two-thirds of the blood's buffering power and most of the buffering within cells. Hemoglobin is a major example, since it can bind hydrogen ions and carbon dioxide (StatPearls). The phosphate system matters more inside cells and in urine than in plasma, where its concentration is low.
Red blood cells also do the chemistry that turns carbon dioxide into bicarbonate. The enzyme carbonic anhydrase speeds the conversion of CO2 and water into carbonic acid, which dissociates into bicarbonate and hydrogen ions. According to OpenStax, about 70 percent of the CO2 carried in blood travels as bicarbonate, about 7 to 10 percent is dissolved in plasma, and about 20 percent is bound to hemoglobin. Bicarbonate leaves the red cell in exchange for chloride, a swap called the chloride shift that keeps electrical charge balanced. Hemoglobin that has released its oxygen binds hydrogen ions and carbon dioxide more readily, which is part of the Haldane effect, so blood returning from active tissue is better prepared to carry the acid load. The same arrangement is described from the lung side in how the lungs work.
Layer two: the lungs correct within minutes to hours
Because dissolved carbon dioxide is one half of the bicarbonate ratio, breathing is a pH control. Faster and deeper breathing removes carbon dioxide, which lowers the denominator of the fraction, and the pH rises. Slower or shallower breathing lets carbon dioxide build up, and pH falls.
The sensors are chemoreceptors. Peripheral chemoreceptors in the carotid and aortic arteries, together with receptors in the brain that respond to the pH of cerebrospinal fluid, monitor carbon dioxide and pH and drive the breathing centers in the brainstem. When blood turns acidic, breathing speeds up and deepens, often without any conscious effort. StatPearls states that the respiratory effect occurs in minutes to hours, which is slower than chemical buffering but much faster than the kidneys.
How do the lungs adjust blood pH so quickly?
Chemoreceptors detect rising carbon dioxide or falling pH and signal the brainstem to raise ventilation. More air moves through the lungs, more carbon dioxide leaves, and the bicarbonate ratio recovers. The correction begins with the next breath and continues over minutes to hours, depending on how far the pH has strayed.
The lungs are a bridge, not a cure
The respiratory response has a ceiling. A person can only breathe so fast, and the muscles of breathing tire. It is also an incomplete fix, because it adjusts carbon dioxide without removing the fixed acid that caused the problem. The lungs buy time while the kidneys work. The way the breathing rhythm interacts with the heart is another example of the body leaning on respiration, as described in why your heart rate changes with breathing.
Layer three: the kidneys correct over hours to days
The kidneys are the only organ that removes net fixed acid from the body, and the only one that makes new bicarbonate. They do it with a layered process of their own, and it is slow. StatPearls describes renal compensation as taking days rather than minutes or hours.
Reclaiming the bicarbonate that was filtered
The kidneys filter enormous amounts of bicarbonate. One physiology text calculates about 4,320 millimoles per day, from a filtration rate of 180 liters per day multiplied by 24 millimoles per liter, and nearly all of it must be reclaimed or the body would lose its buffer in hours. About 85 to 90 percent of the filtered bicarbonate is reabsorbed in the proximal tubule, with smaller amounts handled in the thick ascending limb and distal tubule (Brandis). The mechanism uses the same carbonic anhydrase chemistry as red blood cells. Sodium enters tubule cells in exchange for hydrogen ions, and hydrogen ions secreted into the filtrate combine with filtered bicarbonate. The cells generate new bicarbonate that returns to the blood.
Excreting the fixed acid
Reclaiming bicarbonate only prevents loss. To remove the 70 to 100 millimoles of fixed acid made each day, the kidney must add new bicarbonate to the blood while sending hydrogen ions out in the urine. Two mechanisms carry the hydrogen. Phosphate in the filtrate captures hydrogen ions, which is called titratable acidity. The amount is limited because the amount of phosphate available is limited by what was filtered. The second mechanism is ammonium, which the kidney can produce in larger and adjustable amounts. In a chronic metabolic acidosis, ammonium excretion can rise to about 300 millimoles per day, and it takes several days to reach its maximum after an acid load (Brandis). Urine pH can fall to about 4.4 before active hydrogen ion transport stops.
Notice what that means. The kidneys respond to acid by changing how much ammonium they make, a biochemical adjustment that takes days to build. That is why a stable correction of an acid load is slow, and why you can think of the kidneys as a heavy cargo ship that takes a long time to turn but carries almost any load.
The kidney's control of the body's salt and water balance, which shares many of the same tubule cells, is described in how kidneys balance salt and water, and the full organ is covered in how the kidneys work.
Comparing the three layers
Each layer trades speed for capacity. The table summarizes how they differ.
| System | Response time | Main mechanism | Capacity | Removes net acid from the body? |
|---|---|---|---|---|
| Chemical buffers (bicarbonate, proteins, hemoglobin, phosphate) | Seconds | Bind or release hydrogen ions | Limited by buffer amount | No, only redistributes it |
| Lungs | Minutes to hours | Change CO2 exhaled through breathing rate and depth | Moderate, limited by how fast one can breathe | Removes volatile acid (CO2) only |
| Kidneys | Hours to days | Excrete hydrogen ions as ammonium and titratable acid, regenerate bicarbonate | Largest | Yes, removes fixed acid |
The three systems form a relay: buffers absorb the first shock, the lungs manage the next hours, and the kidneys deliver the lasting fix.
When the layers meet disease
Clinicians sort acid-base disorders into four primary types, based on whether the process starts in the metabolic or respiratory side and whether it pushes the pH down or up. The second system then compensates.
| Primary disorder | What starts it | Typical compensation |
|---|---|---|
| Metabolic acidosis | Acid gain or bicarbonate loss | Lungs lower PaCO2 by breathing faster and deeper |
| Respiratory acidosis | Carbon dioxide retention from underventilation | Kidneys retain bicarbonate over days |
| Metabolic alkalosis | Acid loss or bicarbonate gain | Lungs breathe slower, raising PaCO2 |
| Respiratory alkalosis | Overbreathing that blows off CO2 | Kidneys excrete bicarbonate over days |
Compensation follows approximate rules that clinicians use to check whether a second problem is hiding. In metabolic acidosis, the expected PaCO2 is 1.5 times the bicarbonate plus 8, plus or minus 2 mmHg, known as Winter's formula (WikEM). In acute respiratory acidosis, bicarbonate rises by about 1 mEq/L for every 10 mmHg increase in carbon dioxide, and in chronic respiratory acidosis by about 4 mEq/L per 10 mmHg (StatPearls). For respiratory alkalosis, bicarbonate falls by about 2 mEq/L per 10 mmHg drop in PaCO2 acutely and by about 4 to 5 mEq/L chronically (StatPearls). The point is not that you should memorize them. It is that compensation is predictable enough that a measured value outside the expected range tells a doctor that two processes are present.
Diabetic ketoacidosis: the lungs run flat out
In diabetic ketoacidosis (DKA), too little insulin signaling forces the liver to turn fat into ketones, which are acidic, and the blood turns acidic. The U.S. National Library of Medicine's MedlinePlus lists deep, rapid breathing among the symptoms and calls DKA a medical emergency. That breathing is the compensation at work, the lungs blowing off carbon dioxide to hold the pH up while the underlying problem gets fixed. Clinicians call the deep, labored pattern Kussmaul respiration. The mechanism of how the body switches from sugar to fat is described in how the body stores and releases glucose.
Lung disease: when the fast layer is the broken layer
If the lungs are the problem, the pH shifts the other way. MedlinePlus describes respiratory acidosis as a state in which the lungs cannot remove all of the carbon dioxide the body produces. Causes include airway diseases such as asthma and chronic obstructive pulmonary disease, nerve and muscle diseases that affect breathing, severe obesity, obstructive sleep apnea, and breathing-suppressing medicines such as opioids. In the acute form, carbon dioxide rises before the kidneys can respond. In the chronic form, the kidneys retain bicarbonate over days, so the pH may be near normal while carbon dioxide stays high. That is why doctors look at the whole picture, not the pH alone.
Vomiting, diarrhea, and diuretics
The same logic applies to the gut. Heavy vomiting removes stomach acid and can cause a metabolic alkalosis. Severe diarrhea removes bicarbonate-rich fluid and can cause a non-gap metabolic acidosis, which MedlinePlus attributes to loss of sodium bicarbonate. Some diuretics increase urinary loss of chloride and hydrogen, raising bicarbonate. In each case, a change in what the gut or the kidney loses becomes a pH problem.
Altitude: a real-world experiment
High altitude is a natural test of the whole system. Lower oxygen drives hyperventilation, which lowers carbon dioxide and pushes the blood toward alkalosis. The kidneys respond by excreting bicarbonate.
A study in the Journal of Applied Physiology measured 16 lowlanders who rose rapidly from 1,045 meters to 3,800 meters. Arterial carbon dioxide fell from 38.4 mmHg at baseline to 34.3 mmHg on day two and 30.5 mmHg on day nine. Arterial bicarbonate fell from 24.4 to 22.5 to 19.8 mmol/L over the same days. The result was that arterial pH stayed close to normal: 7.412 at baseline, 7.424 on day two, and 7.420 on day nine (Bird et al., 2021). The authors concluded that renal compensation was largely in place within about 24 hours, although with only three time points the study could not resolve exactly how fast. Individual responses varied, so these are group averages and not a promise for any one climber.
Chronic kidney disease: the slow layer is the broken layer
When the kidneys cannot excrete hydrogen ions or regenerate bicarbonate efficiently, a metabolic acidosis can persist because the faster layers can only blunt it. MedlinePlus lists kidney-related acidosis, including uremia and renal tubular acidosis, among the types of metabolic acidosis. The lungs may hold the pH closer to normal for a time by lowering carbon dioxide, but they do so by working harder and they cannot remove the fixed acid.
Exercise and lactic acid
Heavy exercise adds acid too. MedlinePlus lists prolonged intense exercise among the causes of lactic acidosis, which forms when the body breaks down carbohydrates for energy under low-oxygen conditions. For most healthy people this is a transient shift, handled by buffers and breathing, and it is part of why you pant after a sprint. The panting is the lungs removing the carbon dioxide that is part of the acid load.
How doctors read the signals
A blood gas test measures pH, carbon dioxide, and bicarbonate together, and the combination reveals which layer is driving the disturbance. StatPearls gives normal arterial values as pH 7.35 to 7.45, PaCO2 35 to 45 mmHg, and bicarbonate 22 to 26 mEq/L. MedlinePlus notes that arterial or venous blood gas analysis can help diagnose acidosis and show whether the cause is respiratory or metabolic.
When a metabolic acidosis is found, a second calculation helps narrow the cause. The anion gap compares measured positive and negative charges in the blood. WikEM lists a gap of 12 or higher as elevated, and its mnemonic for elevated-gap causes is MUDPILES: methanol, uremia, DKA, propylene glycol, isoniazid or iron, lactic acidosis, ethylene glycol, and salicylates. Acidosis with a normal gap points toward bicarbonate loss, for instance from diarrhea, or to kidney causes. That sorting is possible only because the layers behave in a predictable way.
What people get wrong about blood pH
"Food and drinks change your blood pH." In a healthy person, the three layers hold blood pH inside the narrow window whatever is eaten. Diet can change the acidity of urine, which can fall as low as about 4.4, but that is the kidney doing its job of removing acid. The urine is where the adjustment shows up, not the blood.
"A pH of 7.4 is neutral." It is slightly alkaline compared with a neutral solution, and tiny deviations matter far more than the numbers suggest because the scale is logarithmic.
"The bicarbonate buffer is a poor one because of its pKa." As shown above, it is excellent because it is an open system, with lungs and kidneys controlling its two components.
"Acidosis means the blood is acidic." Blood with a pH of 7.3 is still on the basic side of 7.0. The word means the pH is below the normal range, not that the blood has become an acid in the chemistry classroom sense.
"Hyperventilating to relax is harmless." Overbreathing blows off carbon dioxide and raises blood pH. StatPearls lists anxiety, pain, and fear among the causes of respiratory alkalosis, and dizziness, anxiety, chest pain, and tingling among its symptoms. That is a description of what the physiology does, not advice on what to do about it.
Why this system matters beyond the numbers
The structure of the layered defense recurs across physiology. A fast, small-capacity response is paired with a slow, large-capacity one, so the body is never left without active correction while the durable fix is under way. Temperature control pairs shivering and sweating with slower hormonal adjustment, as in how sweat cools the body. Fluid balance pairs thirst with kidney adjustment, as in how your body knows it is thirsty.
The same chemistry appears on a planetary scale. When the ocean absorbs carbon dioxide, it forms carbonic acid, and seawater pH drops by the same reaction that acidifies blood. The oceans have no kidney, though, and no lungs to relieve the load, which is part of why ocean acidification is a one-way pressure, as discussed in ocean acidification explained. For readers who want the chemistry of the pH scale itself, the history is in acid-base chemistry and the pH scale, and the blood that carries all of this is described in how blood works.
Frequently Asked Questions
Q: What is the normal pH range of human blood? A: Arterial blood pH normally ranges from 7.35 to 7.45, averaging about 7.40. Below 7.35 is acidemia and above 7.45 is alkalemia, and both indicate that something is overwhelming the body's regulation.
Q: Which system corrects blood pH the fastest? A: Chemical buffers, mainly the bicarbonate system, act within seconds. The lungs follow within minutes to hours by changing how much carbon dioxide is exhaled, and the kidneys take days to complete the correction.
Q: How do the lungs help control blood pH? A: Dissolved carbon dioxide forms carbonic acid, so exhaling more of it through faster, deeper breathing raises pH, and breathing less lowers it. Chemoreceptors in the brain and in the carotid and aortic arteries sense carbon dioxide and pH and adjust breathing automatically.
Q: What do the kidneys do for acid-base balance? A: They reclaim filtered bicarbonate, excrete fixed acid as ammonium and phosphate-bound hydrogen ions, and generate new bicarbonate. It is the slowest layer, but the only one that removes net fixed acid from the body.
Q: Why does diabetic ketoacidosis cause deep, rapid breathing? A: Ketones are acids, so the blood turns acidic, and the lungs compensate by breathing off carbon dioxide. MedlinePlus lists deep, rapid breathing among the symptoms and states that DKA is a medical emergency requiring prompt care.
Q: Can altitude change blood pH? A: Yes. Low oxygen drives hyperventilation, which lowers carbon dioxide and pushes pH toward alkalosis. In a study at 3,800 meters, arterial bicarbonate fell and arterial pH stayed near normal as the kidneys compensated.
Q: Does what I eat change my blood pH? A: In healthy people, no meaningful change occurs, because the buffers, lungs, and kidneys hold blood pH within its narrow range. Diet can change urine pH, which is where the kidney's acid removal shows up. Anyone with symptoms or a kidney or lung condition should talk with a clinician.
The takeaway
Blood pH is the ratio of two things the body controls separately: bicarbonate, which the kidneys regulate over days, and carbon dioxide, which the lungs regulate within minutes. Buffers hold the line in between. That design explains why a lung problem produces a different pattern than a kidney problem, why diabetic ketoacidosis produces deep breathing, why climbers at altitude end up with low bicarbonate and normal pH, and why a blood gas result is read as a pattern of three numbers rather than a single pH value.
Read next:
- How your body knows it is thirsty
- Why your heart rate changes with breathing
- How sweat cools the body
- How the spleen filters blood
Sources
- StatPearls, Physiology, Acid Base Balance (NCBI Bookshelf): normal arterial values, buffer systems, timing of compensation.
- StatPearls, Respiratory Acidosis and StatPearls, Alkalosis: definitions, causes, compensation rules.
- OpenStax Anatomy and Physiology 2e, Acid-Base Balance and Transport of Gases: buffer time scales, CO2 transport fractions.
- Brandis, Acid-Base Physiology, Renal Regulation of Acid-Base Balance (LibreTexts) and LITFL, Acid-Base Balance: daily acid production, bicarbonate handling, pKa.
- WikEM, Metabolic acidosis: Winter's formula and anion gap.
- MedlinePlus, Metabolic acidosis, Respiratory acidosis, Acidosis, and Diabetic ketoacidosis.
- Bird et al., Journal of Applied Physiology 2021;130(6):1705-1715: acid-base acclimatization at 3,800 m.
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles




How the Body Regulates Temperature: The Hypothalamic Thermostat, Sweating, Shivering, and Fever
The human body maintains core temperature within a range of less than 1°C (1.8°F) despite external temperatures swinging 60°C or more across seasons, and despite internal heat generation that — in hard exercise — rises to 20 times the resting rate. This precision requires a thermostat, an active cooling system, an emergency heating system, and dedicated fat that burns itself to generate warmth. None of it is conscious. Here is how thermoregulation actually works.

How the Kidneys Work: Filtration, the Nephron, and Blood Pressure Control
Your kidneys filter your entire blood supply roughly 40 times every day — about 180 liters of fluid — and return 99% of it to the bloodstream while excreting only 1 to 2 liters as urine. The precision of that selective reclamation process is what keeps you alive.
Best AI Workout Planners With Calendar Logging (2026)
Best AI workout planners with calendar logging (2026): MyWorkoutCalendar, Fitbod, Hevy, Strong, JEFIT, and Freeletics compared on free access and limits.