Skip to main content

GoodRx Guide

What Is Insomnia? Causes, Symptoms, and Treatments Explained

Comprehensive information for you or a loved one — including treatment options and discounts on popular medications.
Stephanie Reese, DO, MSKarla Robinson, MD
Updated on September 25, 2025

What is insomnia?

Insomnia is a common sleep disorder that makes it hard to fall asleep, stay asleep, or a combination of both. People with insomnia also have a poor quality of sleep and don’t feel rested when they wake up. Up to 40% of adults in the U.S. experience symptoms of insomnia every year.

Having trouble taking a short nap isn’t considered insomnia. But if you often spend hours tossing and turning and not sleeping, then you might have insomnia. In rare cases, symptoms of insomnia are due to the sleep disorder alone. But most often, there’s another factor that causes it. Only 6% of people have insomnia that isn’t related to an underlying cause.

Quiz: Do I have insomnia?

What causes insomnia?

There are many different reasons why you might have symptoms of insomnia. Your lifestyle, medical conditions, or certain medications can all make it hard to sleep well. 

Lifestyle

Some common lifestyle factors that may contribute to insomnia include:

Medical conditions

The following medical conditions are often associated with insomnia:

Although it’s not exactly a medical condition, pregnancy can also lead to insomnia. 

Medications

Many medications can make it harder to get a good night’s sleep. Some of the medications associated with insomnia include: 

Promotion disclosure
insomnia-image

Insomnia symptoms

Symptoms of insomnia vary from person to person. Some people have trouble actually getting to sleep, while others have trouble staying asleep. So insomnia may look different for you than it does for someone else. You may have insomnia if you:

  • Struggle to fall asleep

  • Wake up frequently

  • Wake up earlier than you planned

  • Don’t feel rested after you sleep

Besides a lack of sleep, some insomnia symptoms can affect how you function when you are awake. These include:

  • Daytime sleepiness

  • Fatigue

  • Irritability

  • Problems with concentration

  • Feeling unrested in the morning

  • Headaches

  • Lack of motivation or energy

  • Waking up early

If you’re having any of these symptoms, talk with a healthcare professional. You may need an evaluation for insomnia.

How is insomnia diagnosed?

Insomnia is usually diagnosed using a combination of your medical history and clinical testing. Healthcare professionals will likely ask questions about your symptoms, sleep habits, and what you’re experiencing when trying to sleep. 

To get the diagnosis of insomnia, you must have difficulty either falling asleep or staying asleep, and at least one of the following daytime symptoms:

  • Fatigue

  • Daytime sleepiness

  • Trouble with memory, concentration, or focus

  • Difficulty in school, work, family, or social settings

  • Feeling aggressive, hyperactive, or impulsive

  • Decreased energy

In some cases, a healthcare professional may decide that you need additional tests to look for other causes of your symptoms. Testing for insomnia could include:

  • Sleep study

  • Actigraphy tests (sleep studies done over time at home)

  • Blood tests

Not all trouble falling asleep is actually insomnia. For it to be insomnia, you must have problems getting to sleep despite having enough time to fall asleep. And it has to happen for at least 3 nights per week.

Insomnia treatments

There are different approaches to treating insomnia. So it’ll be important to connect with a healthcare professional to see what may be best for you. 

For some, cognitive behavioral therapy (CBT) is useful. It’s a form of therapy that people use to identify and change patterns and behaviors that result in poor sleep. A therapist specializing in insomnia can provide these resources to promote better sleep.

For others, changes in bedtime routines and sleep hygiene can help. Sleep hygiene refers to practices that can help to make sure that you have a good bedtime routine and comfortable space to sleep in. Here are some ways to promote quality sleep hygiene:

  • Make sure that your sleep areas are clean and comfortable. 

  • Keep your room quiet and avoid background distractions. 

  • Turn off your devices — cellphone, television, computer — and avoid bright lights in your room. 

  • Avoid energy drinks and beverages with alcohol and caffeine before bedtime.

  • Practice meditation or deep breathing before you go to sleep.

  • Exercise earlier in the day.

  • Try to go to sleep at the same time each day.

  • Avoid taking naps throughout the day.

Insomnia medication

There are times when changes in your bedtime routine aren’t enough to get rid of your insomnia. Medications can be helpful in these cases. Many of the medications that treat insomnia require a prescription.  

Medication for insomnia can either help you fall asleep, stay asleep, or both. Here are some common medications that your primary care provider may recommend in the treatment of insomnia:

Frequently asked questions

What are the different types of insomnia?

There are different ways to classify insomnia based on your symptoms. One of the most common ways is based on how long you’ve had trouble sleeping. Types of insomnia include:

  • Transient or acute insomnia: Symptoms are short term and last under 3 months.

  • Chronic insomnia: Symptoms are long term and last over 3 months.

Most people with insomnia have short-term symptoms that get better within 3 months. This is more likely the case when the factors causing the insomnia are temporary or go away. Only a small group of people have symptoms that stick around and become chronic (long term).

Can insomnia go away?

Insomnia can sometimes go away on its own without treatment. This is more common in cases of transient or acute insomnia. If your insomnia is due to a temporary circumstance, it can improve once those factors go away. For example, if a recent life change led to your insomnia, your sleep may improve once you adjust to your new norm.

Who is at risk of insomnia?

Anyone can develop insomnia. But some people are at higher risk:

  • Women

  • Middle-aged adults 

  • Older adults

  • People with chronic medical conditions 

How does insomnia affect the body?

It’s important to treat insomnia because it can have a range of effects on your health. Insomnia can make it hard to stay alert and cause a slow reaction time, which can affect your ability to drive or perform other tasks. In fact, studies show that a sleepy driver is similar to a drunk driver. 

Insomnia can also increase your risk for several medical conditions or make them worse. These conditions include:

References

American Academy of Sleep Medicine. (2008). Insomnia

Centers for Disease Control and Prevention. (2024). About sleep and your heart health.  

View All References (12)

Dopheide, J. A. (2020). Insomnia overview: Epidemiology, pathophysiology, diagnosis and monitoring, and nonpharmacologic therapy. The American Journal of Managed Care.

Foley, L. (2025). Treatments for insomnia. Sleep Foundation.  

Fountain, L. (2025). Diagnosing insomnia. Sleep Foundation.  

Lowrie, J., et al. (2020). The impact of sleep deprivation and alcohol on driving: a comparative study. BMC Public Health

Mathew, R., et al. (2020). Cognitive behavioral therapy. American Academy of Sleep Medicine.

MedlinePlus. (2024). Insomnia.

Noyed, D. (2025). Symptoms of insomnia. Sleep Foundation.

Roth, T. (2007). Insomnia: Definition, prevalence, etiology, and consequences. Journal of Clinical Sleep Medicine.

Schutte-Rodin, S., et al. (2008). Clinical guideline for the evaluation and management of chronic insomnia in adults. Journal of Clinical Sleep Medicine

Shochat, T. (2012). Impact of lifestyle and technology developments on sleep. Nature and Science of Sleep.

Suni, E. (2025). Sleep hygiene. Sleep Foundation.

Vargas, I., et al. (2020). Acute and chronic insomnia: What has time and/or hyperarousal got to do with it? Brain Sciences.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Habits for a Healthier Mind!

Sign up for our GoodRx Mental Well-being Newsletter to receive up-to-date information on the latest medications, tips, and savings that are most relevant to you.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men’s health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

Latest Articles