Home / Toddler Guide / Behavior

Why babies bang their heads

Your baby thumping their forehead on the crib mattress at bedtime is usually self-soothing, not self-harm. Here is how to tell the difference.

TL;DR Around 1 in 5 healthy babies bangs their head, usually starting between 6 and 18 months and stopping by age 3 or 4. It is a rhythmic self-soothing behavior, like rocking or thumb-sucking, and it almost never causes injury because babies instinctively limit the force. Call your pediatrician only if head banging happens during the day with no clear trigger, causes visible bruising, or is paired with developmental concerns.

You walk past the nursery and hear a steady thump, thump, thump. Your baby is on hands and knees rocking into the headboard, or lying down driving their head into the mattress at the same beat as a metronome. You panic.

Take a breath. This is one of the most common and most alarming-looking baby behaviors, and in almost every case it is completely benign. Here is what is actually happening and how to know if your baby is in the small group that needs a closer look.

How common is head banging, really

Pediatric research puts the rate of rhythmic head banging at around 15 to 20 percent of healthy children under age 3. Boys do it about three times as often as girls, for reasons researchers do not fully understand. The behavior typically shows up between 6 and 18 months, peaks around the second year, and fades on its own by age 3 or 4.

If your baby is banging their head, you are looking at a developmentally typical behavior shared by roughly 1 in 5 of their peers. It is not a sign you are missing anything.

Why babies do it

Head banging belongs to a family of behaviors pediatricians call "rhythmic movement disorders," which is a clinical-sounding label for something almost always normal. Other examples include body rocking, head rolling, and leg banging. They all share a pattern: rhythmic, repetitive, usually around sleep, and self-initiated.

The leading explanations for why babies do this:

  • Self-soothing. The vestibular system in the inner ear processes movement. Rhythmic motion has the same calming effect as rocking a baby in your arms or a swing. Babies who head bang are essentially being their own rocking chair.
  • Sleep transition. Most head banging happens at the edges of sleep, either falling asleep or stirring between sleep cycles. The motion helps the brain settle into a sleep state.
  • Sensory feedback. Babies are learning what their bodies can do. The pressure and rhythm provide proprioceptive input that some kids actively crave.
  • Release of frustration. A small subset of daytime head banging is a response to anger or overwhelm. The toddler version of slamming a door.
  • Pain distraction. Some babies head bang during teething or ear infections. The rhythmic motion masks the discomfort temporarily.

Why they do not actually hurt themselves

The single most common parental worry: "Won't they get brain damage?" Almost certainly not. Babies have a strong built-in feedback loop. The amount of force they generate is far below what would cause concussion or skull injury. They feel the impact and naturally moderate the force. You will rarely see bruising, swelling, or signs of pain.

The babies and toddlers who do injure themselves through head banging are almost always children with significant developmental differences (severe autism, intellectual disability) where the feedback loop is impaired. For a typically developing baby, the worst-case outcome is a small forehead bruise that resolves on its own.

When it usually happens

The two classic patterns:

  • Bedtime and naptime. Baby in the crib, banging their forehead into the mattress or rocking on hands and knees into the headboard, in a rhythmic beat. This often continues for 5 to 15 minutes before they fall asleep. Some babies wake briefly in the night, bang for a minute, and go back down.
  • Frustration episodes. Toddler does not get their way, throws themselves backward, or bangs their head against the floor or wall once or twice. This is closer to a tantrum behavior than the rhythmic sleep version.

If your child only does it around sleep, you can essentially ignore it. If they do it during tantrums, see the section below on managing the daytime version.

Track development with the milestone tracker

Confirm your baby is hitting cognitive, motor, and social milestones on schedule. Free tool, no signup required.

Open the milestone tracker

How long it lasts

The natural trajectory:

  • Starts between 6 and 18 months.
  • Peaks during the second year (12 to 24 months).
  • Fades through age 2 to 3.
  • Mostly gone by age 4.

If your baby is still head banging past age 4, mention it at the next well-visit. It is still usually benign at older ages, but worth a check-in.

What to do (and what not to do)

The temptation is to react. Run in, stop the banging, soothe the baby. This usually makes it worse for two reasons. First, the attention reinforces the behavior. Second, you are interrupting a self-regulation strategy that was working for them. The general guidance:

  • For sleep-related head banging: Pad nothing. The American Academy of Pediatrics still recommends a firm, flat sleep surface with no bumpers, no padding, no extras. Counterintuitive, but the firm surface is safer than soft padding that could cover the baby's face.
  • Move the crib away from the wall. If the headboard or wall is making noise that wakes other family members, slide the crib so the contact is muffled.
  • Stay neutral. If you walk in and find them banging, do not gasp, do not say "no, no, no," do not pick them up. Quietly check, then leave.
  • Build in movement during the day. Babies who get rocking, bouncing, swinging, or other rhythmic movement during waking hours sometimes head bang less at night. A swing, a yoga ball, or just spending time being held in motion can fill the sensory need.

The daytime tantrum version

If your toddler bangs their head when angry or frustrated, the approach shifts. This is closer to a tantrum behavior than a sleep behavior. The framework:

  • Safety first. If they are on a hard surface (tile, concrete), guide them gently to carpet or grass. Block with your hand if needed.
  • Do not lecture. A toddler in a meltdown cannot process language. Stay close, stay quiet, ride it out.
  • Do not give in. If they bang their head because they cannot have the cookie, do not give them the cookie. The behavior will escalate if it works.
  • Name the feeling later. Once they are calm: "You were really frustrated. It is okay to be mad. We do not hit our head, but we can stomp our feet or hug a pillow."

When to call your pediatrician

The vast majority of head banging needs no intervention. Call your pediatrician if any of these apply:

  • Visible bruising, swelling, or bleeding from head banging.
  • The banging is so violent it knocks them off-balance or causes them to vomit.
  • It is happening many times a day, not just around sleep or tantrums.
  • Your child is missing other milestones (no babbling by 12 months, no words by 18 months, no eye contact, no pointing).
  • It started suddenly in an older child (3+) who did not do it before.
  • It is paired with other repetitive behaviors like hand flapping, spinning, or lining up objects.
  • Your gut says something is off. Trust that and ask.

None of these single signs mean something is wrong, but together they are worth a developmental check-in.

General info, not medical advice. If you have any concerns about your child's development, injuries from head banging, or behavior changes, talk to your pediatrician.

Keep reading

Behavior · Explainer

Hitting and biting: a toddler decoder

Why toddlers hit and what actually stops it.

Behavior · How-to

How to handle toddler tantrums

The de-escalation script that works.

Development · Reference

Social-emotional milestones by age

What is normal at every stage.