When you buy through our links, we may earn a commission. Products or services may be offered by an affiliated entity. Learn more.

For many, pregnancy is an exciting time, but it also comes with physical changes that can make it difficult to sleep. The majority of pregnant people experience sleep problems, particularly in late pregnancy. As a result, many wonder if it is safe to take over-the-counter or prescription sleep medication, melatonin supplements, or herbal sleep aids while pregnant.

Some health care providers opt not to recommend any sleep aids at all during pregnancy, given the limited research on their safety for pregnant people and fetuses. However, as sleep deprivation during pregnancy can have its own negative consequences, some pregnant people and their doctors may determine that the benefits of certain sleep aids outweigh the risks.

Sleep Aids People Take While Pregnant

Experts generally recommend that pregnant people address sleep difficulties without medication or supplements . However, if non-pharmacological measures fail to alleviate sleep problems, certain sleep aids may be an option. More than 90% of pregnant people report occasionally treating sleep difficulties with over-the-counter sleep aids. Some of the most common ones used during pregnancy are melatonin supplements and antihistamines.

The safety of many sleep aids for pregnant people and their fetuses has yet to be verified, as studies used to assess the safety of medications rarely include pregnant people. However, information collected from pregnant people and their physicians about medication use and subsequent pregnancy outcomes offers some insight into the safety of certain sleep aids.

The Food and Drug Administration (FDA) requires manufacturers to list information regarding the safety of a medication during pregnancy so that individuals and their doctors can make informed decisions. Pregnant people should always consult with a healthcare provider before starting any new medication or supplement.

Melatonin Supplements

The human body naturally produces melatonin, a hormone that helps people fall asleep and wake up at appropriate times. Taking melatonin supplements helps some people with sleep difficulties fall asleep more easily. Providers may suggest melatonin supplements during pregnancy for people who continue having trouble falling asleep even after trying non-medication alternatives. An estimated 4% of pregnant people take melatonin supplements .

While studies have found that melatonin use in pregnant animals has some risks, such as lower birth weights, there is currently no evidence that melatonin supplements are harmful to pregnant humans or their fetuses. That said, research has shown that melatonin supplements are capable of crossing the placenta and raising melatonin levels in fetuses. Some experts worry that if babies are exposed to melatonin supplements in the womb, they may struggle to establish healthy sleep-wake cycles once they are born.

Additionally, the FDA does not regulate melatonin supplements, so there is a risk that supplements may contain doses or ingredients inconsistent with their labels. Pregnant people should consult with their doctors before taking melatonin supplements.

Antihistamines

Antihistamines are a type of medication commonly used to treat allergies. Known to induce drowsiness, antihistamines are also an ingredient in some over-the-counter sleep aids intended to treat occasional sleeplessness. Among pregnant people, antihistamines are used to alleviate morning sickness and indigestion. About 10 to 15 percent of pregnant people use an antihistamine at some point during pregnancy.

Most studies of antihistamine use during pregnancy have focused on their application as a treatment for nausea and vomiting. Within this context, a number of antihistamines appear to be both safe and effective. That said, existing research may not accurately represent the effects of taking antihistamines to induce sleep during pregnancy. More research is needed to understand how using antihistamines as sleep aids might affect pregnancy outcomes.

As always, check with your care provider before starting an antihistamine during pregnancy. 

Antidepressants

One study has suggested that certain antidepressants improve sleep in pregnant people and also reduce the risk of postpartum depression. While the bulk of evidence suggests that antidepressants do not cause birth defects, most experts still advise against using these medications to treat sleep problems during pregnancy. More research is needed to assess whether antidepressants pose any risks to pregnant people and their fetuses.

Help Your Baby Sleep Better With Pediatric Sleep Coaching

Baby sleeping in bed with their arms open

our partner at sleepdoctor.com

Learn More

“Life-changing! My anxiety about my son’s sleeping habits were immediately reduced after talking to Sara. She went above and beyond to tailor a schedule to our goals, answer our questions, keep us on track, and check in to encourage us when we just thought we couldn’t do it anymore.”

Rachael B. – Verified Customer

Sleep Aids Known to Not Be Safe During Pregnancy

Much of the knowledge about using sleep aids during pregnancy comes from animal studies, so recommendations about which options are safe and which are not safe may change in the future. However, current evidence indicates that certain types of medications should be avoided.

Sedative Hypnotics

Sedative hypnotics are a class of prescription drugs known to relieve anxiety and induce sleep . These medications are also sometimes called tranquilizers.This class of drug includes benzodiazepine receptor agonists (BZRAs), which are some of the most commonly prescribed insomnia medications . It also includes benzodiazepines and barbiturates, which are prescribed less often as sleep aids because of the risk of dependence and abuse. Currently, experts recommend against using sedative hypnotics during pregnancy.

Some studies have suggested that taking certain BZRAs or benzodiazepines during pregnancy may elevate the risk of giving birth early or delivering a baby that is too small or too light. There is also evidence that BZRAs and benzodiazepines can cross the placenta, potentially contributing to breathing problems and withdrawal symptoms in newborns. More research is needed to confirm these findings.

Benzodiazepines were previously thought to cause birth defects, but more recent research indicates this may not be the case . However, certain types of barbiturates have been linked to birth defects, and infants exposed to barbiturates in the womb may experience withdrawal symptoms when they are born.

Herbal Products and Natural Sleep Aids

Since there is not enough research on the safety of taking herbs, amino acids, or minerals for a developing fetus, experts caution that it is better not to take natural sleep aids while pregnant. 

Some of these products have a record of problematic side-effects in the general population. For example, the kava plant is associated with liver damage, and the amino acid L-tryptophan has been linked to a rare white blood cell disorder. Pregnant people should avoid such products.

Pregnant people may also wish to avoid certain herbal teas that are marketed as sleep aids. For instance, one study found that ingesting chamomile in the final months of pregnancy increased the risk of preterm birth and decreased the size of newborns, but these findings need to be confirmed by further research. Not enough is known about other herbs, such as valerian and lavender, to determine whether they are safe to take during pregnancy.

Dietary supplements and herbal remedies are not regulated as strictly as medication by the FDA, so the labels may be misleading, and there may be unknown side effects. While it is usually better not to use them at all, be sure to talk to a doctor before trying these products.

Alcohol and Cannabinoids

Although some people use alcohol and cannabinoids to fall asleep, both of these substances can have negative effects on the fetus and should be avoided during pregnancy.

Causes of Insomnia During Pregnancy

People with insomnia have trouble falling asleep, sleeping soundly through the night, or sleeping until their desired wake-up time. These sleep problems make it hard to function in the daytime. Insomnia is common during pregnancy, especially in the third term.

There are many reasons why people may have trouble sleeping during pregnancy, including:

  • Nausea
  • Stress and vivid dreams related to the pregnancy
  • Movement of the fetus
  • Heartburn
  • Leg cramps
  • Difficulty finding a comfortable position
  • Frequent nighttime urination
  • Shortness of breath and increased heart rate
  • Leg and back pain

Lack of sleep during pregnancy not only can be frustrating but also can impact the health and safety of the pregnant person and the baby . Poor sleep may increase the risk of developing pregnancy-related diabetes, high blood pressure, and depression. It also might increase the likelihood of giving birth prematurely, having a difficult labor, or needing a cesarean section.

“I try to intervene with medication for sleep deprivation only as a last resort. However, if non-pharmacologic methods fail, and sleep deficit is interfering with everyday activities or causing mental distress, then medication may be necessary.”
headshot of Maya Nambisan
Dr. Maya Nambisan
OBGYN, M.D.

How to Improve Sleep During Pregnancy

Following sleep hygiene practices and making some pregnancy-specific adjustments to your sleep habits may help alleviate pregnancy insomnia without the use of sleep aids.

  • Sleep on your left side: Left side sleeping enhances blood flow and prevents the uterus from placing too much weight on the liver. It may feel more comfortable to use a pressure-relieving mattress topper and place pillows beneath the lower back, between the legs, or under the midsection.
  • Keep the bedroom dark and quiet: Consider using a dim nightlight instead of bright overhead lights during nighttime bathroom visits. This may make it easier to fall back asleep.
  • Establish a regular bedtime routine: Maintain similar sleep and wake times from day to day and carry out a relaxing, consistent bedtime routine, so your body knows it is time to sleep.
  • Eat and drink mindfully: Avoid eating heavy meals or drinking too much liquid in the leadup to bedtime, and be sure not to consume caffeine later in the day. If nausea keeps you up at night, a light, bland snack might help.
  • Manage leg cramps: If severe and regular leg cramps keep you up at night, your doctor might be able to prescribe a medication that prevents them from happening so frequently.
  • Exercise earlier: Regular exercise can help with sleep, but exercising too close to bedtime may make it hard to wind down for sleep.
  • Take naps: Napping may be a convenient way to recover from missed sleep, but take naps early in the day so they don’t interfere with bedtime.
  • Try cognitive behavioral therapy for insomnia (CBT-I): This therapy aims to improve sleep by changing mental and behavioral habits, without the need for medication.
  • Ask for help: It is natural to have strong emotions surrounding pregnancy and childbirth. Consider reaching out to friends, family, or your healthcare provider for support.

Although it is common to have trouble sleeping during pregnancy, some pregnant people may have a condition that requires medical treatment, such as obstructive sleep apnea or restless legs syndrome. Talk to your medical provider if you experience symptoms that interfere with your ability to get a good night’s sleep.

Medical Disclaimer: The content on this page should not be taken as medical advice or used as a recommendation for any specific treatment or medication. Always consult your doctor before taking a new medication or changing your current treatment.

Still have questions? Ask our community!

Join our Sleep Care Community — a trusted hub of sleep health professionals, product specialists, and people just like you. Whether you need expert sleep advice for your insomnia or you’re searching for the perfect mattress, we’ve got you covered. Get personalized guidance from the experts who know sleep best.

Learn more about our Editorial Team

References
14 Sources

  1. Lockwood, C. J., & Magriples, U. (2022, October 13). Prenatal care: Patient education, health promotion, and safety of commonly used drugs. In V. Berghella (Ed.) UpToDate.

    https://www.uptodate.com/contents/prenatal-care-patient-education-health-promotion-and-safety-of-commonly-used-drugs
  2. Okun, M. L., Ebert, R., & Saini, B. (2015). A review of sleep-promoting medications used in pregnancy. American Journal of Obstetrics and Gynecology, 212(4), 428–441.

    https://pubmed.ncbi.nlm.nih.gov/25448509/
  3. Centers for Disease Control and Prevention. (2022, September 20). Treating for two: Medicine and pregnancy.

    https://www.cdc.gov/pregnancy/meds/treatingfortwo/facts.html
  4. Miller, M. A., Mehta, N., Clark-Bilodeau, C., & Bourjeily, G. (2020). Sleep Pharmacotherapy for Common Sleep Disorders in Pregnancy and Lactation. Chest, 157(1), 184–197.

    https://pubmed.ncbi.nlm.nih.gov/31622589/
  5. Vine, T., Brown, G. M., & Frey, B. N. (2022). Melatonin use during pregnancy and lactation: A scoping review of human studies. Revista Brasileira de Psiquiatria (Sao Paulo, Brazil: 1999), 44(3), 342–348.

    https://pubmed.ncbi.nlm.nih.gov/34730672/
  6. Smith, J. A., Fox, K. A., & Clark, S. M. (2022, October 21). Nausea and vomiting of pregnancy: Treatment and outcome. In C. J. Lockwood (Ed.). UpToDate.

    https://www.uptodate.com/contents/nausea-and-vomiting-of-pregnancy-treatment-and-outcome
  7. Khazaie, H., Ghadami, M. R., Knight, D. C., Emamian, F., & Tahmasian, M. (2013). Insomnia treatment in the third trimester of pregnancy reduces postpartum depression symptoms: A randomized clinical trial. Psychiatry Research, 210(3), 901–905.

    https://pubmed.ncbi.nlm.nih.gov/23993464/
  8. U.S. Food and Drug Administration. (2019, April 30). Sleep disorder (sedative-hypnotic) drug information.

    https://www.fda.gov/drugs/postmarket-drug-safety-information-patients-and-providers/sleep-disorder-sedative-hypnotic-drug-information
  9. Neubauer, D. (2022, December 19). Pharmacotherapy for insomnia in adults. In R. Benca, & J. G. Elmore (Eds.). UpToDate.

    https://www.uptodate.com/contents/pharmacotherapy-for-insomnia-in-adults
  10. Chaudhry, S. K., & Susser, L. C. (2018). Considerations in treating insomnia during pregnancy: A literature review. Psychosomatics, 59(4), 341–348.

    https://pubmed.ncbi.nlm.nih.gov/29706359/
  11. Office on Women’s Health. (2021, February 22). Pregnancy and medicines. U.S. Department of Health and Human Services.

    https://www.womenshealth.gov/a-z-topics/pregnancy-and-medicines
  12. National Center for Complementary and Integrative Health. (2015, October). Sleep Disorders: In Depth.

    https://www.nccih.nih.gov/health/sleep-disorders-in-depth
  13. Muñoz Balbontín, Y., Stewart, D., Shetty, A., Fitton, C. A., & McLay, J. S. (2019). Herbal medicinal product use during pregnancy and the postnatal period: A systematic review. Obstetrics and Gynecology, 133(5), 920–932.

    https://pubmed.ncbi.nlm.nih.gov/30969204/
  14. Bazalakova M. (2017). Sleep disorders in pregnancy. Seminars in Neurology, 37(6), 661–668.

    https://pubmed.ncbi.nlm.nih.gov/29270939/

Learn More About Pregnancy

Pregnancy Insomnia: Causes & Treatment

By Danielle Pacheco April 24, 2024

Sleeping While Pregnant: Second Trimester

By Danielle Pacheco March 27, 2024

Sleeping While Pregnant: First Trimester

By Danielle Pacheco March 27, 2024

Sleeping While Pregnant: Third Trimester

By Danielle Pacheco March 27, 2024

How to Sleep Better While Pregnant

By Jay Summer March 27, 2024

Pregnancy Sleep Positions

By Danielle Pacheco March 27, 2024

What Causes Snoring in Pregnancy?

By Danielle Pacheco March 19, 2024

How Pregnancy Affects Dreams

By Danielle Pacheco March 7, 2024