Can't Sleep: When It's Insomnia and What Actually Works

Last updated September 10, 2026.

Insomnia is diagnosed when you have trouble falling asleep, staying asleep, or waking too early at least three nights a week for three months. Most short-term sleep problems resolve on their own, but chronic insomnia responds best to cognitive behavioral therapy for insomnia (CBT-I), which works better than sleeping pills long-term. Sleep studies are needed when you suspect breathing problems, leg movements, or other physical causes are disrupting your sleep.

When Poor Sleep Becomes Insomnia

Everyone has bad nights. Insomnia is a pattern: difficulty falling asleep, staying asleep, or waking too early at least three nights a week for at least three months, with daytime consequences like fatigue or trouble concentrating. Short-term insomnia (less than three months) is common during stress, illness, or schedule changes and often resolves without treatment.

Chronic insomnia affects roughly 10 to 15 percent of adults. It can exist on its own or alongside other conditions like depression, anxiety, chronic pain, or sleep apnea. If your sleep problems are new and severe, or if you have symptoms like loud snoring, gasping at night, or uncontrollable daytime sleepiness, see a doctor to rule out underlying medical causes.

Track your sleep for a week: bedtime, wake time, how long it takes to fall asleep, nighttime awakenings, and how you feel during the day. This record helps clinicians understand your pattern and decide whether treatment is needed.

Sleep Hygiene That Actually Matters

Sleep hygiene means habits that support sleep. Evidence supports a few core practices: keep a consistent wake time every day, even weekends. Get bright light exposure in the morning. Avoid caffeine after early afternoon and alcohol close to bedtime, as both fragment sleep. Keep your bedroom cool, dark, and quiet.

Limit time in bed awake. If you cannot sleep after 20 minutes, get up and do something calm in low light until you feel sleepy, then return to bed. This prevents your brain from associating bed with wakefulness. Exercise helps sleep, but finish intense workouts at least a few hours before bed.

Sleep hygiene alone does not cure chronic insomnia, but it supports other treatments. Heavy use of screens before bed is often blamed, but the evidence is mixed. If you notice screens keep you wired, stop an hour before bed. Otherwise, content and emotional arousal matter more than blue light.

Get answers from a doctor, free

Start a free AI doctor consult →

Cognitive Behavioral Therapy for Insomnia (CBT-I)

CBT-I is the first-line treatment for chronic insomnia. It works as well or better than sleeping pills in the short term and keeps working after treatment ends, unlike medication. CBT-I is structured, typically six to eight sessions with a trained therapist, and includes sleep restriction, stimulus control, cognitive therapy, and relaxation techniques.

Sleep restriction limits time in bed to match actual sleep time, then gradually increases it as sleep efficiency improves. Stimulus control retrains your brain to associate bed with sleep, not wakefulness. Cognitive therapy addresses anxious thoughts about sleep. Studies show 70 to 80 percent of people improve with CBT-I.

You can access CBT-I through a behavioral sleep medicine specialist, some psychologists, or online programs. Insurance often covers in-person CBT-I. Digital CBT-I programs like Sleepio and CBT-I Coach are effective and lower cost, typically $50 to $200 or free through some insurers or the VA. Ask your primary care provider for a referral or search the Society of Behavioral Sleep Medicine directory.

Sleeping Pills: When They Help and When They Hurt

Prescription sleep medications (like zolpidem, eszopiclone, or benzodiazepines) can provide short-term relief, typically for a few weeks during acute stress or insomnia. They help you fall asleep faster and may reduce nighttime awakenings, but they do not fix the underlying causes of chronic insomnia and lose effectiveness over time.

Long-term use carries risks: daytime grogginess, tolerance (needing more for the same effect), dependence, memory problems, falls in older adults, and rebound insomnia when stopped. Most guidelines recommend using them for the shortest time possible, alongside behavioral treatment. If you have been on sleep medication for months or years, talk to your doctor about tapering safely.

Over-the-counter sleep aids contain antihistamines (diphenhydramine or doxylamine). They cause drowsiness but are not proven effective for chronic insomnia and bring side effects like dry mouth, confusion, and next-day hangover. Melatonin (1 to 5 mg an hour before bed) helps some people with delayed sleep phase or jet lag, but evidence for primary insomnia is weak. Supplements are unregulated, so quality varies.

When You Need a Sleep Study

A sleep study (polysomnography) monitors your breathing, oxygen, heart rate, and movements overnight. You need one if you have symptoms of sleep apnea (loud snoring, gasping or choking at night, severe daytime sleepiness), restless legs syndrome (uncomfortable leg sensations that force you to move), or periodic limb movements (legs jerking during sleep).

Sleep apnea is common and often mistaken for insomnia. It causes repeated breathing pauses that wake you briefly, fragmenting sleep without your awareness. Risk factors include being overweight, male, older, or having a thick neck or narrow airway. Treatment (usually CPAP) dramatically improves sleep and health.

Home sleep apnea tests are available for straightforward cases and cost less than in-lab studies, typically $150 to $500. In-lab polysomnography costs $1,000 to $3,000 but is often covered by insurance with a referral. Your primary care doctor can order a study if your symptoms suggest something beyond insomnia. Do not assume you need a study if your main problem is trouble falling asleep or racing thoughts at night.

Getting Help for Chronic Insomnia

Start with your primary care provider. They can evaluate medical causes (thyroid problems, medications, pain), assess for depression or anxiety (which often coexist with insomnia), and refer you to a sleep specialist or therapist trained in CBT-I if needed. Community health centers (findahealthcenter.hrsa.gov) offer low-cost primary care.

If you cannot afford a specialist, look for online CBT-I programs or apps. Many are effective and cost $100 to $200 for full programs, less than a few therapy sessions. Some insurers and employers cover them. Free sleep diaries and CBT-I workbooks are available through the VA and patient education sites.

Avoid long-term reliance on pills without addressing the insomnia itself. CBT-I takes effort, sleep restriction feels hard at first, but it rewires your sleep system in ways medication cannot. Most people see meaningful improvement in four to six weeks.

Common questions

How do I know if I have insomnia or just bad sleep?

Insomnia means trouble falling asleep, staying asleep, or waking too early at least three nights a week for three months, with daytime problems like fatigue or poor concentration. Occasional bad nights are normal. If sleep problems persist and interfere with your life, it is worth seeing a doctor.

Is CBT-I better than sleeping pills?

Yes, for chronic insomnia. CBT-I works as well or better than medication in the short term and continues working after treatment ends, while pills lose effectiveness and carry risks with long-term use. CBT-I is the first-line treatment recommended by most medical guidelines.

Do I need a sleep study if I can't fall asleep?

Probably not. Sleep studies are for symptoms like loud snoring, gasping at night, severe daytime sleepiness, or leg movements during sleep. If your main problem is lying awake with racing thoughts or taking a long time to fall asleep, you likely have insomnia and should try CBT-I first.

How much does CBT-I cost?

In-person CBT-I with a specialist costs $100 to $200 per session, typically six to eight sessions, often covered by insurance. Online CBT-I programs run $50 to $200 total and are sometimes free through insurers, employers, or the VA. Digital programs are effective and much cheaper than long-term medication.

When should I see a doctor for sleep problems?

See a doctor if you have trouble sleeping at least three nights a week for more than a month, if sleep problems interfere with daily life, if you have symptoms of sleep apnea (snoring, gasping, daytime sleepiness), or if you have new severe insomnia. Your primary care provider is a good starting point.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.