Sleep · 3 min read
They bang their head to fall asleep
There is a thudding through the wall. You go in, and they are on all fours rocking into the cot bumper, or rolling their head side to side against the mattress — apparently content, eyes closing.
It looks like something is wrong. It is usually the opposite: it is the thing that is making it right.
Last updated August 19, 2026
It is a sleep tool, not a symptom
AAP's account is that the rhythmic motion seems necessary to soothe or calm the central nervous system in the transition from wakefulness to sleep. It sits alongside thumb-sucking and hair-twirling as a self-comforting habit, and it does the same job.
Which explains the timing. This shows up at bedtime, at naps, and on waking in the night — the boundaries of sleep — rather than in the middle of the day. A child doing it happily on their way into sleep is not in pain; they are using a metronome.
AAP also notes that as unsettling as parents find these habits, children may do them every single night in order to settle. The consistency is not escalation, it is a routine.
The advice really is to ignore it
AAP puts it bluntly: as a first step in the simple management of your child's self-comforting habits, ignore them. Most commonly they disappear with time.
That is unsatisfying, because the sound is awful and the instinct is to intervene. But attention is the reliable way to make a habit bigger, and this one is doing a job the child cannot yet do another way.
AAP is equally clear on the thing not to try: punishment is not an effective way to eradicate habits. It adds distress to the exact moment the child was using the habit to manage distress.
Practical rather than behavioral: make the environment quieter and safer instead. A cot mattress at its lowest, hardware checked and tightened since the banging will loosen it, and the cot moved off a shared wall. You are reducing the noise and the risk, not the behavior.
The version worth raising with a doctor
Context changes the meaning. Rhythmic movement into sleep is common and self-limiting. The same movement in a different context is worth a pediatric opinion rather than reassurance from a page.
Worth asking about: head banging while awake and distressed rather than settling; banging hard enough to cause injury or bruising; a child who does it through the day as well as at sleep; or head banging alongside concerns about language, social development or repetitive behaviors more broadly.
This is the referral, not the diagnosis. The point of naming it is that a parent who has been told 'they all do it' should still be able to say 'this looks different' and be taken seriously.
Common questions
- Will they hurt themselves?
- Children doing this to settle generally regulate the force themselves, and it is the noise rather than the impact that alarms parents. The useful response is environmental — lower the mattress, tighten the cot hardware regularly, move it off a shared wall. Banging that causes actual bruising or injury is a different matter and worth a doctor's opinion.
- Should I stop them?
- AAP's first-line advice is to ignore it, and to avoid punishment specifically. It is a self-comforting habit that most children drop on their own.
- Does head banging mean autism?
- On its own, at bedtime, in an otherwise typically developing child — no. It is common and self-limiting. What is worth raising is head banging that happens outside the sleep context, causes injury, or appears alongside concerns about language, social interaction or other repetitive behaviors. That is a conversation with a pediatrician, not a conclusion to reach at 11pm.
If it's this, not that
Still not sure
This page is the general answer. Yours is a specific child.
The advisor can be. It has read everything here, and it knows how old your children actually are — which is the whole difference wherever guidance changes with age. Ask it anything.
- She's got a temperature of 100. Is that something to worry about?
- He's obsessed with space and galaxies — what toys are worth getting him?
Free. It comes with the note.
It answers from the same cited pages you are reading, and when the question is where to go, from the real clinician, hospital and childcare records behind this site — not a link to go search them yourself. It says so when we have not written about something, and it is not a doctor; for anything urgent it gives you the threshold and tells you to call.
Where this comes from
Every claim on this page traces to one of these. See every source we use →
Written from the sources named above, and it is not a substitute for your own doctor. If something feels wrong to you, that instinct is a good enough reason to call — you know yourself and this family better than any page does.

