Causes of Insomnia: Risk Factors, Medical Conditions, and More

Causes of Insomnia: Risk Factors, Medical Conditions, and More

Causes of Insomnia: Risk Factors, Medical Conditions, and More
Everyday Health

Figuring out whether you have insomnia typically isn’t difficult. Yet it can be challenging to determine what’s causing your sleep woes, namely because so many factors can contribute to your inability to get a good night’s sleep.

Personality factors, medical conditions, mental health, and your day-to-day lifestyle habits can all contribute to your likelihood of developing insomnia. Here’s what you should know.

Certain Risk Factors Can Make You More Likely to Develop Insomnia

Sleepless nights can be triggered by a lot of things, such as a traumatic experience, a stressful time in your life, or a medical condition. Of course, some people dealing with these issues may not experience any trouble with their sleep. For others, one of those triggers can lead to insomnia.

“The theory is that there are some predisposing factors or personality traits that contribute to insomnia,” says Sheila Tsai, MD, a pulmonologist and section head of sleep medicine at National Jewish Health in Denver.

One of those unique personality traits that is thought to make you more likely to develop insomnia is having more cognitive arousal — or in layman’s terms, a more restless mind.

“This would include people who are always thinking or may be more prone to anxiety,” Dr. Tsai says.

Another characteristic that might make you more predisposed to developing insomnia: You have a sleep-wake cycle that doesn’t match your current schedule.

For instance, if you’re a night owl, you might have trouble falling asleep early enough at night to naturally wake up to get to a job by 8 or 9 a.m., Tsai says. (Certain sleep habits are thought to be habits we adopt, while other sleep preferences — including whether you tend to be an early riser or a night owl — are thought to be determined in part by the genes you’re born with.)

Other factors that may make you more likely to develop insomnia include:

  • Being a Woman For reasons that aren’t clear, women are more prone to insomnia than men, especially as they approach menopause, when rates of insomnia rise.

     Fortunately, though, sleep issues often resolve after menopause, Tsai says.
  • Being 60 or Older Rates of insomnia increase as people age, as sleep patterns and health status tend to change as you age.

  • Family History Research suggests people with family members with insomnia may be more likely to develop the sleep disorder, too.

Some Medical Conditions Can Trigger Insomnia

Risk factors are only one part of the puzzle, though, and just because you have one doesn’t mean you’ll develop insomnia.

Typically, people develop insomnia after another cause triggers acute sleep problems (acute insomnia), which, if exacerbated, lead to chronic sleep problems (chronic insomnia).

Some medical conditions can be insomnia triggers, either directly or because they may come with symptoms that make it more difficult for you to sleep. These conditions can include:

Note that pain in particular has a reciprocal relationship with insomnia. “The more pain you experience, the more disturbed your sleep can become,” says Sara Nowakowski, PhD, a sleep researcher and associate professor at Baylor College of Medicine in Houston. Yet research also shows that poor sleep is associated with a lower tolerance or threshold for pain.

Another category of medical conditions that can trigger insomnia is other sleep disorders. For instance, restless legs syndrome is a disorder in which you have uncomfortable sensations in your legs or other body parts and have an urge to move your legs to relieve those sensations. It can trigger insomnia.

Sleep apnea can also cause insomnia. This condition causes your airways to become partially or completely obstructed during sleep, resulting in pauses in breathing that wake you up for brief but repeated periods during the night.

Anxiety, Depression, and Stress Can All Cause Insomnia, Too

Psychological conditions, including depression and anxiety, can cause insomnia, too. “Studies show that people with mental health conditions are more likely to report trouble sleeping, but it’s a reciprocal relationship, meaning that while insomnia is a symptom of depression, depression and irritable mood are symptoms of insomnia,” Nowakowski says.

It’s also important to understand that insomnia is a complex problem. Even if anxiety or another mental health issue triggered insomnia, that doesn’t necessarily mean that treating the mood disorder will make the insomnia go away.

Nowakowski explains that the mental health issue can be the acute cause of insomnia, but coping behaviors, such as sleeping in to make up for a poor night’s sleep, maintaining an irregular sleep schedule, staying in bed longer, and napping, can continue contributing to long-term insomnia and poor sleep — even after the acute cause of insomnia is addressed.

That’s why it’s important that people inform their mental health providers and therapists about any sleep problems so they can treat the insomnia either independently or in addition to the mental health issue.

Exercise, Diet, and Personal Sleep Habits Can All Affect Insomnia

Even though you’re probably not intentionally trying to mess up your sleep, the personal lifestyle choice you make (and habits you’ve adopted) can end up triggering insomnia, too.

Some of the lifestyle factors that can lead to insomnia include:

  • Drinking Too Much Caffeine or Too Close to Bedtime It could keep you so wired you can’t sleep.
  • Drinking Alcohol Too Close to Bedtime “While alcohol can help make you sleepy, it will wear off as you sleep and most likely disrupt sleep, which is why I would limit or avoid it,” Tsai says. Specifically, alcohol causes more sleep disruptions in the second half of the night, and it can suppress REM sleep.

  • Spending Too Much Time in Front of a Cellphone, Computer, or Other Bright Screen Before Bed Using digital devices before bed can also be problematic because the bright light they produce can suppress melatonin, a hormone your body produces that tells it when it’s time to go to sleep and wake up. Instead of your body getting the signal that it’s time to get sleepy, it gets the signal to feel more alert and awake, Tsai says.
  • Exercising Too Close to Bedtime Getting regular physical activity generally helps sleep, but working out is a stimulating activity. If you schedule your workout too close to bedtime, the stimulation may make it tougher for your body to relax once your head hits the pillow. If you do exercise at night, try to do so at least two hours before bed.

  • Not Managing Stress Stress makes for a bad bedfellow. If you haven’t taken steps before you hit the pillow to let go of the stress from your day (from work, from family responsibilities, and any other factors), those worries may get the best of your sleep.

The Takeaway

  • If you’re struggling with insomnia, it’s important to consider that both medical conditions and certain lifestyle habits may play a role.
  • Medical conditions, such as arthritis, chronic pain, and asthma, as well psychological factors, like anxiety and depression, can significantly affect sleep quality.
  • Certain lifestyle habits, such as consuming caffeine or alcohol close to bedtime, exercising late at night, and using screens before bed, can disrupt sleep patterns, too.
  • Consulting a healthcare professional may help identify and address underlying causes of insomnia that need medical attention.
EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Insomnia. Cleveland Clinic. January 6, 2026.
  2. Early Bird or Night Owl? How Your Chronotype Affects Your Wellness. UCLA Health. August 6, 2025.
  3. Insomnia. Mayo Clinic. June 16, 2024.
  4. Risk Factors for Insomnia. Harvard Medical School. October 1, 2021.
  5. Berg S et al. What Doctors Wish Patients Knew About Insomnia. American Medical Association. April 25, 2025.
  6. Chang J et al. The Differential Effects of Sleep Deprivation on Pain Perception in Individuals With or Without Chronic Pain: A Systematic Review and Meta-Analysis. Sleep Medicine Reviews. December 2022.
  7. Gao T et al. Advances in the Research of Comorbid Insomnia and Depression: Mechanisms, Impacts, and Interventions. Frontiers in Psychiatry. March 26, 2025.
  8. Suni E. What Causes Insomnia? Sleep Foundation. July 10, 2025.
  9. Bryan L. Alcohol and Sleep. Sleep Foundation. October 23, 2025.
  10. Does Exercising at Night Affect Sleep? Harvard Health Publishing. July 24, 2024.
alex-dimitriu-bio

Alex Dimitriu, MD

Medical Reviewer

Alex Dimitriu, MD, is dual board-certified in psychiatry and sleep medicine. He helps his patients optimize peak performance by day and peak restorative sleep by night, and he brings a deep respect for science and spirituality into his work.

Dr. Dimitriu has been recognized by The New York Times, Discover magazine, Men’s Health, Cosmopolitan, and NBC News, among other media outlets. He is a medical reviewer for Business Insider and the Sleep Foundation, and is a contributing author to the Encyclopedia of Sleep Medicine.

Karen Asp

Author

Karen Asp is an award-winning journalist who covers fitness, health, nutrition, pets, and travel. A former contributing editor for Woman’s Day, she writes regularly for numerous publications, including Women's Health, Woman's Day, O: The Oprah Magazine, Prevention, Real Simple, Reader's Digest, Better Homes and Gardens, Martha Stewart Living, Forks Over Knives, VegNews, Weight Watchers, Oxygen, Good Housekeeping, Family Circle, Sierra, USA Today and its magazines, Cosmopolitan, Delta Sky, Costco Connection, Eating Well, Harper's Bazaar, Glamour, Parade, Runner's World, SELF, Shape, WebMD, Allure, and Best Friends, to name a couple of dozen.

Karen is the author of Anti-Aging Hacks and coauthor of Understanding Your Food Allergies & Intolerances. She speaks frequently about healthy living on radio shows and podcasts, as well as on live TV. She is a certified personal trainer, a health educator certified in plant-based nutrition, and a plant-powered athlete who holds several world records in Nordic walking.