How Long Does It Take for a Baby to Form in the Womb?

A baby takes about 38 weeks to fully form from the moment of conception, or roughly 40 weeks counted from the first day of the mother’s last menstrual period (the standard way doctors track pregnancy). That’s approximately nine months, though the process isn’t one smooth progression. Development happens in three distinct stages, each building on the last, with organs appearing at different times and maturing at different rates.

The Three Stages of Development

Pregnancy unfolds in three developmental stages, each with a different focus. The germinal stage is the shortest, lasting only about one week. It begins at conception when sperm and egg meet in the fallopian tube, forming a single cell called a zygote. That zygote divides rapidly as it travels toward the uterus, implanting into the uterine lining around six days after fertilization.

The embryonic stage runs from roughly week three through the end of week eight. This is when the real construction happens. Nearly every major organ system begins forming during these few weeks, and the embryo goes from a tiny cluster of cells to something with a recognizable head, limb buds, and a beating heart. Because so much is being built from scratch, this stage is the most sensitive to disruptions.

From week nine until birth is the fetal stage. Organs that formed during the embryonic period now grow, mature, and begin functioning. The fetus gains weight, develops fat stores, and fine-tunes systems like the lungs and brain that need to work independently at birth.

When Major Organs Start Forming

The heart is one of the first organs to take shape. It begins as a simple tube around week five and starts beating by the end of week six, establishing the earliest blood circulation. The brain and spinal cord develop from a structure called the neural tube around week six as well, and by week seven the brain and face are growing rapidly.

The kidneys begin forming from the same cell layer as the heart, with their foundation laid around week five. The liver takes on its first job a bit later: by week 11, red blood cells are being produced there. These early timelines mean that by the end of the first trimester (around week 12), every major organ has at least started to develop. Nothing new is being “added” after this point. The rest of pregnancy is about growth and maturation.

The Brain Keeps Developing the Longest

While the heart can beat on its own by week six, the brain is far from finished at that point. Brain development is the longest continuous process in fetal growth, stretching across all three trimesters and well beyond birth. During the second trimester, the brain forms billions of nerve cells and begins establishing the connections between them. In the third trimester, the brain’s surface starts folding into the wrinkled pattern seen in newborns, dramatically increasing its surface area. Nerve fibers also begin gaining their insulating coating, which speeds up signal transmission.

This extended timeline is one reason premature birth carries neurological risks. A baby born at 25 weeks has a brain that still has months of critical wiring ahead of it.

Why the Lungs Are the Last to Be Ready

Lung maturity is one of the final milestones and one of the biggest factors in whether a premature baby can survive outside the womb. The lungs begin producing surfactant, a substance that keeps the tiny air sacs from collapsing, as early as 20 to 24 weeks. But at that point, they produce only small amounts. Babies born extremely early, before 26 weeks, often lack enough surfactant to breathe effectively on their own.

Lung development continues well into the third trimester, and full maturity typically isn’t reached until close to 36 weeks. This is why even “early term” babies (born at 37 or 38 weeks) can sometimes have breathing difficulties compared to those born at 39 weeks or later.

When a Baby Could Survive Outside the Womb

Viability, the point at which a baby has a realistic chance of surviving if born early, falls around 23 to 24 weeks with intensive medical care. The numbers tell a stark story of how much each additional week matters. According to the American College of Obstetricians and Gynecologists, survival rates at 23 weeks range from 23% to 27%. At 24 weeks, that jumps to 42% to 59%. By 25 weeks, survival reaches 67% to 76%.

Before 23 weeks, survival drops to just 5 to 6%, and nearly all of those rare survivors face serious long-term health challenges. These numbers reflect the reality that at 22 or 23 weeks, critical systems like the lungs, brain, and digestive tract are simply too immature to function reliably, even with modern neonatal care.

What “Full Term” Actually Means

Not all pregnancies that reach the final stretch are equal. The National Institutes of Health recognizes four categories within what used to be broadly called “term” pregnancy:

  • Early term: 37 weeks through 38 weeks and 6 days
  • Full term: 39 weeks through 40 weeks and 6 days
  • Late term: 41 weeks through 41 weeks and 6 days
  • Post-term: 42 weeks and beyond

These distinctions exist because babies born even a week or two before 39 weeks have slightly higher rates of breathing problems, feeding difficulties, and temperature regulation issues compared to those born at 39 or 40 weeks. The final two to three weeks of pregnancy aren’t just waiting time. The brain adds roughly a third of its weight between weeks 35 and 40, the lungs finish maturing, and the baby builds fat stores needed for body temperature regulation after birth.

A Week-by-Week Snapshot

Here’s a simplified look at when key milestones happen:

  • Week 1: Fertilized egg travels to the uterus and implants around day six
  • Weeks 3 to 4: The cell layers that will become skin, organs, and bones begin to differentiate
  • Weeks 5 to 6: Heart starts beating, brain and spinal cord form, kidneys begin developing
  • Week 7: Face and brain are growing rapidly
  • Week 8: All major organ systems have started forming; the embryo is now called a fetus
  • Week 11: Liver begins producing red blood cells
  • Weeks 20 to 24: Lungs begin producing small amounts of surfactant; earliest edge of viability
  • Weeks 25 to 28: Eyes can open, brain development accelerates
  • Weeks 35 to 38: Lungs approach full maturity, brain gains significant weight, fat stores build up
  • Weeks 39 to 40: Full term; all systems are ready for life outside the womb

The total process from a single fertilized cell to a baby ready to breathe, eat, and regulate its own temperature spans about 38 weeks of actual development. Some systems are functional within the first two months. Others, especially the lungs and brain, need nearly the entire pregnancy to finish the job.