What can you do if you have trouble sleeping?

Photo of an exhausted man

Roughly a third of people sometimes have trouble sleeping. It is often difficult to say why exactly. Changing your sleeping habits can help you fall asleep faster and get more restful sleep. Relaxation techniques and physical exercise can help too.

Many people who want to get a better night's sleep look for solutions other than sleeping pills. It is easiest to find a solution if the problems are caused by habits that can be changed, such as drinking coffee too late in the day or going to bed at different times each day. Relaxation techniques can be worth a try too. It is also important to not worry about getting too little sleep. Lying in bed and worrying about not being able to fall asleep can actually prevent you from sleeping.

Which bedtime habits can you change?

There are many different things you can do to change your bedtime habits. You can try them out at home or learn about them in a course. Research hasn't clearly shown which approaches are likely to work best.

Sleep hygiene

Good “sleep hygiene” mainly involves making sure you have a pleasant space to sleep in and a regular sleeping pattern, and also adopting habits that help you sleep better. Things you can do include:

  • Not drinking alcohol, coffee or tea and avoiding other stimulants four to six hours before going to bed.
  • Not smoking before bedtime or during the night.
  • Avoiding heavy meals and spicy foods before going to bed.
  • Getting physical exercise during the day, but avoiding exercise right before going to bed.
  • Making sure your bedroom is quiet, dark and not too hot or cold.
  • Going to bed and getting up at around the same time every day.

It is also a good idea not to listen to loud music, or work or play on a computer or smartphone in the time before you go to bed. If background noise is disturbing your sleep, earplugs might be worth a try.

Illustration: Sleep hygiene: Tips for sleeping better – as described in the article

Stimulus control

The aim of stimulus control is to help improve your sleep-wake cycle by creating a strong association between your bed and sleeping. A fixed schedule and specific bedtime habits are needed. For instance:

  • Make it a basic rule to only go to bed when you feel tired.
  • Get up if you are having difficulty getting (back) to sleep.
  • Only use your bed for sleeping (and sex), and not for reading, watching TV or eating.
  • Always get up at the same time in the morning.
  • Get up as soon as the alarm clock goes off and don’t use the snooze function.

Limiting sleep time (Sleep restriction therapy )

In this approach, you limit the time you spend in bed to the time when you’re actually asleep. For example, if you usually spend eight hours in bed, but only sleep six hours, then the idea is that you should reduce your time in bed so it’s not much more than six hours.

Keeping a sleep diary can help you work out how long you sleep on average. Once you know that, you can use your wake-up time to calculate the best time for you to go to sleep. For instance, if your alarm is set for 6:00 a.m. and you need six hours' sleep, you work backwards from 6:00 a.m., subtracting six hours plus half an hour to fall asleep. So 11:30 p.m. would be a good time to go to bed.

Can napping during the day help?

There are conflicting theories and research results about whether it's a good or bad idea to nap during the day. Some studies have looked at whether napping during the day can make up for not getting enough sleep at night, helping you to do things like drive more safely. Other researchers have studied whether napping helps you sleep better at night or perhaps even has the opposite effect, making you sleep worse at night instead. There are no clear results yet.

How do relaxation techniques work?

The aim of relaxation techniques is to relax your body and mind. They are meant to reduce physical tension and interrupt the thoughts that are affecting sleep.

There are different types of relaxation techniques, including:

  • Progressive muscle relaxation, also called Jacobson's or deep muscle relaxation: This technique involves tensing groups of muscles all over the body one by one, and then consciously relaxing them again.
  • Autogenic training: This approach involves focusing awareness on different parts of the body and consciously relaxing them. At an advanced level, even involuntary body functions like your pulse and breathing can be influenced in order to reach a very deep state of physical relaxation.
  • Imagery (visualizations): Another common type of relaxation training is imagery, where you visualize peaceful, pleasant scenes or imagine yourself breathing quietly, gently falling asleep and having a good night's sleep.
  • Breathing exercises and meditation.
  • Gentle physical exercise like going for a walk, doing simple yoga exercises or tai chi.
  • Biofeedback: This method helps you to see how your body reacts to tension and relaxation. It involves placing electrodes on your body to measure muscle tension, your pulse and brain activity. You can monitor these different measurements on a screen and see how muscle relaxation or thinking particular thoughts affects them. Biofeedback can be done at the doctor's or by using a portable device at home once you've been shown how to use it.

A lot of relaxation techniques can be learned in courses, an audio or online tutorial, or with the help of an app.

Can physical activity improve your sleep?

Exercise can help you relax. Exercise involving regular movements, such as jogging and brisk walking, is particularly good. But the research so far hasn't clearly shown that physical activity leads to a noticeable improvement in people with sleep disorders.

What about acupuncture and similar remedies?

Some people who have trouble sleeping try or acupressure. Various studies have been carried out on the effect of these treatments on sleep problems, but no clear conclusions can be drawn yet.

Can home remedies help?

Sometimes, people use home remedies to try to get a better night's sleep. These include:

  • Warm drinks: Drink a cup of warm milk, or chamomile or valerian tea
  • Heat: Take a warm shower or bath, or soak your feet in warm water
  • Essential oils like chamomile or lavender

People often find home remedies comforting. These remedies are unlikely to have any negative effects, but it's not clear whether they do actually help improve sleep. So, as with many issues surrounding sleep, the best thing to do is try things out and see what works best for you.

Banno M, Harada Y, Taniguchi M et al. Exercise can improve sleep quality: a systematic review and meta-analysis. PeerJ 2018; 6: e5172.

Brasure M, MacDonald R, Fuchs E et al. Management of Insomnia Disorder (AHRQ Comparative Effectiveness Reviews; Volume 159). 2015.

Cao HJ, Yu ML, Wang LQ et al. Acupuncture for Primary Insomnia: An Updated Systematic Review of Randomized Controlled Trials. J Altern Complement Med 2019; 25(5): 451-474.

Chen MC, Yang LY, Chen KM et al. Systematic Review and Meta-Analysis on Using Acupressure to Promote the Health of Older Adults. J Appl Gerontol 2020; 39(10): 1144-1152.

Haghayegh S, Khoshnevis S, Smolensky MH et al. Before-bedtime passive body heating by warm shower or bath to improve sleep: A systematic review and meta-analysis. Sleep Med Rev 2019; 46: 124-135.

He W, Li M, Zuo L et al. Acupuncture for treatment of insomnia: An overview of systematic reviews. Complement Ther Med 2019; 42: 407-416.

Hieu TH, Dibas M, Surya Dila KA et al. Therapeutic efficacy and safety of chamomile for state anxiety, generalized anxiety disorder, insomnia, and sleep quality: A systematic review and meta-analysis of randomized trials and quasi-randomized trials. Phytother Res 2019; 33(6): 1604-1615.

Lin PC, Lee PH, Tseng SJ et al. Effects of aromatherapy on sleep quality: A systematic review and meta-analysis. Complement Ther Med 2019; 45: 156-166.

Lowe H, Haddock G, Mulligan LD et al. Does exercise improve sleep for adults with insomnia? A systematic review with quality appraisal. Clin Psychol Rev 2019; 68: 1-12.

Rash JA, Kavanagh VA, Garland SN. A Meta-Analysis of Mindfulness-Based Therapies for Insomnia and Sleep Disturbance: Moving Towards Processes of Change. Sleep Med Clin 2019; 14(2): 209-233.

Ruggiero JS, Redeker NS. Effects of napping on sleepiness and sleep-related performance deficits in night-shift workers: a systematic review. Biol Res Nurs 2014; 16(2): 134-142.

IQWiG health information is written with the aim of helping people understand the advantages and disadvantages of the main treatment options and health care services.

Because IQWiG is a German institute, some of the information provided here is specific to the German health care system. The suitability of any of the described options in an individual case can be determined by talking to a doctor. informedhealth.org can provide support for talks with doctors and other medical professionals, but cannot replace them. We do not offer individual consultations.

Our information is based on the results of good-quality studies. It is written by a team of health care professionals, scientists and editors, and reviewed by external experts. You can find a detailed description of how our health information is produced and updated in our methods.

Comment on this page

What would you like to share with us?

We welcome any feedback and ideas - either via our form or by gi-kontakt@iqwig.de. We will review, but not publish, your ratings and comments. Your information will of course be treated confidentially. Fields marked with an asterisk (*) are required fields.

Please note that we do not provide individual advice on matters of health. You can read about where to find help and support in Germany in our information “How can I find self-help groups and information centers?

Über diese Seite

Updated on March 3, 2022

Next planned update: 2025


Institute for Quality and Efficiency in Health Care (IQWiG, Germany)

How we keep you informed

Follow us on Twitter or subscribe to our newsletter or newsfeed. You can find all of our films online on YouTube.