What to Know About Insomnia and Pregnancy

Insomnia (ongoing difficulties in falling or staying asleep) is a common complaint during pregnancy and in the postpartum period. Estimates suggest that up to 94% of people experience sleep disturbances in pregnancy.

Some expectant parents have insomnia due to hormonal, physical, behavioral, and emotional changes. Others may have trouble falling asleep due to a medical condition, such as a mental health disorder, restless legs syndrome, or sleep apnea (repeated pauses in breathing during sleep).

Lack of sleep can have a negative effect on your health and the health of your developing fetus. If you are pregnant and experiencing insomnia, there are things you can do to improve the quality of your sleep.

This article looks at some of the causes of insomnia during pregnancy, how sleep disturbances can affect you and your baby, and what you can do to get more restorative sleep.

Pregnant person having difficulty with insomnia

AsiaVision / Getty Images

Insomnia and Fertility

Research suggests that there is a strong association between insomnia and infertility (defined as the inability to get pregnant within 12 months of unprotected, timed sex).

Studies indicate that around 34% of infertile females have trouble sleeping on a regular basis. People with polycystic ovary syndrome (PCOS), a hormonal disorder and one of the most common causes of infertility, are around 30 times more likely to experience sleep disturbances.

The connection between sleep and fertility is not entirely understood. However, many researchers believe that the link between insomnia and infertility is likely bidirectional. In other words, sleep deprivation may make it more difficult to conceive, while having trouble conceiving can lead to sleep deprivation. Meanwhile, reproductive hormonal imbalances can contribute to poor sleep quality.

Over time, sleep deprivation can decrease the production of melatonin, a hormone involved in the sleep-wake cycle, and increase the production of cortisol, a hormone related to stress.

Both of these hormonal imbalances may disrupt your menstrual cycle, delay ovulation (release of an egg), and prevent embryo implantation. Sleeplessness also interferes with the release of luteinizing hormone (LH), which triggers ovulation.

Disruptions of the circadian rhythm (the physical, behavioral, emotional, and mental changes people go through in a 24-hour cycle) may also lower fertility. A 2016 study found that women who work the night shift have an increased risk of infertility and early miscarriage.

Psychological distress may also play a role in the link between fertility and sleep. Many people who have difficulty getting pregnant experience symptoms of anxiety and depression, both of which increase the risk of insomnia.

If you’re currently trying to get pregnant and having trouble sleeping, talk to your healthcare provider. Addressing insomnia may help to reduce your stress and improve your fertility.

Insomnia and Gestation

Insomnia during pregnancy, also called perinatal insomnia, is extremely common. Pregnant people often struggle to fall asleep, wake up more often throughout the night, and fall asleep more often during the day. They also tend to get fewer hours of rapid eye movement (REM) sleep—a stage of sleep that is involved in memory and learning.

From behavioral and physical changes to psychological stress about the challenges of parenthood, there are many reasons that you may have difficulty feeling rested while pregnant. While anyone can experience insomnia, certain factors (such as obesity, smoking, anxiety, asthma, and stress) may put you more at risk.

During the first trimester, about 13% of pregnant people have trouble sleeping. In the early stages of pregnancy, common causes of insomnia include:

  • Hormonal changes, such as an increase in progesterone and estrogen
  • Nausea and vomiting
  • Frequent urination

Insomnia symptoms tend to increase as pregnancy progresses. By the end of the third trimester, nearly 74% of pregnant people have problems with sleep. During the later stages of pregnancy, insomnia is often caused by:

  • Back pain 
  • Positioning changes
  • Increased fetal movement
  • Leg cramps
  • Shortness of breath

Other common causes of sleep disturbances for expectant parents include:

  • Gastroesophageal reflux disease (GERD): Sometimes referred to as acid reflux, this disorder causes food and stomach acid to back up into your esophagus (food tube). This leads to symptoms like heartburn, hoarseness, chest pain, and nausea. Many people with GERD also have trouble falling asleep. GERD is not uncommon during pregnancy due to hormonal changes, the growing fetus pressing against your stomach, changes in diet, and decreased muscle tone in the muscle that keeps acid from coming up from the stomach. Antacids may help to relieve nighttime GERD symptoms and improve sleep.
  • Restless legs syndrome (RLS): This sleep disorder involves an uncontrollable urge to move the legs due to crawling, creeping, or other sensations in the legs. RLS affects 27%–30% of pregnant people. Warm baths, massages, getting enough exercise, and applying heat to the affected area can help to relieve RLS symptoms. Iron supplementation, if needed, is also a mainstay of treatment.
  • Mental health disorders: People with mental health conditions, including major depressive disorder (MDD), other mood disorders, and generalized anxiety disorder (GAD), are more at risk for developing insomnia during pregnancy.
  • Nightmares: Around half of pregnant people report having frequent, disturbing nightmares. Nightmares are especially common during the third trimester and just before childbirth.

Prevalence of Insomnia During Pregnancy

Research indicates that most people experience problems with sleep at some point during pregnancy. According to some estimates, about 78% of pregnant people report symptoms of insomnia.

Risks

Sleep plays a crucial role in physical and mental health. Over time, sleep deprivation can affect both your well-being and that of your developing baby. Uncontrolled perinatal insomnia can lead to depression, mood swings, and difficulties in parent-child bonding. 

Pregnancy insomnia has also been linked to serious health complications, such as:

Obstructive sleep apnea (OSA): Due to hormonal changes, weight gain, and enlargement of the uterus, up to 25% of pregnant people develop breathing-related sleep disorders, such as obstructive sleep apnea (OSA).

OSA causes the upper airway muscles to relax, leading to apneas (intermittent pauses in breathing), gasping, and loud snoring at night. OSA can reduce the flow of blood and oxygen to your baby, in addition to putting you at risk for serious health complications like heart disease.

The first-line treatment for sleep apnea is continuous positive airway pressure (CPAP) therapy, which involves wearing a mask to keep your airways open as you sleep.

Preeclampsia: Pregnant people with insomnia have an increased risk of gestational hypertension (high blood pressure during pregnancy) and preeclampsia—a condition that involves both high blood pressure and kidney or liver damage in the later stages of pregnancy.

If left untreated, preeclampsia can lead to complications like seizures, excessive bleeding, and stroke. 

Gestational diabetes mellitus (GDM): People with GDM, which is often called gestational diabetes, can’t create enough insulin—a hormone that controls blood sugar (glucose)—during pregnancy. People with gestational diabetes may experience labor complications and problems with fetal growth.

Research suggests that people who report poor sleep quality during the first trimester of pregnancy have a higher risk of developing gestational diabetes when they are 24–28 weeks' pregnant. 

Delivery and postdelivery complications: Chronic sleep loss during pregnancy can also increase your risk of delivery and postdelivery complications, including:

  • Increased pain during labor
  • Longer labor
  • A higher chance of needing a cesarean delivery (C-section)
  • Low birth weight
  • Premature birth

It’s important to address insomnia symptoms as early in your pregnancy as possible. Talk to your healthcare provider right away to prevent any potential health problems for yourself or your baby.

Treatment

Many people are able to improve their sleep quality by making targeted lifestyle changes. Here are some of the things you can do to start getting a better night’s sleep during pregnancy:

  • Limiting caffeine intake, especially later in the day
  • Keeping your room dim, dark, and cool
  • Establishing a consistent bedtime routine
  • Waking up and going to sleep at the same times each day
  • Limiting the use of smartphones or tablets close to bedtime
  • Eating smaller meals throughout the day
  • Quitting smoking 
  • Mindfulness techniques, such as yoga or meditation
  • Relaxation exercises, such as deep breathing
  • Exercising regularly
  • Sleeping in a different position, such as on your side
  • Using a pregnancy pillow

If your insomnia symptoms don’t improve with lifestyle changes, talk to your healthcare provider about possible treatments. Some effective treatments for pregnancy insomnia include:

  • Over-the-counter (OTC) sleep aids: About 10%–15% of people take antihistamines at some point during pregnancy, often to promote sleep. According to the Centers for Disease Control and Prevention (CDC), occasional use of common OTC sleep aids like Unisom (doxylamine) and Benadryl (diphenhydramine) has not been linked to birth defects. Talk to your healthcare provider before taking any medications while pregnant.
  • Prenatal supplements: Pregnant people with low levels of certain vitamins and minerals have a higher risk of restless legs syndrome. Taking a prenatal supplement that contains iron and folate can help to prevent RLS.
  • Psychotherapy: Studies suggest that psychotherapy, such as cognitive behavioral therapy (CBT), may improve sleep quality during and after pregnancy. Psychotherapy is particularly helpful for people who have insomnia and at least one comorbid mental health condition.
  • Light therapy: Light therapy, also known as phototherapy, has been shown to reduce the effects of insomnia among pregnant people with depression.

Some medications that are commonly prescribed to treat insomnia, such as benzodiazepines, are associated with a higher risk of birth defects. Talk to your healthcare provider about potential side effects before taking any medicines for sleep.

Concerning Symptoms

If you experience any of the following symptoms, you may have insomnia or another sleep disorder:

  • Frequent difficulty falling asleep 
  • Night wakings
  • Not feeling rested after waking up in the morning
  • Falling asleep during the day
  • Daytime fatigue or sleepiness
  • Difficulty focusing on daily activities 
  • Irritability
  • Loud snoring
  • Waking up gasping for breath

Reach out to your healthcare provider to discuss how you can start getting more rest during pregnancy.

Insomnia and Postpartum

Most new parents expect some fatigue after having a baby. However, some people experience more severe signs of disordered sleep in the postpartum period.

Some of the causes of postpartum insomnia may include:

  • Postpartum discomfort, pain, and physical changes 
  • Hormonal changes
  • Night feedings, which can disrupt circadian rhythms and throw off the sleep-wake cycle
  • Psychological stress

While many people think that sleep deprivation is a natural part of the newborn phase, postpartum insomnia can significantly affect your health. Chronic sleep loss may make it harder for you to recover from childbirth and cope with the stress of parenthood. 

Impact on Recovery

Over time, postpartum insomnia can have a negative impact on many aspects of health, healing, and well-being after delivery. 

Complications of postpartum insomnia may include:

  • Irritability 
  • Mood swings
  • Anxiety
  • Delayed physical healing 
  • Daytime fatigue
  • Headaches
  • Relationship conflicts
  • Lowered cognitive function
  • Higher risk for car accidents
  • Difficulties with bonding with the infant

It’s important to make your sleep health a priority after giving birth. There are many ways you can start to get more rest in the postpartum period, including:

  • Sharing the nighttime feeding schedule with your partner or relative(s)
  • Asking your friends and/or family for help
  • Sleeping when the baby sleeps
  • Getting enough exercise
  • Deep breathing exercises
  • Relaxation techniques
  • Taking daytime naps or going to sleep earlier
  • Light therapy
  • Psychotherapy
  • Medications, upon the advice of your healthcare provider

Postpartum insomnia also increases the risk for and may be an early sign of postpartum depression (PPD). 

While many people experience symptoms of the "baby blues,” such as mood swings and crying spells, PPD is less common and more serious. It refers to moderate or severe depression experienced by a new parent within the first year after birth.

If you begin to notice signs of PPD, such as feelings of hopelessness, worthlessness, or despair, reach out to your healthcare provider for support and treatment.

Seek Help

Postpartum depression (PPD) is a mental health disorder that affects new parents in the first year after birth. Talk to your healthcare provider if you experience the following signs of PPD:

  • Difficulty sleeping
  • Loss of appetite
  • Mood swings or irritability
  • Sadness 
  • Guilt
  • Difficulty completing tasks
  • Lack of focus
  • Loss of pleasure in usual activities, relationships, and/or interests
  • Feelings of detachment or disconnection
  • Loneliness

If you experience any of the following symptoms, seek emergency medical help immediately:

  • Fear of being alone with your baby
  • Difficulty in caring for yourself or your baby
  • Thoughts of hurting yourself or your baby
  • Thoughts of suicide

Breastfeeding

Prolactin, a hormone involved in lactation, works to lower stress and promote sleep.

One study showed fully breastfed infants sleep more consistently and for longer stretches than formula-fed infants (though the breastfed infants did have more night awakenings).

Research suggests that it may be safe to use a low-dose OTC sleep aid (such as Benadryl or Unisom) occasionally while nursing. When you breastfeed, only a very small amount of most medications is passed on to your baby. However, in larger doses or when used frequently, antihistamines may reduce your milk supply. 

Talk to your healthcare provider about any medications you’re taking or planning to take while nursing.

Summary

Insomnia can sometimes affect your ability to get pregnant. Most people experience problems with sleep at some point during pregnancy. In the first trimester, some of the most common causes of insomnia include frequent urination, nausea and vomiting, and psychological stress.

In the later stages of pregnancy, many people have trouble falling asleep because of restless legs syndrome (RLS), back pain, and problems with sleep positioning. 

It’s important to talk to your healthcare provider about your sleep health during pregnancy. Lack of sleep has been linked to many maternal health complications, including gestational diabetes mellitus, preeclampsia, and postpartum depression.

Treatments may include healthy sleep habits, positioning changes, medication, relaxation techniques, mindfulness exercises, and psychotherapy.

A Word From Verywell

Pregnancy involves many changes—from hormonal and physiological shifts to psychological stress, new lifestyle habits, and more. Many of these changes can lead to sleep disturbances, including insomnia. 

While insomnia is common during pregnancy, it still isn't easy to deal with. Over time, sleep deprivation can affect your physical and emotional well-being, as well as the health of your developing fetus. 

If you are struggling to get enough sleep during pregnancy, reach out to your healthcare provider. They can recommend lifestyle changes and treatments to improve your sleep and reduce your stress. They can also refer you to a board-certified sleep physician or another specialist if needed.

Frequently Asked Questions

  • What causes insomnia during pregnancy?

    During the first trimester, nausea and hormonal changes may make it harder to fall asleep and stay asleep. In the later stages of pregnancy, back pain, uncomfortable positioning, and increased fetal movement keep some people up at night.

    Insomnia during pregnancy can also be due to medical conditions, such as gastroesophageal reflux disease (GERD), restless legs syndrome (RLS), asthma, anxiety, or depression.

  • What can I take for insomnia during pregnancy?

    Most healthcare providers recommend making lifestyle changes, such as adopting healthy sleep habits, before taking sleep aids during pregnancy. However, some OTC medications may help if your insomnia isn’t going away.

    Studies suggest that certain sleep-promoting antihistamines, such as Benadryl (diphenhydramine) and Unisom (doxylamine), do not increase the risk of birth defects.

    If you have trouble sleeping due to mental health symptoms, your healthcare provider may prescribe antidepressants or other drugs to help you sleep.

  • When does pregnancy insomnia go away?

    Unfortunately, sleep disturbances become increasingly common later in pregnancy. Nearly all pregnant people have some symptoms of insomnia, such as night wakings, during the third trimester.

    Just before labor, the release of oxytocin—a hormone that helps with childbirth and breastfeeding—often makes it even more difficult to fall asleep. You may experience ongoing challenges to get good sleep after giving birth as well.

  • What herbs are safe for insomnia while pregnant?

    Magnesium—a mineral found in herbs like basil, parsley, sage, mint, thyme, and dill, as well as leafy vegetables, nuts, seeds, and whole grains—may help to improve sleep quality among people with insomnia.

    Magnesium has also been linked to positive birth outcomes, such as a lower risk of preterm birth. If nausea and vomiting are keeping you awake at night, ginger supplements may help to relieve your discomfort.



33 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. MedlinePlus. Insomnia.

  2. Reichner CA. Insomnia and sleep deficiency in pregnancyObstet Med. 2015;8(4):168-171. doi:10.1177/1753495X15600572

  3. Hashmi AM, Bhatia SK, Bhatia SK, Khawaja IS. Insomnia during pregnancy: diagnosis and rational interventionsPak J Med Sci. 2016;32(4):1030-1037. doi:10.12669/pjms.324.10421

  4. Goldstein, C.A., Smith, Y.R. Sleep, circadian rhythms, and fertilityCurr Sleep Medicine Rep. 2016;2:206–217. doi:10.1007/s40675-016-0057-9

  5. Lateef OM, Akintubosun MO. Sleep and reproductive healthJ Circadian Rhythms. 2020;18:1. doi:10.5334/jcr.190

  6. White ND. Influence of sleep on fertility in womenAm J Lifestyle Med. 2016;10(4):239-241. doi:10.1177/1559827616641386

  7. Fernandez RC, Marino JL, Varcoe TJ, et al. Fixed or rotating night shift work undertaken by women: implications for fertility and miscarriageSemin Reprod Med. 2016;34(2):74-82. doi:10.1055/s-0036-1571354

  8. Swanson LM, Kalmbach DA, Raglan GB, O'Brien LM. Perinatal insomnia and mental health: a review of recent literatureCurr Psychiatry Rep. 2020;22(12):73. doi:10.1007/s11920-020-01198-5

  9. National Institute of Diabetes and Digestive and Kidney Diseases. Acid reflux (GER & GERD) in adults.

  10. NHS. Indigestion and heartburn in pregnancy.

  11. National Institute of Neurological Disorders and Stroke. Restless legs syndrome fact sheet.

  12. Schredl M, Gilles M, Wolf I, et al. Nightmare frequency in last trimester of pregnancyBMC Pregnancy Childbirth. 2016;16(1):346. doi:10.1186/s12884-016-1147-x

  13. MedlinePlus. Obstructive sleep apnea - adults.

  14. Truong KK, Guilleminault C. Sleep disordered breathing in pregnant women: maternal and fetal risk, treatment considerations, and future perspectives, [published correction appears in Expert Rev Respir Med. 2018 May;12 (5):1]. Expert Rev Respir Med. 2018;12(3):177-189. doi:10.1080/17476348.2018.1432355

  15. MedlinePlus. Preeclampsia.

  16. Centers for Disease Control and Prevention. Gestational diabetes.

  17. Zhong C, Chen R, Zhou X, et al. Poor sleep during early pregnancy increases subsequent risk of gestational diabetes mellitusSleep Med. 2018;46:20-25. doi:10.1016/j.sleep.2018.02.014

  18. The American College of Obstetricians and Gynecologists. Sleep health and disorders.

  19. NHS. Tiredness and sleep problems.

  20. Centers for Disease Control and Prevention. Key findings: antihistamines and birth defects.

  21. Verma S, Rajaratnam SMW, Davey M, Wiley JF, Bei B. Cognitive behavioural therapy and light dark therapy for maternal postpartum insomnia symptoms: protocol of a parallel-group randomised controlled efficacy trialFront Glob Womens Health. 2021;1:591677. doi:10.3389/fgwh.2020.591677

  22. NHS. Sleep and tiredness after having a baby.

  23. Okun ML. Disturbed sleep and postpartum depressionCurr Psychiatry Rep. 2016;18(7):66. doi:10.1007/s11920-016-0705-2

  24. MedlinePlus. Postpartum depression.

  25. MedlinePlus. Postpartum depression.

  26. Machado RB, Rocha MR, Suchecki D. Brain prolactin is involved in stress-induced REM sleep reboundHorm Behav. 2017;89:38-47. doi:10.1016/j.yhbeh.2016.12.004

  27. Abdul Jafar NK, Tham EKH, Pang WW, et al. Association between breastfeeding and sleep patterns in infants and preschool childrenAm J Clin Nutr. 2021;nqab297. doi:10.1093/ajcn/nqab297

  28. Miller MA, Mehta N, Clark-Bilodeau C, Bourjeily G. Sleep pharmacotherapy for common sleep disorders in pregnancy and lactationChest. 2020;157(1):184-197. doi:10.1016/j.chest.2019.09.026

  29. American College of Obstetricians and Gynecologists. Breastfeeding your baby.

  30. Silvestri R, Aricò I. Sleep disorders in pregnancySleep Sci. 2019;12(3):232-239. doi:10.5935/1984-0063.20190098

  31. Cao Y, Zhen S, Taylor AW, Appleton S, Atlantis E, Shi Z. Magnesium intake and sleep disorder symptoms: findings from the Jiangsu nutrition study of Chinese adults at five-year follow-upNutrients. 2018;10(10):1354. doi:10.3390/nu10101354

  32. Zarean E, Tarjan A. Effect of magnesium supplement on pregnancy outcomes: a randomized control trialAdv Biomed Res. 2017;6:109. doi:10.4103/2277-9175.213879

  33. Terzioglu Bebitoglu B. Frequently used herbal teas during pregnancy - short updateMedeni Med J. 2020;35(1):55-61. doi:10.5222/MMJ.2020.69851

By Laura Dorwart
Laura Dorwart is a health journalist with particular interests in mental health, pregnancy-related conditions, and disability rights. She has published work in VICE, SELF, The New York Times, The Guardian, The Week, HuffPost, BuzzFeed Reader, Catapult, Pacific Standard, Health.com, Insider, Forbes.com, TalkPoverty, and many other outlets.