Save big on your prescriptions.
Get the free SingleCare app
Always free for consumers
Quickly access discount cards
Over a billion dollars saved
4.8 average rating

Text a link to download the app

Scan to download the app

Insomnia Treatments and Medications

Medically reviewed by Gerardo SisonPharm.D.
Licensed Pharmacist
Updated Jan. 10, 2023  •  Published Sep. 8, 2021
Fact Checked

We spend about one-third of our lives sleeping on average. After all, sleep is essential for optimal health and well-being. Insomnia can not only be hard to deal with, but it can also have a profound effect on quality of life. A chronic lack of sleep can often lead to health problems, such as chronic stress, a weakened immune system, and negative effects on mood, such as depression and anxiety. Continue reading to learn more about insomnia and the different treatment options available, such as lifestyle changes and medications.

What is insomnia?

Insomnia is a common sleep disorder that affects around 30% to 40% of adults in the United States in a given year. It can be a short-term or chronic condition that is characterized by an inability to fall asleep. Those with insomnia may also experience an inability to stay asleep, or they wake up too early and are unable to fall back asleep. This disruption in sleep patterns can lead to symptoms of insomnia like excessive daytime sleepiness, irritability, not feeling well-rested, increased stress, and difficulties with memory, learning, and performing daily tasks.

How is insomnia diagnosed?

A doctor or clinician will look to identify the cause of insomnia in order to make a diagnosis and recommend treatment options. In some cases, you may be referred to a sleep specialist or psychiatrist. The different causes of insomnia may include stress, chronic pain, certain medications, mental health disorders, and poor lifestyle choices, such as taking naps late in the afternoon or overconsuming caffeine or alcohol.

During a diagnosis, a healthcare provider might assess for any risk factors that may be contributing to your insomnia. Risk factors for insomnia can include:

  • Older age: Older adults over the age of 60 are more likely to have insomnia because they are more likely to have certain medical conditions or medications that may interfere with sleep patterns.
  • Chronic conditions: Certain medical conditions like asthma, gastroesophageal reflux disease (GERD), and chronic pain can make it hard to sleep.
  • Medications: Different medications may cause insomnia as a side effect. These medications may include corticosteroids, decongestants, certain blood pressure medications, and some antidepressants like selective serotonin reuptake inhibitors (SSRIs).
  • Lifestyle choices: An irregular sleep schedule, exercising close to bedtime, and using the phone or computer in bed are examples of lifestyle habits that can contribute to acute or chronic insomnia.
  • Poor sleeping environment: Too much noise, heat, or bright lights can interrupt your ability to get a good night’s rest.
  • Working the night shift: Working at night can disrupt a person’s circadian rhythm and make it hard to get enough sleep during the day, which can contribute to sleep problems.
  • Gender: The risk of insomnia is 40% higher in women than in men. Insomnia is also common in women after menopause.
  • Prolonged travel by plane: Jet lag is a common problem that can cause temporary insomnia due to disruptions in circadian rhythm while traveling.

Different tests and evaluations may be used to confirm a diagnosis of insomnia. A diagnosis may start with a physical exam and an evaluation of your complete medical history. A clinician may recommend a mental health exam to determine whether your emotional well-being may be affecting your ability to sleep. A doctor may also order a blood test to get a full picture of your medical condition. Blood tests can help determine if other health conditions, such as thyroid problems, may be contributing to your insomnia. Other tools that may be used to diagnose primary insomnia include:

Sleep history questionnaire

A clinician will attempt to get a full picture of your sleep history to confirm a diagnosis of insomnia. They may ask you to keep a sleep diary every day for a couple of weeks that keeps track of different factors like how many naps you take throughout the day, what your exercise habits are like, and what you’re eating or drinking before bed. They may also ask questions like:

  • What time do you usually go to bed and what time do you wake up?
  • Do you relax or work before bedtime?
  • Do you have the television on or a bright light turned on while attempting to sleep
  • Are you able to fall back asleep with ease after waking up in the middle of the night?
  • What have you tried to help you sleep when you’re unable to sleep?

Sleep study

Also known as polysomnography, a sleep study is not usually recommended unless your doctor suspects you have obstructive sleep apnea or another sleep disorder. This type of study is done in a sleep clinic where you will wear certain sensors to monitor brain waves, heart rate, oxygen levels, and body movements while you sleep.

Actigraphy

This type of diagnosis tool can be done at home over days or weeks. Your doctor will ask you to wear an actigraph, which is a device that is worn like a watch on your ankle or wrist to monitor different factors while you sleep.

Insomnia treatment options

Treatment will depend on the severity of insomnia and what may be causing it. Treatment usually starts with non-pharmacological options like lifestyle changes and cognitive behavioral therapy for insomnia (CBT-i). Exercising regularly and improving sleep hygiene habits, like winding down before bed and removing light and noise, can help manage insomnia. Cognitive behavioral therapy for insomnia is provided by a trained psychologist who will help identify anxieties that may be disrupting sleep patterns and replacing those anxieties with positive beliefs about sleep. If non-pharmacological options are not enough, medications may be recommended.

Insomnia medications

Several different medications are approved by the Food and Drug Administration (FDA) to treat insomnia.

Benzodiazepines

Benzodiazepines have sedative effects that can help calm a person and induce sleep. They work by slowing down activity in the brain. Brand names include Halcion (triazolam) and Restoril (temazepam). Benzodiazepines are not typically recommended as first-line agents because of the potential for abuse and dependence.

Barbiturates

Barbiturates work as central nervous system depressants that slow down activity much like benzodiazepines. An example is Seconal (secobarbital). Barbiturates are not prescribed often for insomnia due to the availability of newer, safer alternatives.

Z-drugs

Z-drugs are non-benzodiazepine sedatives that can help slow down activity in the brain and treat insomnia. These drugs include Ambien (zolpidem), Lunesta (eszopiclone), and Sonata (zaleplon). These medications are considered first-line medications for those with difficulty falling asleep or problems staying asleep.

Antidepressants

Silenor (doxepin) is a tricyclic antidepressant FDA-approved to treat insomnia. It is believed to work by blocking the histamine H1 receptor involved with wakefulness and sleep.

Orexin receptor antagonist

Belsomra (suvorexant) is FDA-approved for the treatment of insomnia. It is believed to work by blocking the actions of a chemical called orexin that is involved with wakefulness. It may be prescribed for those who are unable to fall asleep or those who are unable to stay asleep.

Over-the-counter medicines

Over-the-counter antihistamines are typically used to treat allergy symptoms. However, certain antihistamines like Banophen (diphenhydramine) and Unisom (doxylamine) have sedative effects. Melatonin is a natural hormone that is involved with the sleep-wake cycle, and it can be purchased as an over-the-counter supplement. Valerian is an herbal supplement that may also help with insomnia. Over-the-counter medications are usually only recommended for short-term insomnia.

What is the best medication for insomnia?

The best medication for insomnia depends on several factors, such as the severity of the condition, your overall medical history, and any medications you may be taking. Many people may react differently to the same medication. Therefore, it’s important to consult a healthcare provider for the best insomnia medication for you.

Best medications for insomnia
Drug Name Drug Class Administration Route Standard Dosage Common Side Effects
Ambien (zolpidem) Sedative-hypnotic Oral 5 or 10 mg immediately before bedtime Drowsiness, dizziness, diarrhea
Lunesta (eszopiclone) Sedative-hypnotic Oral 1 to 3 mg immediately before bedtime Unpleasant taste in the mouth, headache, drowsiness
Sonata (zaleplon) Sedative-hypnotic Oral 5 or 10 mg immediately before bedtime Drowsiness, lightheadedness, dizziness
Belsomra (suvorexant) Orexin receptor antagonist Oral 10 mg within 30 minutes before bedtime Drowsiness, abnormal dreams
Silenor (doxepin) Tricyclic antidepressant Oral 3 or 6 mg within 30 minutes before bedtime Drowsiness, nausea, upper respiratory tract infection
Restoril (temazepam) Benzodiazepine Oral 15 mg at bedtime Drowsiness, headache, dizziness
Banophen (diphenhydramine) Antihistamine Oral 50 mg at bedtime Drowsiness, dizziness, constipation
Melatonin Sleep aid supplement Oral 1 to 2 mg at bedtime Headache, nausea, dizziness

Dosage is determined by your doctor based on your medical condition, response to treatment, age, and weight. Other possible side effects exist. This is not a complete list.

What are the common side effects of insomnia medication?

The most common side effects of prescription insomnia medications include:

  • Drowsiness during the day
  • Dizziness
  • Headache
  • Constipation
  • Diarrhea
  • Appetite changes
  • Stomach upset
  • Abnormal dreams
  • Fatigue
  • Memory problems
  • Problems with coordination
  • Sleep-related impairment while driving or operating machinery

Prescription sleeping pills can also cause serious side effects. The use of prescription sleeping pills comes with an increased risk of parasomnia, which can lead to dangerous behaviors without any awareness of what is happening. Sleep aids can also increase the risk of falls in the elderly. Consult a healthcare provider about other possible side effects, drug interactions, warnings, and precautions before using a medicine for insomnia.

What is the best home remedy for insomnia?

Create a regular sleep schedule

Create a consistent and regular sleep schedule to help synchronize your body’s biological clock. Maintaining a night-time routine before bed can help you stay on track. That means, finishing work and eating dinner well before it’s time for bed. It’s also best to avoid napping throughout the day.

Reduce light and noise

Light can interfere with regular sleep cycles and reduce the amount of time spent asleep. Make sure to turn off devices that can emit blue light, such as TVs and phones. Blue light is known to suppress the secretion of melatonin. Too much noise can also disrupt sleep patterns, so make sure to block out as much noise as possible.

Ensure your sleeping environment is comfortable

Make use of a comfortable mattress and pillows. The temperature should not be too hot or too cold, although it is recommended to keep the temperature below room temperature since blankets and coverings can increase body temperature.

Avoid smoking or drinking too much during the day

Nicotine, alcohol, and caffeine can affect sleep patterns, especially if consumed late in the day. One study found that smoking or drinking within four hours of bedtime can lead to increased sleep fragmentation.

Relax your mind and body before bedtime

It’s important to wind down at least 30 minutes before bed. You can implement muscle relaxation exercises, gentle breathing, or meditation to help prep the body and mind for deep and restful sleep.

Frequently asked questions about insomnia

What is the main cause of insomnia?

restless legs syndrome, and mental health conditions, like depression or anxiety, can also contribute to insomnia.

What are the 3 types of insomnia?

The three main types of insomnia are acute insomnia, transient insomnia, chronic insomnia. Acute insomnia is often caused by a temporary life change like a big work project or exam, and it typically lasts up to one month. Transient insomnia lasts for less than one week, and it may be caused by temporary stress or depression. Chronic insomnia often lasts for more than one month. Those with chronic insomnia may have another medical condition that is interfering with their sleep patterns.

Can insomnia be cured?

Yes, insomnia can be cured. Depending on the cause of insomnia, different treatments can be used to help improve and get rid of insomnia. Lifestyle changes and prescription or over-the-counter sleep aids can help improve sleep quality, sleep maintenance, sleep onset, and sleep time. Cognitive behavioral therapy may also be recommended and include different techniques, such as sleep restriction therapy, stimulus control therapy, and biofeedback.

Is insomnia a mental illness?

Insomnia is not considered a mental illness, according to the American Academy of Sleep Medicine. Instead, it is usually a symptom of different mental health conditions like anxiety disorders or depression. In some cases, insomnia can also contribute to the development of medical and mental health conditions.

When should I see a doctor about insomnia?

Good sleep is important for your physical health and well-being. If you’re having trouble sleeping on a consistent basis, you should consult a doctor to determine the underlying cause. A doctor can diagnose an insomnia disorder and recommend the best treatment option for you.

Related resources for insomnia

Medically reviewed by Gerardo SisonPharm.D.
Licensed Pharmacist

Gerardo Sison, Pharm.D., graduated from the University of Florida. He has worked in both community and hospital settings, providing drug information and medication therapy management services. As a medical writer, he hopes to educate and empower patients to better manage their health and navigate their treatment plans.

...