How a sleep disorder test works

A sleep disorder test measures what happens to your body while you sleep. The most common test is called a polysomnography (PSG), which records your brain waves, heart rate, breathing, oxygen levels, and leg movements throughout the night. A technician attaches sensors to your scalp, chest, and legs using adhesive pads — it looks more complicated than it feels. The test happens in a sleep lab, which is a private bedroom in a medical facility, not a hospital ward.

Some people do a simpler test at home called a home sleep apnea test (HSAT). This portable device measures breathing and oxygen levels only, without the full brain-wave recording. Your doctor sends it home with you, you wear it for one or two nights, and you mail it back. Home tests are faster and cheaper, but they only detect sleep apnea — not other sleep disorders like narcolepsy or restless leg syndrome.

A third option is a Multiple Sleep Latency Test (MSLT), which measures how quickly you fall asleep during the day. You take four or five 20-minute naps spaced two hours apart in a dark room while sensors record your brain activity. This test is used when a doctor suspects narcolepsy or another condition affecting daytime sleepiness.

Key Takeaways

  • A polysomnography test records your brain waves, heart rate, breathing, and oxygen levels overnight in a sleep lab to diagnose sleep disorders.
  • Home sleep apnea tests are simpler and cheaper but only detect sleep apnea, not other sleep disorders.
  • Your doctor will recommend which test you need based on your symptoms — snoring and pauses in breathing point to a home test, while daytime sleepiness or unusual dreams may require a lab test.
  • The test itself is painless; sensors are attached with adhesive pads and removed easily after the night ends.
  • Results usually come back within one to two weeks and show whether you have a sleep disorder and how severe it is.

When your doctor orders a sleep test

Your doctor will order a sleep test if you report symptoms that suggest a sleep disorder. The most common reason is obstructive sleep apnea — when your airway closes repeatedly during sleep, causing you to stop breathing for seconds at a time. Signs include loud snoring, gasping awake, daytime tiredness even after a full night, and morning headaches.

Other reasons for testing include insomnia that does not improve with sleep habits, excessive daytime sleepiness, acting out your dreams, or leg movements that wake you or your bed partner. If you have already been diagnosed with a sleep disorder, a test may be ordered to see how well your treatment is working.

Before ordering a test, your doctor will ask about your sleep history, how long you have had symptoms, and whether anyone in your family has a sleep disorder. They may also ask you to keep a sleep diary for one or two weeks, writing down when you go to bed, when you wake up, and how you feel during the day.

What happens during an overnight sleep lab test

You arrive at the sleep lab in the early evening. A technician shows you to a private bedroom that looks like a hotel room, with a comfortable bed, bathroom, and television. You change into pajamas and the technician attaches sensors using sticky pads — typically on your scalp (to measure brain waves), chest and abdomen (to measure breathing), legs (to detect movement), and a finger (to measure oxygen levels). A microphone and camera in the room let the technician watch and hear you from a control room if you need help.

You sleep as normally as you can. The technician monitors the sensors from the control room all night. In the morning, the sensors are removed — the adhesive comes off easily, though your skin may be slightly red for a few minutes. You can shower and wash your hair right away. Most people can return to normal activities the same day.

The entire visit usually takes 10 to 12 hours. You may feel self-conscious about being watched, but technicians are trained to make the experience as comfortable as possible. Many people sleep reasonably well despite the sensors.

Home sleep apnea tests and what to expect

If your doctor recommends a home test, you will receive a small portable device that looks like a pulse oximeter or a small box with straps. The device has sensors that measure your breathing effort, airflow through your nose and mouth, and oxygen levels. You put it on before bed and remove it in the morning — the whole process takes less than a minute.

You wear the device for one or two nights, sleeping in your own bed. Keep a log of what time you put it on, what time you took it off, and whether you had any problems. Some devices have a small screen that shows whether they are recording; others do not. After you finish, you return the device by mail or drop it off at your doctor's office.

Home tests are less accurate than lab tests because they do not measure brain waves or detect all types of sleep apnea. If your home test is inconclusive or negative but your symptoms persist, your doctor may order a lab test. Home tests also cannot diagnose other sleep disorders, so if your main symptom is daytime sleepiness without obvious snoring, a lab test may be needed from the start.

Understanding your test results

Results are reported as an Apnea-Hypopnea Index (AHI), which counts how many times per hour your breathing stops or becomes very shallow. The ranges are: normal (fewer than 5 per hour), mild (5 to 15 per hour), moderate (15 to 30 per hour), and severe (more than 30 per hour). Your results also show your lowest oxygen level during the night and how much time you spent in deep sleep and REM sleep.

If you had a lab test, the report includes information about your heart rate patterns, leg movements, and any arousals (brief awakenings). Your doctor will review these results with you and explain what they mean for your health.

A normal result does not always mean you do not have a sleep disorder — it depends on which test you had and what your symptoms are. If you had a home test and results are normal but you still have symptoms, your doctor may order a lab test. If results show a sleep disorder, your doctor will discuss treatment options, which may include a CPAP machine, positional therapy, weight loss, or medication depending on the diagnosis.

Preparing for your sleep test

If you are having a lab test, your doctor will give you specific instructions. Generally, you should avoid caffeine after 2 p.m. on the day of the test, as it can interfere with sleep. You can eat a normal dinner. Avoid alcohol the night before — it disrupts sleep patterns and can make results less accurate. Take your regular medications unless your doctor tells you otherwise.

Bring comfortable pajamas, toiletries, and anything that helps you sleep at home — a favorite pillow, white noise app, or reading material. The lab will have everything else you need. Wear clothes that are straightforward to remove so the technician can attach sensors quickly.

For a home test, follow the same guidelines about caffeine and alcohol. Make sure you understand how to put on the device before you leave your doctor's office, and ask for a phone number to call if you have problems during the night.

Cost and insurance coverage

The cost of a sleep test varies widely depending on where you live, which facility performs it, and what type of test you have. A home sleep apnea test typically costs between $300 and $500 out of pocket, while a lab polysomnography can range from $1,000 to $3,000 or more. These are rough ranges — your actual cost depends on your provider and location.

Most insurance plans cover sleep tests when a doctor orders them for a medical reason. Medicare covers both home and lab tests for people 65 and older. You will usually need to meet your deductible and may owe a copay or coinsurance. Call your insurance company before the test to find out what you will pay.

If cost is a concern, ask your doctor whether a home test would work for your situation — it is usually less expensive and may be covered at a lower out-of-pocket cost. Some sleep labs offer payment plans if you do not have insurance.

Frequently Asked Questions

Will I actually be able to sleep with all those sensors attached?

Most people sleep reasonably well. The sensors are not painful, and the room is designed to be comfortable. If you are very anxious, tell the technician — they can give you time to adjust before the recording starts. Some people sleep better than they expect because the environment is quiet and dark.

What if I have to use the bathroom during the night?

Tell the technician before bed. They can temporarily disconnect the sensors so you can get up, then reconnect them when you return. This happens often and does not ruin the test — the technician notes the time and accounts for it in the results.

How long does it take to get results?

Lab test results usually come back within one to two weeks. A sleep specialist reviews the recording and writes a report that your doctor discusses with you. Home test results may come back faster, sometimes within a few days, because there is less data to analyze.

Can I bring my spouse or partner to the lab?

Most sleep labs do not allow bed partners in the patient's room because it can affect the test results. However, your partner can usually stay in a waiting area or nearby hotel. Ask your lab about their policy when you schedule.

What happens if the test shows I have sleep apnea?

Your doctor will discuss treatment options. The most common treatment is a CPAP machine, which gently pushes air through a mask to keep your airway open while you sleep. Other options include positional therapy, oral appliances, or surgery depending on the severity and cause of your apnea.