Babies won’t remember a painful event the way you’d remember one, but their bodies and brains can still be affected by it. The answer depends on what kind of “remembering” you mean. A baby will not form a conscious, narrative memory of being hurt, the kind they could later describe or picture in their mind. But pain and distress leave traces in the body’s stress systems and in patterns of behavior, especially when the experiences are repeated or severe.
How Infant Memory Actually Works
Babies have two broad types of memory, and they develop on very different timelines. Implicit memory, the unconscious kind that shapes reactions, expectations, and learned associations, is present from the earliest months of life and stable by about 9 months. This is the system that lets a baby learn to flinch away from something hot or become wary of a person who caused them pain, without any conscious awareness that they’re “remembering.”
Explicit memory, the kind adults use to recall specific events and tell stories about them, develops much more slowly. The brain structure most responsible for this type of recall, the hippocampus, matures in stages throughout childhood. Some subregions continue developing into early adulthood. The prefrontal cortex, which helps organize and retrieve detailed memories, is even slower to mature. This is why most people can’t recall anything from before age 2 or 3, and memories before age 7 tend to be sparse and fragmented. Researchers call this childhood amnesia, and the adult pattern of autobiographical memory doesn’t fully emerge until around age 8 or 9.
So a 6-month-old who bumps their head or gets a painful vaccination will not store that as a memory they can later access. But that doesn’t mean nothing happened inside their brain.
What Babies Do Retain From Pain
Even without conscious recall, painful experiences register in a baby’s nervous system. When a newborn or infant experiences pain, it triggers a stress hormone response. Cortisol, the body’s primary stress hormone, spikes measurably within 20 to 30 minutes of a painful procedure like a heel prick. Studies on preterm infants in neonatal intensive care units have shown that this system is highly sensitive: a routine diaper change can trigger pain-like responses if it follows a painful procedure by as little as 30 minutes.
Preterm infants exposed to repeated painful medical procedures show a lower threshold for pain and touch responses over time. Their sensory neurons become more excitable with repeated stimulation, meaning they react more strongly to less input. This is the opposite of “getting used to it.” Research following these infants has found that higher exposure to painful procedures in the neonatal period is independently associated with differences in motor and cognitive development at 8 and 18 months, IQ at age 7, and higher rates of anxiety and depressive behaviors at school age. Cumulative procedural pain has also been linked to altered baseline cortisol levels that persist into childhood, suggesting lasting changes in how the stress system is calibrated.
These findings come primarily from very preterm infants who endured dozens or hundreds of medical procedures. A single accidental bump or a vaccination is a very different situation.
Body Memories vs. Conscious Memories
When researchers talk about infants “remembering” pain, they’re describing something closer to what’s sometimes called somatic or body memory. The experience isn’t stored as a scene the child can replay. Instead, it’s encoded in the body’s stress responses, muscle tension patterns, and behavioral reactions.
In infants who have experienced significant trauma, this shows up as sensorimotor disorganization: prolonged crying, muscular flailing, and being difficult to soothe. Maltreated children may later show distrust of others, dissociative behaviors, attention difficulties, mood swings, and sometimes behavioral reenactments of their traumatic experience, even when they have no conscious memory of what happened to them. These patterns reflect the implicit memory system at work, encoding the emotional and physical tone of experiences without any narrative attached.
This is an important distinction. A baby who was accidentally dropped won’t grow up with a “memory” of falling. But a baby who is repeatedly exposed to pain, fear, or chaotic caregiving may develop a nervous system that’s wired to expect threat, and that wiring can influence behavior and emotional regulation for years.
How Long Babies Hold Onto Specific Experiences
The window for retaining a specific learned association is surprisingly short in young infants. A 3-month-old can retain a learned behavior for days to weeks, but it fades without reinforcement. A 6-month-old typically forgets a specific learned task after about 2 weeks. With periodic reminders, though, retention stretches dramatically. In one study, 6-month-olds who received brief reminders between 7 and 18 months maintained a memory of a learned task all the way to 24 months.
This means that a single painful event is unlikely to create a lasting specific memory in a young baby. The memory trace simply decays. What does persist from repeated or intense experiences is the implicit learning: the association between a place, person, or sensation and the feeling of distress.
Why Comfort After Pain Matters So Much
The relationship between a baby and their caregiver acts as a buffer for painful experiences. In developmental psychology, this is described as “rupture and repair.” A rupture is any moment of distress, disconnection, or pain. Repair is what happens next: the caregiver responds with comfort, warmth, and soothing.
This cycle is not just emotionally reassuring. It actually shapes how a baby’s stress system develops. When a caregiver consistently responds to distress with comfort, the baby’s nervous system learns that pain and fear are temporary and manageable. This lays the foundation for secure attachment. When ruptures happen repeatedly without repair, meaning the baby is hurt or distressed and no one responds, it can lead to mistrust, difficulty regulating emotions, and cognitive distortions about relationships that carry into later life.
The key word here is “repeatedly.” Every parent accidentally startles, bumps, or causes brief pain to their baby at some point. A single incident followed by comfort and soothing is not going to leave a lasting mark. What matters is the overall pattern: whether the baby’s world is generally responsive and safe, or generally unpredictable and painful.
Accidental Harm vs. Repeated Harm
If you’re asking this question because you accidentally hurt your baby, perhaps you clipped a fingernail too short, let them roll off the bed, or they cried through a medical procedure, the evidence is reassuring. A baby’s brain is not recording a scene they’ll replay later. Their conscious memory systems aren’t developed enough to store the event, and a single painful experience in the context of otherwise warm, responsive caregiving does not rewire their stress system.
The research showing lasting effects comes from very different circumstances: repeated painful medical procedures in fragile preterm infants, or ongoing maltreatment and neglect. In these cases, the sheer volume and consistency of painful experiences shapes the developing brain and stress response in measurable ways.
For the vast majority of parents, picking up your baby, soothing them, and being a consistent source of comfort is exactly what their developing brain needs to process the moment and move on. The repair is what their nervous system will encode, not the rupture.

