Insomnia — What It Is, What Causes It, and How to Treat It
Insomnia is a sleep disorder where you have trouble falling asleep, staying asleep, or both. This happens even when you have a reasonable chance to sleep…
· By Mark Plexousakis, DO
Insomnia is a sleep disorder where you have trouble falling asleep, staying asleep, or both. This happens even when you have a reasonable chance to sleep. It is not contagious. You cannot catch it from another person the way you catch a cold. This page explains what insomnia is, what drives it, and what you and your doctor can do about it.
What Is Insomnia?
Insomnia is the complaint of poor sleep that affects your daily life. People with insomnia often feel tired, irritable, and mentally foggy during the day [1]. There are two main types:
Acute (short-term) insomnia lasts less than three months. It affects more than 30% of adults at some point. It is usually triggered by a stressful life event, a major illness, a job change, a new medication, or substance use [1].
Chronic insomnia lasts more than three months. It affects about 10% of adults. It is more common in women, older adults, people with lower incomes, and those who have medical, psychiatric, or substance use conditions [1]. Among adults over age 65, close to 30% report bothersome insomnia [2].
Is insomnia contagious? No. Insomnia is not caused by a germ or virus that spreads between people. It develops from a mix of biology, behavior, stress, and medical factors. None of these can be passed to someone else [1].
What Are the Symptoms?
The core symptoms of insomnia are:
- Trouble falling asleep at bedtime
- Waking up during the night and struggling to get back to sleep
- Waking up earlier than planned and not being able to fall back asleep
- Feeling unrefreshed in the morning even after a full night in bed
- Daytime fatigue, low mood, or irritability
- Difficulty concentrating, remembering things, or making decisions
- Reduced performance at work, school, or in social situations [1]
Symptoms must be present despite having enough time and a reasonable environment for sleep. If you are sleeping poorly because of a noisy apartment or a newborn baby, that is a different situation than true insomnia.
What a Doctor Would Order or Prescribe
Doctors diagnose insomnia mainly through a detailed history. There is no blood test or scan that confirms insomnia on its own. Your doctor will likely ask [3]:
- What time you go to bed and wake up each day
- How long it takes you to fall asleep
- How often you wake up at night and for how long
- Whether you feel rested in the morning
- Whether you nap during the day
- Whether you snore, have restless legs, or have a bed partner who notices unusual behaviors during sleep
A bed partner or family member can provide useful information. Some people are unaware of symptoms like snoring or brief awakenings [3].
Your doctor may also ask about medications you take. Many common drugs can disrupt sleep. These include certain antidepressants, stimulants, steroids, and theophylline. Caffeine has a half-life of 6 to 9 hours. It can affect sleep for up to 8 to 14 hours after you drink it. Alcohol may help you fall asleep faster. But it often causes rebound wakefulness 2 to 3 hours later as it wears off [1].
Medical conditions that commonly cause or worsen insomnia include chronic pain, asthma, COPD (a lung disease that makes breathing hard), heart failure, and depression or anxiety [1] [2]. Your doctor may order tests to rule these out if the history suggests them.
In some cases, a sleep study may be ordered. This happens when obstructive sleep apnea (a condition where breathing stops and starts during sleep) is suspected. Sleep apnea can exist alongside insomnia and is often not diagnosed [4].
How Doctors Treat It
Cognitive behavioral therapy for insomnia (CBT-I) is the first-choice treatment recommended by sleep specialists. CBT-I is a type of talk therapy that changes unhelpful thoughts and habits around sleep. It combines several strategies:
- Sleep restriction: Limiting time in bed to match your actual sleep time, then slowly expanding it as sleep improves
- Stimulus control: Using the bed only for sleep and sex, and getting out of bed if you cannot fall asleep within about 20 minutes [3]
- Relaxation techniques: Meditation, slow breathing, or gentle yoga in the hour before bed [3]
- Sleep hygiene education: Building consistent habits that support sleep (see prevention section below)
CBT-I addresses the behaviors and thought patterns that keep insomnia going. This is why it tends to produce longer-lasting results than medication alone.
Medications may be used for short-term relief or when CBT-I is not available. Your doctor will choose based on your specific situation, other health conditions, and other medications you take. Short-acting sleep aids can help with falling asleep. But some can cause rebound insomnia when they wear off [1]. Medication decisions should always be made with your doctor.
Treating underlying causes is also essential. If pain, depression, anxiety, or a breathing disorder is driving your insomnia, treating that condition directly often improves sleep a great deal [1] [2].
When to See a Doctor in Person
See a doctor promptly if you experience any of the following:
- Insomnia has lasted more than three months and is affecting your work, relationships, or daily functioning [1]
- You fall asleep suddenly and without control during the day, especially while driving or in mid-conversation
- Your bed partner reports that you stop breathing during sleep, gasp loudly, or kick repeatedly throughout the night [3]
- You have uncomfortable, crawling sensations in your legs at night that make it hard to stay still
- You feel depressed, hopeless, or have thoughts of harming yourself. Poor sleep and depression often worsen each other.
- You are relying on alcohol or other substances to fall asleep [1]
- You are an older adult and insomnia is new or getting worse. This can signal an underlying medical condition [2].
How to Prevent It
Not all insomnia can be prevented. But good sleep habits lower your risk. They can also stop short-term sleep problems from becoming chronic. Evidence-supported steps include [3] [5]:
- Go to bed and wake up at the same time every day, including weekends
- Use your bed only for sleep and sex. Do not use it for watching TV, scrolling your phone, or working.
- Avoid caffeine after lunchtime
- Avoid alcohol, heavy meals, smoking, and vigorous exercise in the 2 to 3 hours before bed
- Keep your bedroom dark, quiet, and at a comfortable temperature
- Avoid bright screens, especially phones and tablets, in the hour before bed. Blue light from screens delays your internal clock [5].
- Avoid napping, especially after 3:00 PM [3]
- If you cannot sleep after about 20 minutes, get out of bed. Do something calm in dim light until you feel sleepy again [3].
- Build a consistent wind-down routine. Soft music, light reading, or a warm bath can signal your body that sleep is coming [3].
Keeping sleep regular matters as much as keeping it long enough. Research suggests that a consistent sleep schedule supports both physical and mental health [5].