Lungs develop in a fetus through five overlapping stages: embryonic (weeks 3-7), pseudoglandular (weeks 5-17), canalicular (weeks 16-26), saccular (weeks 24-38), and alveolar (late gestation into childhood). The first airway bud appears around day 22-26 from the foregut, and true gas exchange becomes possible only near 24 weeks.

That answer matters because fetal lung development compresses a remarkable engineering problem into about 40 weeks. A fetus must build a branching fluid-filled organ, then switch it to an air-filled one within seconds of birth. Each stage adds a structure the next stage depends on. Timing disruptions, from preterm birth to maternal diet, can leave permanent marks on lung capacity.

The embryonic origin: foregut out-pouching and the first branching program

Around day 22-26 of gestation, a groove forms on the ventral wall of the foregut. That laryngotracheal groove deepens into a pouch, then separates from the esophagus via the tracheoesophageal septum. Failure of that separation produces esophageal atresia with tracheoesophageal fistula, occurring in roughly 1 in 3,500 to 4,500 births, according to CDC surveillance data.

Why does the lung bud branch so reliably? The answer sits in reciprocal signaling. The foregut endoderm secretes fibroblast growth factor 10 (FGF10), which signals nearby mesenchyme. The mesenchyme signals back with Sonic hedgehog and bone morphogenetic protein 4 (BMP4). This loop creates a self-propagating branching pattern, the same logic as an algorithm that splits one tube into two at each step.

The first bifurcation splits the trachea into left and right main bronchi by about week 5. The right lung typically produces three lobar buds, the left two, giving the familiar lobar anatomy before the embryo reaches 10 mm in crown-rump length. At this point the lung exists as a hollow, fluid-secreting tube with no ability to exchange gas.

Pseudoglandular stage: building the bronchial tree (weeks 5-17)

During the pseudoglandular stage, the lung resembles a gland under a microscope: branching tubes lined by columnar epithelium, embedded in dense mesenchyme. By week 17, the conducting airways have formed through roughly 16 to 20 generations of branching. The human airway tree terminates in about 23 generations overall.

Two details explain why this stage matters clinically. First, all conducting airways that will ever exist are largely present by mid-gestation. Second, no gas exchange is possible yet, because no capillaries invade the airway walls and no surfactant-producing cells mature.

The lung also begins producing fetal lung fluid at roughly 2-3 mL per kg per hour in later gestation. This fluid inflates the airway lumen and provides a mechanical stretch signal. Stretch drives cell proliferation. Fetuses with conditions that compress the lungs, such as severe oligohydramnios or congenital diaphragmatic hernia, develop pulmonary hypoplasia partly because the stretch signal is lost.

Canalicular stage: capillaries arrive and gas exchange becomes conceivable (weeks 16-26)

The canalicular stage remodels the periphery. Terminal bronchioles divide into respiratory bronchioles, the mesenchyme thins, and a capillary network grows into close contact with the airway epithelium. Type I pneumocytes flatten to form the future blood-air barrier, and type II pneumocytes begin storing glycogen, the raw material for surfactant.

The barrier itself is thin, eventually measuring roughly 0.2 to 0.6 micrometers in adults. During canalicular development the barrier is thicker and leakier, which is one reason extremely preterm infants struggle even with respiratory support.

Surfactant appears in measurable amounts around 24-25 weeks but at low concentration. This is the biological basis of the classic viability threshold. Below about 22-23 weeks, alveolarization has barely begun and surfactant is minimal. Between 24 and 28 weeks, survival improves steeply with each additional week, though outcomes also depend on birth weight, sex, steroid exposure, and center expertise.

A counterintuitive point: the fetus never uses its lungs for gas exchange. Oxygen arrives via the placenta, and the pulmonary circulation carries only about 10-25% of combined ventricular output, depending on gestation. Blood largely bypasses the lungs through the foramen ovale and ductus arteriosus. The lung is being built, not used.

Saccular and alveolar stages: from sacs to gas-exchange surface (weeks 24-38 and beyond)

The saccular stage widens terminal sacs and thins the interstitium. Surfactant production ramps up after about 32 weeks, driven by type II pneumocyte maturation under cortisol and thyroid hormone influence. This is why antenatal corticosteroids given between 24 and 34 weeks gestation reduce respiratory distress syndrome and neonatal mortality, per major obstetric society guidance.

The alveolar stage begins around 36 weeks and continues after birth. True alveoli, defined by septation of saccules, appear late in gestation. At birth, a term infant has roughly 20-50 million alveoli. The adult number, around 300 million, is reached by roughly age 2-3 years, with continued surface-area expansion into adolescence. Alveolar number rarely increases after early childhood; later lung growth mostly enlarges existing alveoli and the chest wall.

Stage Weeks Key structures Gas exchange possible?
Embryonic 3-7 Trachea, main bronchi, lobar buds No
Pseudoglandular 5-17 Conducting airways to terminal bronchioles No
Canalicular 16-26 Respiratory bronchioles, capillaries, type I cells Marginal near 24 weeks
Saccular 24-38 Terminal sacs, surfactant surge Yes, with support
Alveolar 36 weeks to childhood True alveoli, 20-50 million at term Yes, mature

Preterm birth, steroids, and other edge cases

Preterm birth is the dominant disruptor. An infant born at 28 weeks has completed canalicular development but has few alveoli and immature surfactant. Bronchopulmonary dysplasia (BPD), the chronic lung disease of prematurity, affects a substantial fraction of extremely low birth weight infants, though rates vary widely by definition and center. BPD reflects arrested alveolarization and dysregulated vascular growth, not just acute injury.

Other edge cases matter. Congenital diaphragmatic hernia pushes abdominal organs into the chest, compressing lung tissue and causing pulmonary hypoplasia, often with pulmonary hypertension. Oligohydramnios from renal agenesis or prolonged membrane rupture removes the fluid-stretch stimulus. Maternal smoking and air pollution exposure are associated with reduced fetal lung growth, and vitamin D status has been studied as a modifier.

Red flags during pregnancy that warrant prompt obstetric evaluation: Suspected preterm labor before 34 weeks, where steroid timing and neonatal team planning change outcomes Severe oligohydramnios on ultrasound, suggesting compression-related hypoplasia A prenatal diagnosis of congenital diaphragmatic hernia, requiring delivery planning at a center with ECMO capability Polyhydramnios with absent stomach bubble, raising concern for esophageal atresia Persistent fetal tachycardia or hydrops, which can signal compromised placental gas exchange

One professional caveat: animal models drive much of the mechanistic detail. Human lung developmental biology is inferred from histology, imaging, and outcomes data. Mouse and sheep studies established FGF10 and surfactant biology, but exact human timing windows carry uncertainty. Statements like "alveoli form at 36 weeks" describe population averages, not individual guarantees.

Common misconceptions about fetal lung development

The biggest myth is that lungs "start working" at birth. In reality, the fetus practices breathing movements from as early as 10-12 weeks. These fetal breathing movements move fluid and condition the respiratory muscles, but they do not exchange gas. They are a rehearsal, not a performance.

A second misconception treats surfactant as the only milestone. Surfactant is necessary but not sufficient. Airway branching, capillary proximity, and chest wall mechanics all must mature. A 24-week infant can receive exogenous surfactant and still face severe disease because the architecture is incomplete.

A third error assumes lung development ends at birth. Alveolarization continues for years, and environmental exposures in early childhood, including tobacco smoke and severe respiratory infections, can limit final lung function. Peak lung function in early adulthood partly reflects developmental trajectory from fetal life onward.

A fourth myth says "the lungs are sterile before birth." Recent research suggests low-level microbial exposure may occur, but the fetal lung is best described as largely sterile, and the clinical significance of any prenatal microbial signals remains unsettled. Avoid overclaiming.

Practical actions for expectant parents and clinicians

Concrete steps matter more than reassurance. These actions map to thresholds and timing windows described above:

If preterm delivery before 34 weeks is anticipated, discuss antenatal corticosteroids with the obstetric team. The typical window is 24 to 34 weeks, with individualized decisions at the edges. Ask about a prenatal ultrasound anatomy scan at 18-22 weeks, when major lung and airway anomalies such as congenital diaphragmatic hernia are usually detectable. If a fetal lung anomaly is suspected, request referral to a maternal-fetal medicine center with neonatal intensive care and pediatric surgery. Avoid tobacco smoke and minimize air pollution exposure during pregnancy; both are linked to reduced fetal lung growth. For deliveries before 39 weeks without medical indication, discuss the tradeoff. Late preterm and early term birth is associated with higher rates of transient respiratory problems. After birth, protect early childhood lung growth by limiting smoke exposure and ensuring recommended vaccines, since severe early infections can affect long-term lung function.

Thresholds vary by source and should be reconciled explicitly. Viability discussions often cite 22-24 weeks, but survival and intact survival are different endpoints, and center-level outcomes vary. Steroid guidance commonly cites 24-34 weeks, yet later guidance extends consideration to 34-36 weeks in specific high-risk situations. Alveolar counts cite 20-50 million at term, but counting methods differ. Treat these as ranges, not switches.

Limits of what current science can conclude

Several questions remain open. The exact molecular triggers that start alveolar septation are not fully mapped in humans. The long-term lung effects of mild prematurity, such as birth at 34-36 weeks, are measurable but modest and hard to isolate from later exposures. Whether prenatal interventions can reliably enhance alveolarization beyond steroid effects is under study, not established.

Do not expect a single test that reports fetal lung maturity outside specific clinical contexts. Amniotic fluid phospholipid testing exists but is used selectively. Imaging can assess lung volume, but it estimates architecture, not function. For most pregnancies, lung development proceeds without surveillance because the process is robust, and the main levers are avoiding preterm birth and reducing toxic exposures.

The deepest takeaway is one of sequence and dependency. Each stage builds the substrate for the next: branching creates the tree, capillaries create the exchange surface, surfactant stabilizes the sacs, and septation multiplies the area. Disrupt any stage and the deficit propagates. That is why timing, not just treatment, defines fetal lung outcomes.