What Occurs at the Alveoli During Gas Exchange?

At the alveoli, oxygen from inhaled air passes through an extraordinarily thin tissue barrier into the blood, while carbon dioxide moves in the opposite direction, out of the blood and into the air you are about to exhale. This two-way swap happens entirely by passive diffusion, driven by differences in gas concentration on either side of the barrier. The process is fast, continuous, and depends on a set of structural features that make the alveoli remarkably well suited to the job, though not invulnerable to disease or environmental challenge.

The Barrier Gases Must Cross

The wall separating air from blood at each alveolus is among the thinnest tissues in the body, typically less than a micrometer across in its thinnest regions. This barrier has three layers: the epithelial cell lining the air side of the alveolus, a shared basement membrane in the middle, and the endothelial cell lining the capillary on the blood side. Gases dissolve through all three layers, one molecule at a time, without any active pumping or energy expenditure by the cell.

Being this thin creates an engineering problem. Blood pressure inside the pulmonary capillaries pushes outward, and a tissue wall that thin could easily rupture. The barrier’s strength comes largely from type IV collagen woven into the basement membrane, which provides tensile reinforcement while keeping the wall thin enough for efficient diffusion.1Europe PMC. Comparative physiology of the pulmonary blood-gas barrier: the unique avian solution The lung has to balance two competing demands at once: make the barrier as thin as possible for gas transfer, and keep it strong enough to survive the mechanical stress of blood flow.

The total surface area of all alveoli combined is enormous for an organ that fits inside the chest, roughly the size of a tennis court in a healthy adult. That area matters because the more membrane available for gas exchange, the more oxygen can cross per second. Diseases that destroy alveolar walls or fill alveoli with fluid directly shrink this surface and impair the exchange.

What Drives Gases Across

No cellular machinery pushes oxygen into the blood or pulls carbon dioxide out. The movement is entirely passive, governed by the simple principle that gas molecules drift from where they are more concentrated to where they are less concentrated. In physiology, this concentration difference is described using partial pressures. Inhaled air arriving at the alveoli has a relatively high oxygen partial pressure and a low carbon dioxide partial pressure. Venous blood arriving in the surrounding capillaries has the reverse: it is oxygen-depleted and carbon dioxide-rich after circulating through tissues that consumed oxygen and produced carbon dioxide as waste.

Because of this mismatch, oxygen diffuses from the alveolar air into the blood, and carbon dioxide diffuses from the blood into the alveolar air. The steeper the difference in partial pressure, the faster each gas moves. Once equilibrium is nearly reached, and the gas concentrations on both sides are close to matching, diffusion slows. In a healthy lung at rest, equilibrium for oxygen is reached well before the blood finishes passing by the alveolus, meaning there is a comfortable margin of reserve.

Carbon dioxide crosses the barrier much more readily than oxygen does, roughly twenty times faster for a given pressure difference, because it dissolves more easily in the watery tissue of the barrier. This is why carbon dioxide removal rarely becomes the bottleneck in lung disease. Even when oxygen transfer is badly impaired, the lungs can usually still clear carbon dioxide until the disease is very advanced.

How Oxygen Binds to Hemoglobin

Oxygen does not simply float around dissolved in the liquid portion of blood. Most of it hitches a ride on hemoglobin, the protein packed inside red blood cells. Each hemoglobin molecule has four binding sites for oxygen. What makes the system efficient is a cooperative effect: once the first oxygen molecule binds, it becomes progressively easier for the second, third, and fourth molecules to latch on.2Breathe. Relating oxygen partial pressure, saturation and content: the haemoglobin–oxygen dissociation curve This cooperative binding produces the characteristic S-shaped curve that describes the relationship between oxygen levels and hemoglobin saturation.

The practical consequence is that hemoglobin loads up with oxygen very quickly in the oxygen-rich environment of the alveolar capillaries. At the high partial pressures found there, hemoglobin approaches full saturation rapidly. Then, when those red blood cells reach oxygen-hungry tissues elsewhere in the body, the partial pressure is much lower. On the steep part of the S-shaped curve, even a small drop in local oxygen triggers hemoglobin to release a large amount of oxygen exactly where it is needed. The system works like a sponge that absorbs eagerly in one environment and wrings itself out in another.

Several factors shift this curve. Higher temperature, lower pH (more acidic conditions), and higher carbon dioxide levels all make hemoglobin release oxygen more easily. Working muscles, for instance, are warmer, more acidic, and produce more carbon dioxide than resting tissues, so hemoglobin preferentially unloads oxygen there. This is not something that happens at the alveolus itself, but it shapes the overall efficiency of the gas-exchange cycle that starts there.

How Quickly Blood Passes Through

A red blood cell spends only a brief moment in contact with any given alveolus, and the question of whether that time is long enough for full oxygenation has real physiological stakes, especially during heavy exercise when the heart pumps blood faster and transit times shrink. Research using fluorescence microscopy in living lung capillaries showed that the pulmonary capillary bed has a built-in safeguard: as cardiac output increases and blood flows faster, additional capillaries open up (a process called recruitment), and the spread of transit times narrows. This design keeps the fastest red blood cells from zipping through so quickly that they leave under-oxygenated.3PubMed. Distribution of pulmonary capillary red blood cell transit times

At rest, the average transit time through an alveolar capillary is roughly three-quarters of a second, though there is variation from capillary to capillary. Oxygen equilibrium between alveolar air and blood is typically achieved in about a third of that time, leaving a substantial safety margin. During maximal exercise, transit times shorten, and in elite athletes pushing extreme cardiac outputs, that safety margin can narrow enough that blood leaving the lung is slightly less than fully saturated, a phenomenon sometimes called exercise-induced arterial hypoxemia. For most people, though, the reserve is more than enough.

Surfactant Keeps Alveoli Open

Alveoli are tiny, moist air sacs, and the water lining their inner surface creates surface tension that tends to pull the walls inward, like a soap bubble trying to collapse. Without something to counteract this force, smaller alveoli would collapse into larger ones on every exhale, and reinflating them would require enormous effort. Pulmonary surfactant, a mixture of lipids and proteins produced by specialized cells in the alveolar wall, coats the air-liquid interface and dramatically lowers surface tension. This prevents the collapse known as atelectasis and keeps alveoli stable across the breathing cycle.4PubMed Central. The Role of Surfactant in Lung Disease and Host Defense against Pulmonary Infections

Surfactant is essential for gas exchange not because it participates directly in moving oxygen or carbon dioxide, but because without it, the alveoli cannot maintain the open, inflated architecture that provides the enormous surface area diffusion requires. Premature infants often lack sufficient surfactant, which is one reason respiratory distress syndrome in newborns was historically so dangerous. Modern medicine addresses this with synthetic or animal-derived surfactant delivered directly into the lungs shortly after birth.

Beyond its mechanical role, surfactant also contributes to the lung’s immune defenses. Some of its protein components help trap and neutralize inhaled pathogens before they can cause infection, giving the alveoli a first line of defense that works alongside immune cells stationed in the airways.

Matching Air to Blood Flow

Having thin walls, large surface area, and functional surfactant is not enough if air and blood are not delivered to the same places at the same time. The lung solves this coordination problem through ventilation-perfusion matching, the process of directing blood flow preferentially toward alveoli that are well ventilated with fresh air and away from regions that are poorly ventilated.

The primary active mechanism behind this matching is hypoxic pulmonary vasoconstriction. When an area of the lung receives little fresh air, the oxygen level in those alveoli drops. In response, the small arteries feeding that region constrict, reducing blood flow to the poorly ventilated area and redirecting it to regions with better airflow.5PubMed Central. Hypoxic Pulmonary Vasoconstriction: From Molecular Mechanisms to Medicine This mechanism improves overall oxygen uptake by ensuring that blood does not waste its transit time passing by alveoli that have little oxygen to offer.6PubMed Central. Hypoxic pulmonary vasoconstriction as a regulator of alveolar-capillary oxygen flux: A computational model of ventilation-perfusion matching

Carbon dioxide and nitric oxide also play regulatory roles. Elevated carbon dioxide in an alveolar region suppresses local nitric oxide production, which reinforces vasoconstriction in that area and strengthens the redirection of blood toward better-ventilated zones.7PubMed. Role of airway nitric oxide on the regulation of pulmonary circulation by carbon dioxide The system is elegant: the very gases being exchanged also serve as signals that fine-tune where blood goes, creating a feedback loop that keeps the match between ventilation and perfusion reasonably tight under normal conditions.

This matching is never perfect, and gravity plays a role. In an upright person, blood flow tends to favor the lung bases, while ventilation is somewhat more evenly distributed. The result is a gradient of ventilation-to-perfusion ratios from top to bottom. This imperfection is small enough in healthy lungs that it barely affects arterial oxygen levels, but in lung disease it can become the dominant cause of low blood oxygen.

When Gas Exchange Breaks Down

Several diseases attack the machinery of alveolar gas exchange at different points. Emphysema, the destructive component of chronic obstructive pulmonary disease, destroys alveolar walls, merging small air sacs into larger, less efficient spaces. The result is a dramatic reduction in the total alveolar-capillary exchange area available for diffusion.8PubMed Central. Cellular and molecular mechanisms of alveolar destruction in emphysema: an evolutionary perspective With fewer and larger air spaces, there is less surface for oxygen to cross, and ventilation-perfusion matching deteriorates because the normal architecture that supports it has been dismantled. Smoking is by far the leading cause.

Pulmonary fibrosis attacks from the other direction. Rather than destroying the barrier, fibrotic disease thickens it. Scar tissue accumulates in and around the alveolar walls, increasing the distance gases must travel. This thickening impairs diffusing capacity, the lung’s overall ability to move gas across the membrane per unit time.9Scientific Reports. Structural determinants of pulmonary diffusing capacity identified by network analysis and machine learning on quantitative CT A thicker barrier does not necessarily block gas exchange entirely, but it slows it, especially for oxygen. Since carbon dioxide diffuses so much more readily, patients with fibrosis often have low blood oxygen levels while still being able to clear carbon dioxide adequately, at least until the disease is severe.

Pulmonary edema, the accumulation of fluid in the alveoli or the surrounding tissue, creates yet another obstacle. Fluid filling the air space increases the diffusion distance and can effectively drown portions of the gas-exchange surface. Edema can result from heart failure, severe infections, high-altitude exposure, or acute lung injury. Its effect on gas exchange is immediate and can be life-threatening, though unlike emphysema and fibrosis, it is often reversible once the underlying cause is treated.

Pneumonia fills alveoli with inflammatory fluid and immune cells, and acute respiratory distress syndrome (ARDS) damages the barrier itself, making it leaky. In all these conditions, the common thread is that one or more of the requirements for efficient exchange, thin barrier, large area, open air spaces, matched blood flow, is compromised.

Why Bird Lungs Outperform Ours

The mammalian lung, for all its effectiveness, is not the best gas-exchange system evolution has produced. Birds have a fundamentally different lung architecture that outperforms it on several measures. Where mammalian breathing is tidal, air moves in and out of the same dead-end alveoli, bird lungs use a flow-through design. Air passes continuously in one direction through the gas-exchange tissue, driven by a system of air sacs that act like bellows. This eliminates the stale residual air that always remains in mammalian alveoli after an exhale.10European Respiratory Journal. The human lung: did evolution get it wrong?

The practical result is that birds maintain a higher oxygen level in their gas-exchange surfaces and achieve more efficient transfer per breath. Their gas-exchange units also have thinner, more uniform capillary walls compared to mammalian pulmonary capillaries. The one-directional airflow means the gas exchange uses a cross-current pattern, which extracts more oxygen from each volume of air than the tidal pool arrangement mammals rely on. This is part of why birds can sustain powered flight at altitudes where mammals would quickly become incapacitated, bar-headed geese famously migrate over the Himalayas at altitudes above 7,000 meters.

From an engineering standpoint, birds also benefit from separating the ventilatory function (moving air) from the gas-exchange function (transferring gases). In mammals, the alveoli have to do both. They must inflate and deflate with each breath while simultaneously serving as the diffusion surface. This dual role imposes design compromises. Birds avoid that tradeoff entirely by having rigid gas-exchange channels ventilated by flexible air sacs elsewhere. The mammalian system works well enough for life on the ground, but the comparison is a useful reminder that the alveolar setup humans have is one evolutionary solution, not the optimal one.

When Machines Take Over the Job

When the alveoli are too damaged or flooded to perform gas exchange, modern medicine can temporarily bypass them altogether using extracorporeal membrane oxygenation, or ECMO. In this technique, blood is drawn out of the body, passed through an artificial membrane lung where oxygen is added and carbon dioxide is removed, and then returned to the circulation. The artificial membrane works on the same basic principle as the alveolar barrier, gases diffuse across a thin semipermeable membrane, but the membrane is made of synthetic hollow fibers rather than living tissue.

ECMO is used in severe cases of ARDS, overwhelming pneumonia, or other conditions where the native lungs cannot support life even with mechanical ventilation and supplemental oxygen. It buys time for the lungs to heal, or in some cases, serves as a bridge to lung transplantation. The technology is a vivid illustration of what the alveoli accomplish: an ECMO circuit that fills a hospital room is doing, with industrial-grade engineering, what a few hundred million microscopic air sacs do continuously and silently inside your chest.

One key difference is that ECMO machines lack the lung’s built-in ventilation-perfusion matching. Blood flows through the membrane at a fixed rate, and the sweep gas (the flow of oxygen across the membrane) is adjusted manually by the clinical team. There is no equivalent of hypoxic vasoconstriction, no local feedback loop steering blood toward better-performing regions of the membrane. This means ECMO is effective but crude compared to the real thing, and patients on ECMO require constant monitoring and adjustment.

High Altitude and the Limits of Diffusion

At high altitude, the total air pressure drops, and with it the partial pressure of oxygen in inhaled air. The alveoli still function normally, the barrier is intact, surfactant is present, blood flow is matched, but the driving force for oxygen diffusion is weaker because there is simply less oxygen pressure on the air side. The result is lower arterial oxygen levels, which the body tries to compensate for by breathing faster, increasing heart rate, and eventually producing more red blood cells to carry what oxygen is available.

This is where the transit-time reserve mentioned earlier becomes important. At sea level, oxygen equilibrium between alveolar air and capillary blood is reached with time to spare. At high altitude, the reduced pressure gradient slows diffusion, and equilibrium takes longer to reach. During exercise at altitude, when transit times also shorten due to increased cardiac output, the combination can push the system past its limits: blood leaves the alveolar capillaries before it has fully equilibrated, and arterial oxygen drops further. This is one reason performance declines sharply at extreme altitude even in well-acclimatized individuals.

Long-term residents of high-altitude regions, such as Tibetan and Andean populations, show physiological adaptations that improve gas exchange under these conditions. These include higher ventilation rates, enhanced hemoglobin-oxygen affinity in some populations, greater capillary density in tissues, and in some cases, a blunted hypoxic pulmonary vasoconstriction response that prevents the excessive rise in pulmonary artery pressure that altitude can trigger. The alveoli themselves do not change their fundamental architecture, but the systems surrounding them adjust to squeeze more efficiency out of the same basic design.