Depending on your situation, the diagnosis of insomnia and the search for its cause may include:
- Physical exam. If the cause of insomnia is unknown, your doctor may do a physical exam to look for signs of medical problems that may be related to insomnia. Occasionally, a blood test may be done to check for thyroid problems or other conditions that may be associated with poor sleep.
- Sleep habits review. In addition to asking you sleep-related questions, your doctor may have you complete a questionnaire to determine your sleep-wake pattern and your level of daytime sleepiness. You may also be asked to keep a sleep diary for a couple of weeks.
- Sleep study. If the cause of your insomnia isn't clear, or you have signs of another sleep disorder, such as sleep apnea or restless legs syndrome, you may need to spend a night at a sleep center. Tests are done to monitor and record a variety of body activities while you sleep, including brain waves, breathing, heartbeat, eye movements and body movements.
Changing your sleep habits and addressing any issues that may be associated with insomnia, such as stress, medical conditions or medications, can restore restful sleep for many people. If these measures don't work, your doctor may recommend cognitive behavioral therapy, medications or both, to help improve relaxation and sleep.
Cognitive behavioral therapy for insomnia
Cognitive behavioral therapy for insomnia (CBT-I) can help you control or eliminate negative thoughts and actions that keep you awake and is generally recommended as the first line of treatment for people with insomnia. Typically, CBT-I is equally or more effective than sleep medications.
The cognitive part of CBT-I teaches you to recognize and change beliefs that affect your ability to sleep. It can help you control or eliminate negative thoughts and worries that keep you awake. It may also involve eliminating the cycle that can develop where you worry so much about getting to sleep that you can't fall asleep.
The behavioral part of CBT-I helps you develop good sleep habits and avoid behaviors that keep you from sleeping well. Strategies include, for example:
- Stimulus control therapy. This method helps remove factors that condition your mind to resist sleep. For example, you might be coached to set a consistent bedtime and wake time and avoid naps, use the bed only for sleep and sex, and leave the bedroom if you can't go to sleep within 20 minutes, only returning when you're sleepy.
- Relaxation techniques. Progressive muscle relaxation, biofeedback and breathing exercises are ways to reduce anxiety at bedtime. Practicing these techniques can help you control your breathing, heart rate, muscle tension and mood so that you can relax.
- Sleep restriction. This therapy decreases the time you spend in bed and avoids daytime naps, causing partial sleep deprivation, which makes you more tired the next night. Once your sleep has improved, your time in bed is gradually increased.
- Remaining passively awake. Also called paradoxical intention, this therapy for learned insomnia is aimed at reducing the worry and anxiety about being able to get to sleep by getting in bed and trying to stay awake rather than expecting to fall asleep.
- Light therapy. If you fall asleep too early and then awaken too early, you can use light to push back your internal clock. You can go outside during times of the year when it's light outside in the evenings, or you can use a light box. Talk to your doctor about recommendations.
Your doctor may recommend other strategies related to your lifestyle and sleep environment to help you develop habits that promote sound sleep and daytime alertness.
Prescription sleeping pills can help you get to sleep, stay asleep or both. Doctors generally don't recommend relying on prescription sleeping pills for more than a few weeks, but several medications are approved for long-term use.
- Eszopiclone (Lunesta)
- Ramelteon (Rozerem)
- Zaleplon (Sonata)
- Zolpidem (Ambien, Edluar, Intermezzo, Zolpimist)
Prescription sleeping pills can have side effects, such as causing daytime grogginess and increasing the risk of falling, or they can be habit-forming, so talk to your doctor about these medications and other possible side effects.
Over-the-counter sleep aids
Nonprescription sleep medications contain antihistamines that can make you drowsy, but they're not intended for regular use. Talk to your doctor before you take these, as antihistamines may cause side effects, such as daytime sleepiness, dizziness, confusion, cognitive decline and difficulty urinating, which may be worse in older adults.
From Mayo Clinic to your inbox
Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus expertise on managing health.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information, and understand which
information is beneficial, we may combine your email and website usage information with
other information we have about you. If you are a Mayo Clinic patient, this could
include protected health information. If we combine this information with your protected
health information, we will treat all of that information as protected health
information and will only use or disclose that information as set forth in our notice of
privacy practices. You may opt-out of email communications at any time by clicking on
the unsubscribe link in the e-mail.
Thank you for subscribing!
You'll soon start receiving the latest Mayo Clinic health information you requested in your inbox.
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
Explore Mayo Clinic studies testing new treatments, interventions and tests as a means to prevent, detect, treat or manage this condition.
Lifestyle and home remedies
No matter what your age, insomnia usually is treatable. The key often lies in changes to your routine during the day and when you go to bed. These tips may help.
- Stick to a sleep schedule. Keep your bedtime and wake time consistent from day to day, including on weekends.
- Stay active. Regular activity helps promote a good night's sleep. Schedule exercise at least a few hours before bedtime and avoid stimulating activities before bedtime.
- Check your medications. If you take medications regularly, check with your doctor to see if they may be contributing to your insomnia. Also check the labels of OTC products to see if they contain caffeine or other stimulants, such as pseudoephedrine.
- Avoid or limit naps. Naps can make it harder to fall asleep at night. If you can't get by without one, try to limit a nap to no more than 30 minutes and don't nap after 3 p.m.
- Avoid or limit caffeine and alcohol and don't use nicotine. All of these can make it harder to sleep, and effects can last for several hours.
- Don't put up with pain. If a painful condition bothers you, talk to your doctor about options for pain relievers that are effective enough to control pain while you're sleeping.
- Avoid large meals and beverages before bed. A light snack is fine and may help avoid heartburn. Drink less liquid before bedtime so that you won't have to urinate as often.
- Make your bedroom comfortable for sleep. Only use your bedroom for sex or sleep. Keep it dark and quiet, at a comfortable temperature. Hide all clocks in your bedroom, including your wristwatch and cellphone, so you don't worry about what time it is.
- Find ways to relax. Try to put your worries and planning aside when you get into bed. A warm bath or a massage before bedtime can help prepare you for sleep. Create a relaxing bedtime ritual, such as taking a hot bath, reading, soft music, breathing exercises, yoga or prayer.
- Avoid trying too hard to sleep. The harder you try, the more awake you'll become. Read in another room until you become very drowsy, then go to bed to sleep. Don't go to bed too early, before you're sleepy.
- Get out of bed when you're not sleeping. Sleep as much as you need to feel rested, and then get out of bed. Don't stay in bed if you're not sleeping.
Many people never visit their doctor for insomnia and try to cope with sleeplessness on their own. Although in many cases safety and effectiveness have not been proved, some people try therapies such as:
- Melatonin. This over-the-counter (OTC) supplement is marketed as a way to help overcome insomnia. It's generally considered safe to use melatonin for a few weeks, but no convincing evidence exists to prove that melatonin is an effective treatment for insomnia, and the long-term safety is unknown.
- Valerian. This dietary supplement is sold as a sleep aid because it has a mildly sedating effect, although it hasn't been well-studied. Discuss valerian with your doctor before trying it. Some people who have used high doses or used it long term may have had liver damage, although it's not clear if valerian caused the damage.
- Acupuncture. There's some evidence that acupuncture may be beneficial for people with insomnia, but more research is needed. If you choose to try acupuncture along with your conventional treatment, ask your doctor how to find a qualified practitioner.
- Yoga or tai chi. Some studies suggest that the regular practice of yoga or tai chi can help improve sleep quality.
- Meditation. Several small studies suggest that meditation, along with conventional treatment, may help improve sleep and reduce stress.
Caution regarding herbal and dietary sleep aids
Because the Food and Drug Administration does not mandate that manufacturers show proof of effectiveness or safety before marketing dietary supplement sleep aids, talk with your doctor before taking any herbal supplements or other OTC products. Some products can be harmful and some can cause harm if you're taking certain medications.
Preparing for your appointment
If you're having sleep problems, you'll likely start by talking to your primary care doctor. Ask if there's anything you need to do in advance, such as keep a sleep diary. Take your bed partner along, if possible. Your doctor may want to talk to your partner to learn more about how much and how well you're sleeping.
What you can do
Prepare for your appointment by making a list of:
- Any symptoms you're experiencing, including any that may seem unrelated to the reason for the appointment.
- Personal information, including new or ongoing health problems, major stresses or recent life changes.
- All medications, over-the-counter medications, vitamins, and herbal or other supplements that you're taking, including dosages. Let your doctor know about anything you've taken to help you sleep.
- Questions to ask your doctor to make the most of your appointment time.
Basic questions to ask your doctor include:
- What is likely causing my insomnia?
- What's the best treatment?
- I have these other health conditions. How can I best manage them together?
- Should I go to a sleep clinic? Will my insurance cover it?
- Are there any brochures or other printed material that I can have?
- What websites do you recommend?
Don't hesitate to ask other questions during your appointment.
What to expect from your doctor
Your doctor may ask you several questions, such as those below.
About your insomnia:
- How often do you have trouble sleeping, and when did the insomnia begin?
- How long does it take you to fall asleep?
- Do you snore or wake up choking for breath?
- How often do you awaken at night, and how long does it take you to fall back to sleep?
- What is your response when you can't sleep?
- What have you tried to improve your sleep?
About your day:
- Do you feel refreshed when you wake up, or are you tired during the day?
- Do you doze off or have trouble staying awake while sitting quietly or driving?
- Do you nap during the day?
- What do you typically eat and drink in the evening?
About your bedtime routine:
- What is your bedtime routine?
- Do you currently take any medications or sleeping pills before bed?
- What time do you go to bed and wake up? Is this different on weekends?
- How many hours a night do you sleep?
About other issues that may affect your sleep:
- Have you experienced any stressful events recently?
- Do you use tobacco or drink alcohol?
- Do you have any family members with sleep problems?
- What medications do you take regularly?
Oct. 15, 2016