Fetuses do not think in the way you or I would recognize, but they are far from passive passengers waiting to be born. By the third trimester, the fetal brain is processing sensory information, forming memories of sounds and flavors, and showing preferences that persist after birth. Whether these abilities amount to “thinking” depends on how loosely you define the word, and that question turns out to be one of the more fascinating debates in developmental neuroscience.
How the Fetal Brain Wires Itself for Experience
A fetus cannot process anything until the brain’s wiring reaches a certain threshold. The critical event happens when nerve fibers from the thalamus, which acts as a relay station for sensory information, connect with the outer layers of the brain. Before those connections reach the cortex directly, they first link up with a temporary structure called the subplate, a kind of staging area unique to fetal and early neonatal life. This subplate circuitry, which forms during the late second and early third trimester, generates the first electrical activity patterns in the developing brain and is considered a possible early network in the developmental history of consciousness.1PubMed. The development of the subplate and thalamocortical connections in the human foetal brain
Sleep and wake-like cycles begin to emerge around 26 to 28 weeks of gestation, first detectable through behavioral observation and later confirmed with brain-wave recordings.2Newborn and Infant Nursing Reviews. Sleep and Brain Development: The Critical Role of Sleep in Fetal and Early Neonatal Brain Development By the end of pregnancy, a fetus cycles between quiet sleep, active (REM-like) sleep, and brief quiet-awake intervals. Fetal activity also begins to sync with the mother’s day-night rhythm: as pregnancy progresses, fetuses become less active during maternal sleep and more active during her waking hours, hinting at the early formation of circadian rhythms.3bioRxiv. From womb to crib: How fetal activity patterns in utero reveal postnatal sleep behavior
What Fetuses Hear and Remember
Of all the sensory channels, hearing is the one where fetal learning has been studied most extensively. Sound travels through the abdominal wall and amniotic fluid in a muffled form, but the rhythmic features of speech, including pitch contours, stress patterns, and the rise and fall of intonation, come through clearly enough for the fetus to detect.4Journal of Perinatology. Evidence of Transnatal Auditory Learning That matters because those rhythm-level features are exactly what newborns respond to within hours of birth, showing a head start that is hard to explain without some prenatal exposure.
A systematic review of studies on prenatal sound exposure found that in seven out of eight experiments, newborns showed clear signs of having learned or remembered a specific sound stimulus they were exposed to before birth. Neonates in one study also scored better on orientation and habituation tasks in a standardized behavior test.5PubMed Central. The impact of sound stimulations during pregnancy on fetal learning: a systematic review The researchers concluded that stimulus-specific memory traces form during the fetal period and shape the newborn’s reactions to sounds.
Even more striking, fetuses can distinguish between languages. A biomagnetometry study recorded fetal heart-rate changes while playing passages of English and Japanese. Fetuses who had been hearing English throughout pregnancy showed a clear heart-rate shift when the language switched to Japanese, but no change when it stayed in English. This was the first direct evidence that fetuses can tell languages apart based on rhythm alone, supporting the idea that rhythm serves as a building block for language learning before birth.6PubMed Central. Fetal rhythm-based language discrimination: A biomagnetometry study
Tasting the World Through Amniotic Fluid
Sound is not the only information channel. What a pregnant person eats can alter the flavor profile of the amniotic fluid, and fetuses swallow that fluid regularly. By the end of gestation, fetal taste and smell systems are functional enough to detect a wide range of chemical cues from the maternal diet.7PubMed. Does Maternal Diet Influence Future Infant Taste and Odor Preferences? A Critical Analysis The fetus effectively encodes these flavors, and the result is measurable after birth: babies tend to accept foods more readily if their mother ate those foods during pregnancy.8Digestion. Flavor Perception in Human Infants: Development and Functional Significance
Most research so far has focused on odor compounds, which travel more easily into amniotic fluid, rather than pure taste molecules. But there is growing evidence that fetuses can also pick up on basic taste properties like sweetness and bitterness. Practically speaking, this means that some of your food preferences may have roots that stretch back to before you were born.
Seeing Before Being Born
The womb is not pitch-dark. A small amount of red-filtered light penetrates the abdominal wall, and by the third trimester the fetal visual system is developed enough to respond. In a landmark study, researchers projected dot patterns through the uterine wall using a light source positioned on the mother’s abdomen. When the dots were arranged in a face-like configuration (two dots on top, one on the bottom), fetuses were more likely to turn their heads toward the light than when the same dots were inverted. This preference mirrors what newborns do and suggests that the bias toward face-like patterns does not require any postnatal experience.9PubMed. The Human Fetus Preferentially Engages with Face-like Visual Stimuli
More recent work using ultrasound found that fetal eye movements increase across the third trimester and that the lens moves more frequently in response to face-like configurations than to inverted ones, beginning as early as 26 weeks. The strength of this preference correlated with the size of the thalamic nuclei, tying it back to the thalamocortical wiring discussed earlier.10PubMed Central. At First Sight: Fetal Eye Movements Reveal a Preference for Face-Like Configurations From 26 Weeks of Gestation
Habituation as a Window Into Fetal Learning
One of the simplest forms of learning is habituation: if you hear the same loud noise over and over, you eventually stop flinching. Fetuses demonstrate this too. When a vibrating buzzer is placed repeatedly against the mother’s abdomen, the fetus initially responds with a startle, but after several repetitions the response fades. This decline is not exhaustion; it reflects the central nervous system recognizing the stimulus as familiar and no longer worth reacting to.11PubMed. Fetal habituation to vibroacoustic stimulation in uncomplicated term pregnancies
Researchers have explored habituation as a potential tool for assessing fetal brain function, since the ability to tune out a repeated stimulus requires a functioning nervous system. While most healthy fetuses do habituate, the variation between individual fetuses is wide enough that the test on its own is not considered reliable for clinical diagnosis.12PubMed. Fetal habituation to vibroacoustic stimulation in relation to fetal states and fetal heart rate parameters Still, the basic finding stands: even in the womb, the brain is doing more than passively receiving signals. It is filtering them.
Movements That Are Not Random
If you have ever felt a fetus kick, you might have assumed those movements were reflexive twitches. The evidence tells a different story. Studies using ultrasound have shown that fetal hand movements appear to be directed at specific targets rather than random flailing.13Physical Therapy. Fetal and Neonatal Hand Movement The fetus reaches toward its face, grasps the umbilical cord, and touches the uterine wall in patterns that look purposeful on video.
Handedness may also emerge before birth. A study tracking fetal arm movements found that fetuses reached faster toward targets requiring greater precision, such as the eyes and mouth, with what would become their dominant hand. Using movement speed or deceleration patterns, researchers could correctly classify a fetus as right- or left-handed from as early as 18 weeks of gestation with accuracy ranging from about 89 to 100 percent.14PubMed Central. The origin of human handedness and its role in pre-birth motor control This suggests that motor lateralization, an asymmetry traditionally thought to be a product of early childhood, actually has prenatal roots.
The Fetal Pain Debate
Whether a fetus can feel pain is one of the most emotionally charged questions in this field, and the scientific picture is genuinely unsettled. The traditional view held that conscious pain perception requires thalamocortical connections, which do not mature until roughly 24 to 28 weeks of gestation. Under this framework, earlier fetuses could not feel pain in any meaningful sense.15Frontiers in Pain Research. The fetal pain paradox
But that view has been challenged. A competing hypothesis argues that the subplate and subcortical structures like the thalamus and brainstem, which develop much earlier, can support a form of conscious pain processing during the first and second trimesters. Proponents point to the fact that neonatologists already treat extremely premature infants born before 24 weeks as pain-capable, using analgesics during procedures because those infants show clear behavioral, hormonal, and physiological signs of distress. This creates what researchers have called a paradox: the same developmental stage is treated as pain-capable outside the womb but not inside it.15Frontiers in Pain Research. The fetal pain paradox
Some evidence points even earlier. The neural pathways for pain via the cortical subplate may be present as early as 12 weeks, and pathways via the thalamus as early as 7 to 8 weeks.16PubMed Central. Fetal Pain in the First Trimester Adding to the picture, pain-inhibition mechanisms are underdeveloped in fetuses, meaning that when pain signals do get through, the fetus may actually experience them more intensely than an older child or adult would.17PubMed Central. Appearance of fetal pain could be associated with maturation of the mesodiencephalic structures The science here is still actively debated, with strong positions on both sides, and the answer has obvious implications for how fetal surgery and other invasive procedures are approached.
A Brain Kept Deliberately Quiet
Even if the fetal brain has the wiring to process sensory input, the chemical environment of the womb works to keep it in a muted state for most of pregnancy. Naturally occurring neurosteroids in the fetal circulation reach elevated concentrations that promote and maintain sleep-like behavioral states. These chemicals exert a suppressive effect on neural activity, which is why the fetus spends the vast majority of its time in states resembling sleep rather than anything like alert wakefulness.18PubMed. Neurosteroids in the fetus and neonate: potential protective role in compromised pregnancies
This matters for the “does a fetus think” question because even brief moments of wakefulness are rare and short-lived in utero. The sensory processing and learning we have been discussing likely happen during those fleeting windows of alert-like states or possibly during active sleep, when the brain is more electrically active. The womb, in other words, is designed to be a low-stimulation incubator. It gives the brain enough input to wire itself properly, but not so much that it overwhelms a system still under construction.
Can Any of This Be Called Consciousness?
This is where the science gets genuinely difficult, because “consciousness” is hard enough to define in adults, let alone in a fetus. Some researchers have proposed that consciousness requires three ingredients: awareness (registering sensory input), cognition (organizing and using information), and volition (intentional, goal-directed behavior). By those criteria, the fetus shows at least preliminary versions of all three. Self-directed movements, behavioral responses to external stimuli, and systematic changes in facial expression after specific sensory inputs all point toward elements of conscious states rather than pure reflexes.19PubMed Central. Can We Talk About Fetal Consciousness?
A magnetoencephalography study tested 56 healthy fetuses between 25 and 40 weeks using an auditory pattern that contained two levels of regularity. The fetuses showed signs of hierarchical rule learning, meaning they did not just detect a simple repeated tone but formed memory traces for a more complex pattern embedded in the sequence. Hierarchical rule learning has been proposed in adult research as a marker of conscious processing, though whether it means the same thing in a fetal brain is still debated.20PubMed Central. Magnetoencephalographic signatures of conscious processing before birth
A synthesis of the behavioral and neural evidence suggests that between the second and third trimesters, the fetus becomes capable of basic cognitive and behavioral processes that could scaffold the emergence of what researchers call “primary consciousness,” a rudimentary awareness mediated by connections between the brainstem, thalamus, cortical subplate, and the maturing cortex.21Current Opinion in Behavioral Sciences. From sensory motor and perceptual development to primary consciousness in the fetus This is a long way from the kind of reflective self-awareness you are experiencing right now as you read this sentence. But it is also a long way from nothing.
How Maternal Stress and Behavior Reach the Fetal Brain
The fetus does not develop in isolation. The mother’s physiological and emotional state shapes the environment the fetal brain develops in. When a pregnant person experiences chronic stress, stress hormones can cross the placenta and influence fetal brain structure and function. Research suggests that high levels of maternal cortisol may alter brain connectivity and increase the volume of the amygdala, a region involved in emotional processing, in the developing fetus. Interestingly, there may be sex-based differences in how fetuses respond: male fetuses exposed to high cortisol levels tend to show changes in connectivity and heightened stress reactivity, while female fetuses may show compensatory mechanisms that provide some resilience.22PubMed Central. Prenatal stress, hormones, and fetal brain development: gender differences
On a more positive note, maternal behaviors like singing lullabies during pregnancy have been studied for their effects on the newborn. One cohort study found that while prenatal singing did not significantly affect maternal attachment scores during pregnancy, the benefits appeared after birth: mothers who sang to their babies prenatally reported stronger bonding at three months, and their newborns showed fewer crying episodes and less colic in the first two months of life.23PubMed Central. Comprehensive Review of the Impact of Maternal Stress on Fetal Development Whether these benefits stem from fetal auditory learning, from the calming effect of singing on the mother’s stress hormones, or from both, remains an open question.
Watching the Fetal Brain at Work
Much of what we know about fetal cognition has come from indirect measures: heart rate, movement, behavioral responses observed on ultrasound. But advances in neuroimaging are opening a more direct window. Functional MRI can now be performed on pregnant individuals to measure spontaneous activity in the fetal brain and map how different brain regions communicate with each other across gestation.24PubMed Central. Functional Connectivity of the Human Brain in Utero
A 2023 study introduced a method for modeling fetal functional networks as they emerge over developmental time. The researchers found that higher-order associative brain areas, regions that in adults are involved in complex thought and integration of information, begin establishing functional connections before the baby is ever exposed to the outside world.25Communications Biology. Maturational networks of human fetal brain activity reveal emerging connectivity patterns prior to ex-utero exposure This does not mean the fetus is engaging in complex thought, but it does mean the hardware for it is being assembled earlier than previously assumed.
Magnetoencephalography, or MEG, offers another approach. By detecting the tiny magnetic fields produced by neural activity, MEG can record fetal brain responses to external stimuli without direct contact. Researchers have successfully recorded fetal auditory and visual evoked brain responses, though detection rates for any single stimulus type can be inconsistent.26PubMed Central. Fetal Magnetoencephalography – Achievements and Challenges in the Study of Prenatal and Early Postnatal Brain Responses: A Review Using both auditory and visual stimuli together in the same session pushes the success rate to about 91 percent, making it a more reliable tool for tracking how the fetal brain responds to the world.27PubMed. Fetal magnetoencephalography–a multimodal approach
From Brain Scans to Clinical Screening
The growing understanding of fetal behavior has practical clinical uses. Four-dimensional ultrasound now allows doctors to observe fetal movements in real time with enough detail to assess patterns that may signal neurological problems. A screening tool known as the Kurjak Antenatal Neurodevelopmental Test combines observation of fetal behavior and general movements with signs that are associated with neurodevelopmental impairment, such as a persistently clenched thumb.28PubMed. Continuity between fetal and neonatal neurobehavior The goal is to identify fetuses who may be at risk for neurological difficulties before birth, potentially allowing earlier intervention or closer monitoring after delivery.29PubMed. The role of 4-D ultrasonography in prenatal assessment of fetal neurobehaviour and prediction of neurological outcome
These tools are still being validated and are not yet standard practice in most settings. But the underlying principle is significant: fetal behavior is organized enough that deviations from normal patterns can carry diagnostic meaning. The brain is not just passively growing during pregnancy. It is performing, and how it performs tells us something about how it is developing.
What Computational Models Tell Us About Body Awareness
An unexpected source of insight into fetal cognition comes from computer simulations. Researchers have built detailed models of the fetal body, complete with muscles and a skeletal system, placed inside a virtual uterus. When these simulated fetuses move and receive sensory feedback from their own movements, a modeled brain with millions of neurons and billions of connections learns to build representations of its own body parts.30Scientific Reports. An Embodied Brain Model of the Human Foetus
The simulations reveal something counterintuitive. The confined space of the uterus actually helps the brain learn. When a fetus kicks or stretches inside the womb, the contact with the uterine wall generates coordinated tactile feedback across the body surface, while the limited range of movement reduces confusing signals from distant body parts. Compared to a simulated fetus moving in open space, the one inside a virtual uterus learned to map individual body parts more efficiently. Neurons responding to touch on a single body region were more clearly defined, and fewer neurons responded confusingly to inputs from multiple body parts at once.30Scientific Reports. An Embodied Brain Model of the Human Foetus The tight quarters of the womb, then, are not just a constraint. They may be part of how the earliest sense of having a body takes shape.