The advice sounds backwards: if you cannot sleep, stop trying to sleep. Get out of bed. Leave the room if you can. Do something dull in low light until you feel sleepy again.

What the bed learns

The point is not the number twenty. The point is what repeated frustration does to the bed. If you spend an hour every night lying awake and mentally arguing with yourself, the bedroom slowly becomes the place where you feel alert and annoyed. The brain is very good at learning associations, and this is one you do not want.

So: roughly twenty minutes of being clearly awake, then out. No phone, no laptop, no bright kitchen light. A dim lamp, a boring book, a chair. Return when your eyelids actually get heavy — not when the clock says it is time to try again.

How to do it without turning it into a project

The goal is not to force sleep. It is to stop teaching your bed that it is a place of struggle.

What it is not

It is not a cure for every insomnia, and it is not a reason to sleep on the floor. If you have mobility problems or a small flat where leaving the room is difficult, adapt it: sit up in bed with a dim light and a book, then lie down again when sleepy. The principle survives the compromise.

It is also not comfortable for the first few nights. Most things that work on sleep are not. The point is to break the association between bed and alertness, one boring chapter at a time.