In this article
Many of these recommendations fall under what is known as sleep hygiene: the everyday habits and conditions that encourage good-quality sleep. Some have a sound scientific basis, others are reasonable but have little effect, and others are myths that may even make matters worse.
This article separates what really helps from what is overstated. It also explains an important but little-known point: sleep hygiene is useful for maintaining good sleep and as part of broader treatment, but on its own it rarely resolves chronic insomnia. Knowing this prevents frustration and helps people seek the right treatment when needed.
What is sleep hygiene?
The term refers to a set of recommendations about behaviour, schedules, food, substance use and the bedroom environment that make restful sleep more likely. It is not a single technique or a formal treatment. Rather, it is a foundation on which sleep can be organised.
These recommendations can make a difference for people who generally sleep reasonably well but have gone through a difficult period, or who want to protect their sleep during times of greater stress. For anyone who has had insomnia for months, they are a starting point, but not the complete treatment.
An honest look at what the evidence says
The 2023 European guideline on insomnia recommends cognitive behavioural therapy for insomnia as the first-line treatment. Sleep hygiene education is one component, alongside more active techniques such as restricting time in bed, stimulus control and addressing the thoughts that perpetuate insomnia. Sleep hygiene alone is not considered sufficient treatment for chronic insomnia.
This is because the main problem in chronic insomnia is not usually coffee or the light in the bedroom, but a self-perpetuating cycle of alertness, worry and compensatory habits. Changing the environment alone rarely breaks this cycle. Even so, some habits have a genuine impact, and these are worth focusing on.
| Recommendation | Evidence of benefit | Comment |
|---|---|---|
| Regular wake-up time | Good, particularly as part of therapy | Stabilises the body clock |
| Natural light in the morning | Reasonable | Light therapy is recommended as an adjunct in the European guideline |
| Regular exercise | Reasonable | A useful adjunct, with an intermediate strength of recommendation |
| Avoid caffeine in the afternoon | Reasonable | Effect varies from person to person |
| Avoid alcohol in the evening | Good evidence of adverse effects on sleep | Disrupts sleep |
| Dark, quiet bedroom | Reasonable | More important in noisy environments |
| Specific rituals (warm milk, herbal teas) | Weak | Harmless, with any benefit mainly coming from the routine |
Regular hours: the most underestimated measure
The body clock thrives on regularity. Going to bed and getting up at very different times during the week, particularly sleeping very late at weekends, causes a kind of social jet lag that makes it harder to fall asleep on Sunday night and wake up on Monday morning.
The most effective measure is not going to bed early, but always getting up at the same time, even after a bad night. It may seem harsh, but this builds greater sleep pressure for the following night. Bedtime should be guided by sleepiness: go to bed when sleepy, not simply because "it is time" or to make up for the previous night.
Light and screens
Light is the main signal that sets the body clock. Bright light in the morning, particularly natural light, helps maintain its rhythm and promotes sleepiness at night. Bright light in the evening, by contrast, delays sleepiness.
Screens (mobile phones, computers and televisions) are often portrayed as the villains. Evidence suggests that the problem lies less in the light itself and more in the content: work messages, social media, news or games keep the brain alert. Switching off screens some time before bed and creating a calm routine is reasonable advice, without needing to dramatise occasional use.
| Time of day | What helps | What to avoid |
|---|---|---|
| Morning | Go outside or open the windows, natural light | Stay in the dark until late |
| Afternoon | Activity, daylight | Long naps late in the afternoon |
| Night | Softer light, calm activities | Work, arguments, stimulating content |
| In bed | Darkness, quiet | Mobile phone, repeatedly checking the time |
Caffeine, alcohol, nicotine and meals
Caffeine is found in coffee, black and green tea, cola, energy drinks and chocolate. Its stimulant effect lasts several hours, and some people are very sensitive to it. Anyone who sleeps poorly would be wise to avoid caffeine from early afternoon onwards.
Alcohol deserves special mention because it is often used to "relax" and fall asleep. It may indeed shorten the time it takes to fall asleep, but it disrupts sleep in the second half of the night, worsens snoring and sleep apnoea and, over time, promotes insomnia. Nicotine is a stimulant, and overnight withdrawal can cause smokers to wake up.
| Substance or habit | Effect on sleep | Suggestion |
|---|---|---|
| Caffeine | Makes it harder to fall asleep and sleep lighter | Avoid from early afternoon onwards |
| Alcohol | Disrupts sleep, worsens snoring | Avoid in the evening; never use it to sleep |
| Nicotine | Stimulant | Seek support to stop smoking |
| Late, heavy meal | Discomfort, heartburn | Have a lighter evening meal, not too late |
| Plenty of fluids in the evening | Getting up to urinate | Cut down in the hours before bed |
| Intense hunger | Makes it harder to fall asleep | A light snack may help |
Physical exercise
Regular physical activity is associated with better sleep quality, and the European guideline considers exercise a useful adjunct to insomnia treatment. It need not be intense: regular walking, cycling, swimming or another enjoyable activity will help.
There is little support for the idea that any exercise in the evening ruins sleep. For most people, moderate exercise at the end of the day is not harmful. Very intense exercise immediately before bed may make it harder for some people to fall asleep; in such cases, it is worth doing it earlier.
The bedroom
As far as possible, the bedroom should be dark and quiet, at a comfortable temperature and with a suitable bed. In homes affected by street noise, earplugs or better-insulated windows may help. Blackout curtains or an eye mask are useful in bedrooms with a lot of outside light.
What happens in the bedroom also matters. Using the bed to work, watch series or argue about problems teaches the brain to associate it with alertness. Reserving the bed for sleep and intimacy is one of the stimulus-control techniques used in cognitive behavioural therapy for insomnia.
Naps
Naps are neither good nor bad in themselves. A short nap in the early afternoon can be restorative for someone who sleeps well at night. For people with insomnia, naps, particularly long ones late in the afternoon, reduce sleep pressure at night and can perpetuate the problem.
If you have insomnia, the general rule is to avoid naps, or keep them short and early. Severe daytime sleepiness deserves particular attention, especially if it causes you to fall asleep unintentionally, for example while driving. It may point to another problem, such as sleep apnoea, and should be assessed.
Common myths
Some widespread ideas end up increasing anxiety about sleep or encouraging counterproductive habits.
| Myth | What is known |
|---|---|
| "Everyone needs eight hours" | Needs vary; what matters is how you feel during the day |
| "If I cannot sleep, staying in bed to rest makes up for it" | Spending a long time awake in bed tends to perpetuate insomnia |
| "One bad night completely ruins the following day" | The body copes with occasional bad nights better than people think |
| "A glass of wine helps you sleep" | It helps you fall asleep, but worsens sleep quality |
| "Natural products are always safe" | There is insufficient evidence, and they may interact with medicines |
| "Going to bed earlier solves it" | It may increase the time spent awake in bed |
The European guideline does not recommend herbal products for insomnia, and the American guideline on pharmacological treatment specifically advised against valerian.
When sleep hygiene is not enough
If, despite looking after your habits for several weeks, you still sleep poorly at least three nights a week and this affects your day, you probably need more than sleep hygiene. The recommended treatment is cognitive behavioural therapy for insomnia, which may be delivered in person or digitally. Medication can have a role in some cases, always on prescription and generally for short periods.
It is also important to seek help if there are signs of other sleep disorders (loud snoring with pauses in breathing, discomfort in the legs at night), if insomnia is accompanied by persistent sadness, severe anxiety or thoughts of death, or if you use alcohol or non-prescription medicines to sleep. Never stop or alter any medication you are taking without speaking to your doctor.
At Clínica Alegre, in Setúbal and Seixal, an appointment begins by listening to and understanding each person's sleep habits and difficulties, so that the most suitable support can be decided together.
Frequently asked questions
If I follow every sleep hygiene rule, will my insomnia go away?
It helps considerably with occasional insomnia. For chronic insomnia, it is rarely enough on its own, and the recommended treatment is cognitive behavioural therapy.
Should I get up at the same time at weekends?
Ideally, yes, or with very little difference. Large variations disrupt the body clock.
Is watching television before bed bad for you?
It depends on the content and the person. Calm content is less problematic than work, news or social media.
Can I drink coffee?
Yes, but preferably only in the morning if you have trouble sleeping.
Are naps forbidden?
No, but people with insomnia should avoid them or keep them short and early.
Do sleep teas work?
They may form part of a calming routine, but there is no evidence that they treat insomnia.
Did you enjoy this article?
Scientific references2
- Riemann D, Espie CA, Altena E, Arnardottir ES, Baglioni C, Bassetti CLA, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. Journal of Sleep Research. 2023;32(6):e14035.
- Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2017;13(2):307-349.





