A fetus begins developing nerves remarkably early. The foundation of the entire nervous system starts taking shape during weeks 3 and 4 of pregnancy, when a structure called the neural tube folds and closes to form what will become the brain and spinal cord. From that point, nerve development unfolds in stages over the rest of pregnancy, with new capabilities emerging almost every week.
Weeks 3 to 4: The Neural Tube Forms
The very first step in nerve development is the formation of the neural tube, a narrow channel of cells that runs along the embryo’s back. This tube folds and closes during weeks 3 and 4 of pregnancy, often before many people even know they’re pregnant. The top of the tube eventually becomes the brain, while the lower portion becomes the spinal cord. If the tube doesn’t close completely, it can lead to neural tube defects like spina bifida, which is one reason folic acid supplementation is recommended before and during early pregnancy.
Weeks 4 to 7: Peripheral Nerves Branch Out
Between weeks 4 and 6, the peripheral nerves (the ones that eventually reach your skin, muscles, and organs) begin growing outward from cells in the spinal cord. These nerve fibers extend like branches from a tree trunk, gradually reaching toward the rest of the developing body. By around week 5 after conception (roughly week 7 of gestation), the first synapses, the connections that allow nerve cells to communicate with each other, form in the spinal cord. This is when the nervous system shifts from being a collection of cells to becoming a functional network.
The pace of neuron production during this period is staggering. To reach the more than 100 billion neurons a newborn needs, the fetal brain grows at an average rate of about 250,000 nerve cells per minute throughout pregnancy. During peak production around weeks 12 to 14, that rate climbs to roughly 15 million neurons per hour.
Weeks 7 to 12: First Sensory Responses
The earliest sign that sensory nerves are working appears around weeks 7 to 8, when the fetus first responds to touch near the mouth. At this stage, stroking the area around the lips causes a reflexive movement: the neck muscles contract to pull the face away from the stimulus. It’s a simple withdrawal reflex, not a conscious reaction, but it shows that sensory nerve pathways are already carrying signals.
By weeks 10 to 12, the fetus frequently touches its own face. This matters because the trigeminal nerve, which supplies sensation to the face, is one of the first major sensory nerves to become active. These self-directed face contacts are among the earliest examples of sensory feedback loops, where the fetus both generates and receives tactile input.
The Autonomic Nervous System: A Slower Build
The nerves that control involuntary functions like heart rate and digestion follow a longer developmental arc. The autonomic nervous system begins forming early, but it doesn’t reach meaningful functional maturity until much later in pregnancy. The parasympathetic branch, which handles “rest and digest” functions, shows its first real surge of maturation at the end of the second trimester (around weeks 24 to 28), driven partly by increasing insulation of the vagus nerve, the major nerve connecting the brain to the heart and gut.
From about week 32 onward, the autonomic system becomes noticeably more sophisticated. The fetus develops the ability to adjust its heart rate in response to changes in blood pressure and begins coordinating heart rate increases with body movements. This transition from the late second into the early third trimester marks a period when sympathetic activation (the “fight or flight” side) ramps up alongside improved parasympathetic regulation, giving the fetus more stable and responsive control over its own vital functions.
When Can a Fetus Process Pain?
This is one of the most closely studied questions in fetal neurology, and the answer depends on how “pain” is defined. Having nerve endings that detect a stimulus is not the same as consciously experiencing that stimulus as painful. For conscious pain perception, signals from the body need to reach the cortex, the outer layer of the brain responsible for awareness.
The critical connections for this, called thalamocortical fibers, begin appearing between 23 and 30 weeks of gestation. These fibers link the thalamus (a relay station deep in the brain) to the cortex, creating the hardware needed for sensory signals to become conscious experiences. A systematic review published in JAMA concluded that functional pain perception in premature newborns probably does not exist before 29 or 30 weeks, based on brain wave recordings.
Before that point, a fetus can respond to stimulation with reflexive movements, but these responses are driven by spinal cord and brainstem circuits rather than cortical processing. By 26 weeks, 75% of fetuses respond to vibration and sound applied to the mother’s abdomen with observable movement, and by 36 weeks, 100% respond. These reactions are considered subcortical, meaning they’re more like reflexes than deliberate responses.
A Week-by-Week Overview
- Weeks 3 to 4: Neural tube forms and closes, establishing the brain and spinal cord precursors.
- Weeks 4 to 6: Peripheral nerve fibers begin growing outward from the spinal cord.
- Week 7: First synapses form in the spinal cord, enabling basic nerve-to-nerve communication.
- Weeks 7 to 8: First reflexive responses to touch appear near the mouth.
- Weeks 10 to 12: Fetus begins touching its own face; facial sensory nerves are active. Neuron production peaks at about 15 million per hour.
- Weeks 23 to 30: Connections between the brain’s relay center and cortex develop, building the pathway for conscious sensory processing.
- Weeks 24 to 28: Autonomic nervous system shows first major leap in maturity.
- Weeks 29 to 30: Earliest point at which functional pain perception likely becomes possible.
- Week 32 onward: Autonomic control refines, with coordinated heart rate responses and increasing nervous system stability.
Nerve development doesn’t stop at birth. Myelination, the process of insulating nerve fibers to speed up signal transmission, continues well into childhood and even into early adulthood for certain brain regions. But by the third trimester, the fundamental wiring of the fetal nervous system is in place and increasingly functional.

