This article was co-authored by Jennifer Boidy, RN. Jennifer Boidy is a Registered Nurse in Maryland. She received her Associate of Science in Nursing from Carroll Community College in 2012.

There are 46 references cited in this article, which can be found at the bottom of the page.

Sleep is integral to good physical health and mental well-being. Occasionally, it may be difficult getting to bed on time and to fall or stay asleep. By optimizing sleeping conditions and maintaining a bedtime routine, also known as practicing good “sleep hygiene,” you can train yourself to go to bed on time and get a good night’s sleep. You can also turn all the lights off, make sure your phone is off, and reduce noise in your bedroom.

Steps

Part 1

Figuring Out Your Sleep Requirements

1

Find out how much sleep you need. Everyone needs adequate sleep to function properly and to stay healthy, but sleep requirements vary by age and activity level. Understanding how much sleep you need can help you plan for a good night’s sleep.[1]

Lack of sleep also affects mental performance such as the ability to focus. It may affect your ability to do your job well.[13]

3

Keep a sleep diary. When you wake up every day, record in a sleep diary how long and well you slept, and how you felt after waking up. Your sleep diary can help you identify patterns that are hindering (or helping) your sleep.[14]

Your sleep diary may indicate factors that are impacting your sleep. Remove or adjust these as necessary and continue to write in your diary. For example, you might notice that on days you nap that you don’t sleep as well at night. If this is the case, try skipping your nap and see if that helps you get to sleep on time.

Talk to your doctor if you have trouble sleeping over a long period of time or notice distinct patterns in your sleep.[15]

4

Adjust your sleep patterns as necessary. There will be circumstances in which you need to adjust your sleeping habits. From high stress events to illness and even to just identifying problems in your sleeping habits with a sleep diary, adjusting your sleep to these situations will help you get enough sleep and maintain your health.

Accommodate for situations that require you to change your sleep. Be flexible in your schedule and sleep habits to accommodate events that will disrupt your sleep. By adjusting your sleep plans before and after the event, you can make sure you aren’t negatively affected by the change.

If you know that you’re about to enter a particularly stressful time at work, home, or school, you would also want to adjust your sleep patterns to make sure that a lack of sleep doesn’t cause you more stress.

Part 2

Optimizing the Conditions for Sleeping

1

Avoid naps if you have trouble sleeping. Naps are a popular way to take a break and recharge during the day. But they can also have the side effect of keeping you from falling and staying asleep. Avoiding naps during the day may help you fall and stay asleep.[16]

If you find that you need a nap or naps, take it before 5pm and keep it short. Thirty minutes is enough to help you refresh and recharge.[17]

If you find that you need multiple naps during the day or are just generally exhausted at times when you should be awake, consult your doctor to rule out medical conditions.[18]

2

Set a fixed bedtime. Establish a reasonable time to get to bed on most days, including weekends. Having this designated bedtime will help regulate your circadian rhythms, or body clock, and may also help you fall asleep and stay asleep throughout the night.[19]

When you set your bedtime, make sure that you consider factors like exercise, eating, and alcohol consumption. You want to make sure your body has at least two to three hours to process these activities before you go to bed.[20]

The best way to set your internal body clock is to wake up at the same time every day, even if you had a bad night’s sleep.[21]

Don’t set a bedtime that is too late or one that corresponds to when you feel tired so that you don’t stay alert and in turn not get tired.[22]

Stick to this schedule as much as possible and adjust it if necessary.[23]

3

Create a comfortable sleeping environment. You won’t want or be able to sleep if your bedroom isn’t comfortable. By controlling factors such as the temperature and darkness, having comfortable bedding, and removing stimulating electronics, you will help yourself get to bed on time and fall and stay asleep. Alternatively, use software and features like Night Shift and F.lux.

Set temperature in bedroom to between 60 to 75 °F (15.6 to 23.9 °C) for optimal sleeping conditions.[24]

Keep computers, TV and work materials out of room to strengthen association between bedroom and sleep.[25]

Light stimulates you to be awake, so make sure that your room is dark enough to sleep. You can use curtains or eye masks to help with rooms that are exposed to a lot of light.[26]

Noise will also keep you from getting to sleep. Keep your room as quiet as possible and consider a white noise machine to combat any loud noises that may filter into your bedroom.[27]

A comfortable mattress, pillows, and bedding can make you want to get to bed on time.[28]

4

Exercise early in the day. Exercising early in the day can help you fall and stay asleep because it tires your body and will also relax you. But avoid exercising too close to your bedtime, which may stimulate you and keep you from sleeping.

Exercise at least three hours before bed so that your body temperature and cortisol levels can return to normal. Higher body temperature can make it difficult to sleep and having more cortisol in your system from exercise may stimulate you.[29]

Avoid caffeinated and alcoholic beverages and cigarettes. Caffeine, alcohol, and cigarettes are stimulants that will interrupt your sleep. Avoiding them before bedtime will help you get to and stay asleep.

If you consume nicotine or caffeine, avoid them within four to six hours of your bedtime.[32]

Limit yourself to one to two alcoholic drinks per day or less and avoid drinking within three hours of bedtime.[33]

Even though alcohol might help you fall asleep, after a few hours it acts as a stimulant.[34]

6

Avoid late or heavy meals. Eating too close to your bedtime or having heavy meals can affect your ability to sleep. Plan to eat lighter fare at dinner and within a few hours of your bedtime to ensure that you are able to get and stay asleep.

If you’re hungry before bedtime, have a snack about an hour before you turn out the lights.[37]

7

Start winding down. Your body needs time to shift into sleep mode. Taking an hour or so to begin winding down before bed will signal your body and brain that it’s time to sleep and help you get the best night’s rest.[38]

Avoid electronics such as televisions, laptops, tablets, and smart phones within an hour of your bedtime. Not only can shows, work, or social media stimulate your brain, but the light from these devices also makes it difficult for your body to fall asleep.[39]

Dim the lights in your home and bedroom. Light will stimulate you, so dimming the lights within an hour of your bedtime signals your brain that it’s slowly time to go to bed.[40]

Having a calming bedtime ritual will help you wind down for a good night’s sleep.

8

Create a bedtime ritual. Once you’ve begun to wind down and are close to bedtime, having a set ritual will further clues your body that it’s time to go to bed. There are different activities you can do as a part of your ritual such as having tea or a warm bath.

A bedtime routine reduces anxiety, stress or excitement that can make it difficult to fall or stay asleep.[41]

Reading a book in bed with the lights dimmed will relax and entertain you while not overstimulating you.

A warm cup of herbal tea such as lavender or chamomile will relax you and help you sleep.[42]

A warm bath is not only relaxing, but the rise and fall in body temperature it causes will promote drowsiness[43]

9

Go to bed even if you’re not tired. Go to bed at the same time every night whether or not you’re tired. Sticking to this consistent sleep routine will help you get to sleep and stay asleep throughout the night.[44]

Getting into a comfortable bed with the lights dimmed may help you get to sleep faster even if you don’t feel tired.

If you can’t fall asleep within 20 minutes of going to bed, go to another room and do something relaxing until you feel tired enough to sleep.[45]

10

See a doctor if sleep problems continue. If, despite all of your efforts to get a good night’s sleep, you are unable to get to sleep or stay asleep, then consult with your healthcare provider. You may have insomnia, a sleep disorder in which you have difficulty falling and/or staying asleep.[46]

Try calming activities before bedtime. Lower the lights, drink warm herbal tea, take a warm bath, read a book. Avoid screen time (t.v., computer, electronic device) for at least an hour before bed as well as caffeine.

I have an asthmatic condition that prevents me from falling asleep easily. Is there anything I can do to comfortably fall asleep?

wikiHow Contributor

Community Answer

With asthma, your priority is to do what you need to do to be able to breathe easier. Breathing easier will help you sleep better. If you have an albuterol inhaler, you can take a quick hit from it before you lay down. If you don't, you should see your doctor about getting one, as an inhaler can literally save your life in an emergency. Aside from that, just try your best to relax and not think too much about your condition.

What time you sleep matters less than ensuring you get enough sleep and maintain a consistent schedule. At your age, you should be getting 8-10 hours of sleep per night. So determine what time you need/want to wake up in the morning and go to bed 8-10 hours before that.

Use a sleep monitor app on your phone, such as SleepCycle. It uses your phone's microphone to sense when your motion decreases, accurately reflecting when you fall asleep. A bonus is that you can set a range of time for your desired wake-up, and it will wake you at the end of a sleep cycle, leaving you refreshed. After you wake up, the app tells you how long you slept, along with other details.

Tips

Turn down the lights well before bedtime, including on your computer monitor, to ready your body for sleep.

Try to read a book or magazine to get your eyes tired, which can help you fall asleep.

Put your phone on the other end of your room altogether.

Before going to bed, turn on "do not disturb" mode on your smart phone or other tablet device. If you receive a text, email, or other alert, the phone will not make a noise, and won’t interrupt your sleep.

An hour before bed, play relaxing music. Keep the device you're using to play the music on the other side of the room so that you're not tempted to use it.

Keep all of your electronic devices out of your bedroom. This will stop you from browsing the web in the middle of the night.

Get comfortable and turn on a fan if you need to so you won't move around all night.

"I liked that it was really interesting, with some photos as well. It had several points as well as different examples. Also, I enjoyed the fact that it was suitable for all lifestyles and ages/genders."..." more

KB

Kelly Brewer

Feb 19, 2018

"I had to take a test and was not functioning because I had no sleep. After I read this article, I followed it and went to sleep better."..." more

EW

Ella Wula

Apr 2, 2017

"It helps me know how to go to sleep a lot faster than usual and how fast I can go to sleep."