Mental health

Sleep hygiene tips: how to sleep better when you are stressed

Habits that help you fall asleep and stay asleep when stress or anxiety keeps you up, what to do on nights you can't sleep, advice for shift workers, and when to get help.

By Nurse on DutyUpdated 6 min readNurse-reviewed
Sleep hygiene tips featured image with habits to help you sleep better when stressed
On this page
  1. What is sleep hygiene?
  2. Signs you may have insomnia
  3. Sleep hygiene tips that actually help
  4. What to do when you cannot sleep
  5. Sleep tips for nurses and shift workers
  6. Treatment for insomnia
  7. When to get medical help
  8. Where to get help
  9. Frequently asked questions

Good sleep hygiene starts with a few habits: getting up at the same time every day, winding down for an hour before bed, keeping your bedroom dark, quiet, and cool, and cutting back on caffeine, alcohol, and late-night screens. They work best when you stick with them for a few weeks. If poor sleep keeps affecting your life, a type of talking therapy called CBT for insomnia can help.

Key points

  • Sleep and mental health are closely linked. Stress, anxiety, and depression can disturb sleep, and poor sleep can make them harder to cope with.
  • A regular wake-up time is one of the most effective habits for resetting your body clock.
  • If you can’t sleep after about 20 minutes, get up and do something calm until you feel sleepy.
  • See a doctor if your sleep problems last for months or affect your daily life.

What is sleep hygiene?

Sleep hygiene means the daily habits, and the bedroom set-up, that make it easier to fall asleep and stay asleep. The idea is to give your brain steady signals that night-time is for resting.

The CDC recommends that adults aged 18 to 60 get 7 or more hours of sleep a night. The NHS notes that stress, anxiety, depression, noise, caffeine, alcohol, and shift work are among the most common reasons people struggle to sleep.

Signs you may have insomnia

According to the NHS, you may have insomnia if you regularly:

  • find it hard to fall asleep, or lie awake for long stretches
  • wake several times in the night, or wake too early and can’t get back to sleep
  • still feel tired after waking up
  • feel irritable or find it hard to concentrate during the day

Sleep hygiene tips that actually help

During the day

Get up at the same time every day, weekends and days off included, even after a bad night. Move your body regularly, but finish any hard exercise a few hours before bed. Keep naps short: Mayo Clinic suggests about 30 minutes, and no naps after 3 p.m. if you sleep at night. And watch your caffeine. Skip coffee, tea, and energy drinks in the afternoon and evening, and check medicines for hidden stimulants.

In the evening

Give yourself at least an hour to wind down with something calming, like a warm bath, reading, gentle music, prayer, or slow breathing. The CDC advises putting screens away at least 30 minutes before bed. Avoid big meals and alcohol close to bedtime; alcohol might make you drowsy, but it can disrupt your sleep.

It also helps to park your worries before you go to bed. Write tomorrow’s to-do list, or a few lines about whatever’s on your mind, so your brain doesn’t go over it all once you’re lying down.

In the bedroom

Keep the room dark, quiet, and cool, and use a comfortable mattress and pillow. Keep your bed for sleep and intimacy, and do your work, scrolling, and watching shows somewhere else.

What to do when you cannot sleep

  1. Don’t force it. Trying hard to sleep usually makes you more alert.
  2. If you’re still awake after about 20 minutes, get up and go somewhere dim and quiet.
  3. Do something calm and boring, like reading a paper book or slow breathing, until you feel sleepy.
  4. Only go back to bed when you feel drowsy, and repeat if you need to.

If racing thoughts or a pounding heart keep you awake, our guide to panic attack symptoms explains grounding and breathing techniques that can help at night too.

Sleep tips for nurses and shift workers

Rotating and night shifts make sleep hygiene harder, but the same principles still help. On work days, keep your main sleep at the same time when you can, and protect it like an appointment. Blackout curtains, an eye mask, earplugs, and a cool room all make sleeping in the daytime easier. Avoid caffeine in the last part of your shift so it doesn’t keep you awake when you get home, and never drive when you’re very sleepy; get a lift, or rest first.

Exhaustion that doesn’t go away, dreading your shifts, or feeling detached from work can be signs of burnout. You can read more in signs of nurse burnout and how to recover.

Treatment for insomnia

The NHS and Mayo Clinic recommend cognitive behavioural therapy for insomnia (CBT-I) as a first step. It helps you change the thoughts and habits that keep you awake, and you can do it in person or through an online programme.

Sleeping pills are rarely the first choice. Prescription sleep medicines are usually only used for a short time, because of side effects and the risk of dependence, and over-the-counter sleep aids aren’t meant for regular use. Talk to your doctor or pharmacist before trying any sleep medicine or herbal remedy.

When to get medical help

  • Changing your sleep habits hasn’t helped after a few weeks.
  • You’ve had trouble sleeping for months.
  • Poor sleep is affecting your work, mood, safety, or relationships.
  • You snore loudly, stop breathing in your sleep, or get uncomfortable feelings in your legs at night, which can be signs of other sleep disorders.
  • Low mood, constant worry, or hopelessness is keeping you awake. Help is available, and treating these often improves sleep as well.

Where to get help

If you, or someone you care about, are in danger or may not be safe, call your local emergency number now or go to the nearest emergency department. You can also contact these free crisis lines:

  • Philippines: NCMH Crisis Hotline, 1553 (nationwide landline, toll-free), or 0917-899-8727 and 0966-351-4518 (Globe/TM)
  • USA: 988 Suicide & Crisis Lifeline. Call or text 988, or chat at 988lifeline.org
  • UK and Ireland: Samaritans. Call 116 123, free, day or night
  • Anywhere else: your local emergency number, or a doctor, nurse, or mental health service near you

Crisis numbers were checked on official sources on 26 October 2026.

Frequently asked questions

How long does it take for sleep hygiene to work?

Most people need a few weeks of consistent habits before their sleep feels noticeably better, because the body clock adjusts gradually, and the first few nights can even feel harder. Keep your wake-up time steady, don’t sleep in to catch up, and be patient. If nothing has improved after several weeks, talk to a doctor about CBT for insomnia.

Can anxiety cause insomnia?

Yes. The NHS lists stress, anxiety, and depression among the most common causes of insomnia. Worry keeps the body alert, which makes it hard to switch off at night, and poor sleep can then make the anxiety worse. Calming routines, CBT for insomnia, and treating the anxiety itself can all help break that cycle.

Is it bad to use my phone in bed?

It can keep your mind busy and push back the time you fall asleep. The CDC suggests putting screens away at least 30 minutes before bed. If your phone is your alarm, keep it face down and out of reach, and switch on do-not-disturb mode overnight.

Sources

This article is for education only and doesn’t replace advice from your own doctor, nurse, or other qualified health professional.

About Nurse on Duty

Nurse on Duty writes and reviews every article on Nurses Notes, turning clinical guidance and healthcare news into clear notes for nurses, students and families.

Follow @nursesnotes on Instagram

Keep reading