Health information to help you understand symptoms. It isn't a diagnosis.
Check symptoms

Trouble sleeping

Also called: Insomnia, can't sleep, sleeplessness

Trouble sleeping, called insomnia, means it's hard to fall asleep, hard to stay asleep, or you wake up too early. It's very common and often gets better by changing sleep habits. See a doctor if it keeps happening.

Sleep adults need7 to 9 hours for most
Best treatmentBetter sleep habits
Sleeping pillsUsually for short-term use only
See a doctor ifIt becomes an ongoing problem
If you think it's an emergency, call 911.Thinking about suicide? Call or text 988.

Overview

Insomnia can last a few days or go on for a long time. You may lie awake, wake up many times, or wake up feeling like you didn't rest. How well you sleep matters as much as how long.

Poor sleep makes it harder to focus and can make driving dangerous. Worrying about sleep can make it even harder to fall asleep.

When to get medical care

Call 911Thoughts of hurting yourself: call or text 988, or call 911 if you're in danger now.
See a doctor soonTrouble sleeping that keeps happening or gets in the way of your day. Feeling very sleepy or dozing off during the day. Loud snoring or pauses in breathing while you sleep. Trouble sleeping along with feeling sad or down.

Causes

Habits that can cause it include going to bed at different times, daytime naps, a noisy or bright bedroom, screens in bed, lying awake in bed for a long time, working evenings or nights, and not getting enough exercise. Alcohol, smoking, caffeine (especially late in the day), and some cold medicines and diet pills can also cause it. Health causes include stress, anxiety, depression, pain, pregnancy, getting up to pee at night, and sleep apnea.

OwieClear has pages on 11 conditions that can cause trouble sleeping. Each shows how soon to get care.

Common causes

  • AnxietySee a doctor if it doesn't get better

    Ongoing worry or nervousness that is hard to control and affects daily life.

  • InsomniaSee a doctor if it doesn't get better

    Trouble falling or staying asleep that affects how you feel during the day.

  • DepressionSee a doctor if it doesn't get better

    A persistent low mood or loss of interest that lasts at least 2 weeks.

Less likely causes

  • Stress and burnoutOften treated at home

    Feeling overwhelmed, drained, irritable, or detached, often from work, school, or caregiving.

  • Alcohol or drug use disorderSee a doctor if it doesn't get better

    When drinking or using drugs becomes hard to control and starts to affect health, work, or relationships.

  • Depression during or after pregnancySee a doctor if it doesn't get better

    Sadness, worry, tiredness, or loss of interest during pregnancy or after having a baby that lasts more than 2 weeks or makes it hard to care for yourself or…

  • Heavy cannabis use (cannabis use disorder)See a doctor if it doesn't get better

    Using cannabis every day, needing more, or having trouble cutting back.

  • PTSD (post-traumatic stress disorder)See a doctor if it doesn't get better

    Lasting stress after a frightening or dangerous event.

  • Overactive thyroid (hyperthyroidism)See a doctor if it doesn't get better

    The thyroid gland makes too much hormone, so the body speeds up.

  • Stimulant use (meth or cocaine)See a doctor if it doesn't get better

    Regular use of meth, cocaine, or other stimulants can cause severe tooth decay and dry mouth, picking sores from feeling bugs under the skin, weight loss, days…

  • Sudden confusion in an older adult (delirium)Often needs care today

    A sudden change in thinking, like confusion, seeing things, being unusually sleepy or agitated, or not acting like themselves.

What you can do at home

  • Keep a schedule. Go to bed and wake up at about the same time every day.
  • Make your bedroom dark, quiet, and comfortable. Use your bed for sleep, not for work or eating.
  • Avoid caffeine late in the day, and limit alcohol and nicotine.
  • Turn off screens before bed.
  • If you can't sleep, get up. Do something quiet, like reading, and go back to bed when you feel sleepy.
  • Limit naps, and get regular exercise.
  • If you feel drowsy while driving, pull over.

Medicines

Most over-the-counter sleeping pills contain antihistamines, and your body gets used to them quickly. Prescription sleeping pills can be habit-forming and work less well over time, so they're usually used only for a short time. A kind of talk therapy called CBT-I (cognitive behavioral therapy for insomnia) works well and has no side effects. Ask your doctor whether a medicine, herb, or supplement you take could be affecting your sleep.

At the doctor

Insomnia can usually be diagnosed from your history and an exam. Most people sleep better with good sleep habits.

Questions you may be asked

  • Your sleep schedule and bedtime habits
  • How long the problem has lasted
  • Medicines, caffeine, alcohol, and drugs
  • Stress, mood, and other health problems

The exam

A physical exam and a review of your medicines and health history.

Tests

  • Usually no tests are needed
  • A sleep study, if sleep apnea is possible

Check your symptoms

Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.

Start the symptom checker

Sources

Last updated 2026-11-13.

See something wrong or unclear on this page? Suggest a correction. OwieClear is for education only and isn't medical advice.