Sleep Disorders: Symptoms, Causes, Tests and Treatment

Sleep disorder testing depends on the group: a home apnea test, a daytime nap test for narcolepsy, ferritin for restless legs, a diary for insomnia.


Sleep disorders are medical conditions that repeatedly disrupt how long you sleep, when you sleep or how well you sleep, enough to affect how you feel and function during the day. Insomnia is the most common: short-term insomnia affects 30% to 50% of the population at some point, and chronic insomnia disorder affects at least 5% to 10% of adults in industrialized countries, according to the American Academy of Sleep Medicine’s 2017 insomnia guideline.

The symptom you notice is the best clue to which kind you might have. Loud snoring with breathing pauses, legs that won’t settle at night and a body clock that runs hours late each lead to a different test and a different first treatment.

Six groups doctors use to sort sleep disorders

Sleep specialists group these conditions by what goes wrong: falling or staying asleep, breathing, staying awake, the timing of sleep, behavior during sleep, or movement. The group you fit decides which test comes first.

GroupWhat you or a bed partner noticeCommon disordersUsual first test
Insomnia disordersTrouble falling or staying asleep at least 3 nights a week despite enough time in bed, with a tired or irritable dayChronic insomnia disorder, short-term insomniaSleep history and a 1–2 week sleep diary
Sleep-related breathing disordersLoud snoring, gasping, breathing pauses a partner sees, morning headachesObstructive sleep apnea, central sleep apneaHome sleep apnea test or polysomnography in a sleep lab
Central disorders of hypersomnolenceStrong sleepiness despite a full night; in some people, sudden muscle weakness set off by laughter or surpriseNarcolepsy type 1 and type 2, idiopathic hypersomniaNight in a sleep lab followed by a daytime nap test
Circadian rhythm sleep-wake disordersNormal sleep, but at times that clash with work or schoolDelayed sleep-wake phase disorder, shift work disorder, jet lagSleep diary kept for 1–2 weeks
ParasomniasUnusual actions during sleep, such as walking, shouting or acting out dreamsSleepwalking, sleep terrors, nightmare disorder, REM sleep behavior disorderAccount from a witness; polysomnography when dream enactment is suspected
Sleep-related movement disordersAn evening urge to move the legs that eases with walking; leg jerks a partner feelsRestless legs syndrome, periodic limb movement disorderSymptom history plus blood iron tests (ferritin and transferrin saturation)

Sources: insomnia criteria from the AASM insomnia guideline (2017); iron testing from the AASM restless legs guideline (2024).

Many people fit more than one row. Sleep apnea and restless legs can both hide behind what looks like plain sleeplessness, so a doctor checks for them before treating insomnia on its own. The most common causes of insomnia range from stress and pain to medicines taken late in the day.

Poor sleep or a sleep disorder?

Man rubbing his tired eyes at his office desk in the afternoon, a daytime effect of a Sleep Disorder
Short sleep and a sleep disorder can feel the same by midafternoon, but they need different fixes.

Not getting enough sleep and having a sleep disorder can feel identical by midafternoon, yet they call for different fixes. Most adults need at least 7 hours a night, and the recommended hours of sleep by age are considerably higher for children and teens. Sleeping much longer on days off is itself a sign that weeknight sleep is falling short.

A disorder looks different. Chronic insomnia disorder is diagnosed only when trouble sleeping happens at least 3 times a week for at least 3 months, despite enough time and a suitable place to sleep, and it causes problems during the day.

Waking unrefreshed after 8 or more hours in bed points away from a scheduling problem and toward a medical one. So does a partner noticing that your breathing stops.

Common causes and who is at higher risk

Narcolepsy with cataplexy, the type in which strong emotion triggers sudden muscle weakness, comes from a near-total loss of hypocretin, a brain chemical that keeps you awake and regulates dream sleep. Most sleep disorders have messier causes than that.

Obstructive sleep apnea happens when the throat narrows or closes during sleep. It is more common in people with overweight or obesity, though it can affect anyone. Restless legs syndrome is closely tied to low iron, which is why blood iron levels guide its treatment; kidney failure and pregnancy are other recognized triggers.

Chronic insomnia often travels with depression, anxiety, chronic pain, an enlarged prostate that causes night-time urination, alcohol or drug use, and other sleep disorders. Timing disorders follow schedules and biology. Night and rotating shifts drive shift work disorder, and a naturally late body clock is common in teenagers.

How sleep disorders are diagnosed

Sleep technologist placing scalp sensors on a patient before an overnight study to diagnose a Sleep Disorder
Polysomnography records brain waves, breathing, oxygen and leg movements while you sleep in a lab room.

Your first visit will mostly be questions. Expect to be asked when you go to bed, how long it takes to fall asleep, how often you wake, when you get up and how alert you feel in the afternoon. Bring your bed partner’s observations if you can, since snoring, gasping and leg jerks are things you sleep through.

Many clinics add a short questionnaire such as the Epworth Sleepiness Scale, which scores how likely you are to doze in eight everyday situations. A sleep diary kept for 1 to 2 weeks often follows.

Testing depends on the suspected group. For suspected obstructive sleep apnea in an otherwise healthy adult, a home sleep apnea test is often enough. Polysomnography, an overnight study in a sleep lab that records brain waves, breathing, oxygen and leg movements, is used when other health conditions or symptoms make the picture less straightforward. The steps in how sleep apnea is diagnosed cover when each test is chosen.

Suspected narcolepsy needs the lab night plus a daytime nap test, the multiple sleep latency test, the following day. For restless legs, the key test is a blood draw. Under the 2024 AASM restless legs guideline, ferritin and transferrin saturation are checked in everyone whose symptoms are troublesome.

First-line treatment for each disorder

Each group has a guideline-backed starting point, and for the most common disorder that starting point is a structured talk therapy.

Insomnia: therapy comes before pills

Cognitive behavioral therapy for insomnia (CBT-I) is the standard first treatment for chronic insomnia. It combines a fixed wake time, limits on time spent awake in bed and work on the thoughts that keep you up, usually over several weeks. What happens in each stage of CBT-I is laid out session by session.

Medicines are for people who cannot do CBT-I, don’t improve with it, or need short-term help alongside it. The AASM 2017 guideline gave only weak recommendations for any single drug, including zolpidem, eszopiclone, zaleplon, suvorexant, ramelteon, doxepin, temazepam and triazolam. It suggests against trazodone, diphenhydramine (the sedating ingredient in many “PM” pain relievers), melatonin, valerian and tryptophan for chronic insomnia. The tradeoffs of each prescription sleep medication differ by how fast they work and how long they last.

In 2019 the FDA added a boxed warning, its most prominent safety warning, to eszopiclone (Lunesta), zaleplon (Sonata) and zolpidem (Ambien and others). The trigger was reports of sleepwalking, sleep driving and other activities done while not fully awake, some ending in serious injury or death. The agency identified 66 such cases over 26 years, so these events are rare, but they can follow a single dose at the lowest recommended strength. If it happens to you, stop the medicine and call your prescriber. These drugs should not be taken again after such an episode.

Get emergency care now if: someone who took a sleep medicine, especially with alcohol, opioids or other sedatives, is very hard to wake, is breathing slowly or not at all, or has bluish lips. Call 911. For questions about a possible overdose, call Poison Control at 1-800-222-1222, and if you are having thoughts of suicide, call or text 988.

Sleep apnea has more options than CPAP

CPAP, a bedside machine that pushes air through a mask to hold the throat open, is the most commonly prescribed treatment. It works only on the nights you wear it, and apnea returns when it is stopped. The details of how CPAP therapy works night to night, from masks to pressure settings, decide whether people keep using it.

For people who cannot use CPAP, a custom oral appliance made by a dentist moves the lower jaw forward. An implanted device that stimulates the nerve controlling the tongue is an option for some adults with moderate to severe obstructive sleep apnea. Surgery is kept for severe cases or a visible blockage such as large tonsils.

The newest option is a medicine. In December 2024 the FDA approved tirzepatide (Zepbound) for moderate to severe obstructive sleep apnea in adults with obesity, used with a reduced-calorie diet and more physical activity. Approval rested on two placebo-controlled trials in 469 adults without type 2 diabetes. After 52 weeks, more people on the drug than on placebo reached remission or mild apnea, an effect linked to weight loss. Zepbound carries a boxed warning because it caused thyroid C-cell tumors in rats; whether it does so in people is unknown.

Restless legs and the iron check

The 2024 AASM guideline replaced the 2012 guidance and reversed some of its main advice. Iron now comes first. In adults, oral or intravenous iron is suggested when ferritin is 75 ng/mL or lower or transferrin saturation is below 20%, and only intravenous iron when ferritin falls between 75 and 100 ng/mL. For children, the cutoff is ferritin below 50 ng/mL.

Gabapentin, gabapentin enacarbil and pregabalin carry strong recommendations. Pramipexole, ropinirole and rotigotine were once the usual first choice. They now carry a conditional recommendation against standard use because of augmentation, in which the drug gradually makes symptoms start earlier in the day or spread to the arms.

Before you change a medicine: the new guidance is about which drug to start. If you already take one of these and your symptoms are steady, keep taking it, and ask your prescriber whether your symptoms have moved earlier in the day or into your arms, since either sign changes the plan.

What helps narcolepsy?

Narcolepsy has no cure, but medicines control the main symptoms for most people. The 2021 AASM hypersomnolence guideline strongly recommends four drugs for adults: modafinil, pitolisant and solriamfetol, taken during the day to improve wakefulness, and sodium oxybate, taken at night.

Sodium oxybate carries a boxed warning for slowed breathing, a risk that rises with alcohol or other sedatives. Modafinil, armodafinil and pitolisant can make birth control pills less effective. Short, planned naps help alongside medicine.

Body clock disorders and parasomnias

Circadian rhythm disorders are treated by moving the clock: a fixed wake time, light at the right hours and, for some people, carefully timed melatonin, all set from a sleep diary. Melatonin’s role here differs from chronic insomnia, where the 2017 guideline advises against it.

Parasomnias are usually handled by treating triggers such as sleep loss and making the bedroom safe. For someone who sleepwalks, that can mean locking outside doors and windows and clearing sharp furniture. Dream enactment that begins in adulthood needs polysomnography before any treatment.

What happens if a sleep disorder goes untreated?

Untreated obstructive sleep apnea is linked to high blood pressure, heart disease, stroke and type 2 diabetes. Daytime sleepiness from any sleep disorder raises the chance of falling asleep at the wheel, a risk that also climbs with 6 hours of sleep or less and with heavy snoring. Chronic insomnia is associated with marked impairment in work, health and quality of life, which is why the 2017 AASM guideline treats it as a disorder in its own right.

REM sleep behavior disorder deserves a separate mention. People with it punch, kick or shout while acting out dreams, because the normal muscle relaxation of dream sleep is missing. In some people it is an early sign of Parkinson’s disease or a related condition, sometimes years before other symptoms. Occasional sleep talking or a vivid nightmare is a different thing, and the diagnosis requires a lab study. If it is confirmed, ask whether a neurologist should also follow you.

Many sleep disorders are controlled long term, and only some go away for good. CPAP works only on the nights it is used, narcolepsy is lifelong, and restless legs usually needs years of treatment. Some people do improve lastingly. CBT-I skills tend to keep working after therapy ends, and in the tirzepatide trials some people no longer met the criteria for sleep apnea at one year.

Bring two weeks of sleep notes to your first visit

Start a diary tonight and keep it for 2 weeks. Write down your bedtime, roughly how long it took to fall asleep, each waking, your final wake time, naps, caffeine and alcohol, and every medicine or supplement you take.

A primary care doctor can begin the workup and start CBT-I or a referral. A sleep medicine specialist usually takes over when a sleep study is needed. Questions to take with you:

  • Which group of sleep disorders do my symptoms fit best?
  • Do I need a home sleep apnea test or a night in a sleep lab?
  • Could any medicine or supplement I take be disturbing my sleep?
  • Should my ferritin and transferrin saturation be checked?

If you have dozed off while driving, mention it at the start of the visit, and avoid driving while drowsy until you have answers.

Found this helpful? See more of our guides on Google.

Want to see our guides first on Google?

Found this helpful? See more of our guides on Google.

How this was made

About this content

How this article was put together: researched from recognised health sources, drafted with the help of AI tools, and edited by hand, with sources linked throughout.

1 contributor
Written by

Researched and written from recognised health sources

Dr. Pooja Sahu, MBBS, is a medical reviewer for MyMedicineAdvisor. She is a clinical physician whose experience includes serving as a Junior Resident in Nephrology at Dr. Ram…

Important notice

Medical disclaimer

The content on My Medicine Advisor is provided for general informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Health information on this website should not be used to diagnose, treat, cure, or prevent any condition without guidance from a qualified healthcare professional. Always seek the advice of your doctor, physician, or another licensed healthcare provider with any questions you may have regarding a medical condition, symptoms, medications, or treatment decisions.

Share your love