Can a pregnant woman take medication for sleep?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 3, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Sleep Medication Use During Pregnancy

Pregnant women should first attempt non-pharmacological interventions for sleep problems, but when medication is necessary, doxylamine is the preferred pharmacological option based on FDA labeling and clinical practice, though it requires consultation with a healthcare provider. 1

First-Line Approach: Non-Pharmacological Interventions

Non-pharmacological approaches should be prioritized as the safest initial strategy for managing sleep disturbances during pregnancy:

  • Implement comprehensive sleep hygiene measures including maintaining a regular sleep schedule, keeping the sleep environment dark and comfortable, avoiding heavy meals near bedtime, and limiting screen exposure before sleep 2
  • Engage in regular physical activity to improve sleep quality during pregnancy 2
  • Consider cognitive behavioral therapy (CBT) as it has demonstrated effectiveness for treating sleep disturbances 2
  • Use relaxation techniques and mind-body interventions such as mindfulness meditation 2

The rationale for prioritizing non-pharmacological approaches is that while sleep disturbances are highly prevalent during pregnancy and associated with significant maternal complications (pre-eclampsia, gestational hypertension, gestational diabetes, cesarean section, preterm birth) and adverse fetal outcomes, 3 these interventions carry no risk of fetal harm.

Pharmacological Options When Non-Pharmacological Measures Fail

Preferred Medication: Doxylamine

Doxylamine is the most appropriate pharmacological option when medication becomes necessary, though FDA labeling requires consultation with a healthcare professional before use during pregnancy 1:

  • Take only at bedtime to minimize daytime sedation 1
  • Avoid alcoholic beverages as they potentiate sedative effects 1
  • Discontinue use and consult a physician if sleeplessness persists continuously for more than two weeks, as insomnia may indicate serious underlying medical illness 1

Alternative Option: Diphenhydramine

Diphenhydramine represents another antihistamine option, though it also requires healthcare professional consultation before use during pregnancy 4:

  • Marked drowsiness may occur, requiring caution with driving or operating machinery 4
  • Avoid concurrent use with alcohol, sedatives, or tranquilizers as they increase drowsiness 4
  • Monitor for excitability, which may occur especially in children (relevant for postpartum use) 4

Z-Drugs (Nonbenzodiazepine Benzodiazepine Receptor Agonists)

Recent evidence suggests that Z-drugs like zolpidem may be used in pregnancy, though data remain inconclusive 5:

  • Evidence on efficacy and safety is inconclusive for nonbenzodiazepine benzodiazepine receptor agonists during pregnancy 5
  • Clinical practice has utilized zolpidem in combination with doxylamine for managing pregnancy-related insomnia 5
  • No clear guidelines exist for appraising pharmacological treatment of insomnia during pregnancy 5

Medications to Avoid During Pregnancy

Several medications commonly used for sleep disorders carry significant risks during pregnancy:

  • Sodium oxybate has insufficient safety data and may cause fetal harm based on animal data 2
  • Pitolisant may cause fetal harm based on animal data and may reduce oral contraceptive effectiveness 2
  • Methylphenidate may cause fetal harm based on animal data 2
  • Mavacamten is contraindicated during pregnancy due to potential teratogenic effects 2

Antidepressants for Sleep

If sleep disturbance is related to depression or anxiety:

  • Sertraline is the preferred antidepressant during pregnancy due to its favorable safety profile, used at the lowest effective dose with close maternal mental health monitoring 2
  • Arrange early follow-up after hospital discharge for infants exposed to sertraline in the third trimester to monitor for neonatal adaptation syndrome 2
  • Other SSRIs in the third trimester may be associated with neonatal adaptation syndrome, including irritability, tremors, feeding difficulties, and respiratory distress 2

Critical Clinical Considerations

Risk-Benefit Assessment Framework

When deciding whether to use medication, weigh:

  • The severity of sleep disturbance and its impact on maternal health and pregnancy outcomes 6
  • The risk of untreated sleep problems, which are associated with pre-eclampsia (OR 2.80), gestational hypertension (OR 1.74), gestational diabetes (OR 1.59), and preterm birth (OR 1.38) 3
  • The lack of definitive safety data for most sleep medications during pregnancy 6

Common Pitfalls to Avoid

  • Do not dismiss sleep complaints as normal pregnancy symptoms without proper evaluation, as they may signal underlying psychiatric illness relapse or trigger new psychiatric episodes 7
  • Do not use medications to make children sleepy (relevant for diphenhydramine labeling) 4
  • Do not continue medication beyond two weeks without medical re-evaluation, as persistent insomnia may indicate serious underlying conditions 1

Special Monitoring Requirements

  • Multidisciplinary approach involving maternal-fetal medicine specialists may be beneficial for pregnant women with pre-existing sleep disorders 2
  • More frequent follow-up is needed when starting or adjusting sleep medication doses 8
  • Monitor for adverse effects including excessive daytime sedation, which could impair maternal safety 4, 1

Clinical Decision Algorithm

  1. Start with non-pharmacological interventions (sleep hygiene, CBT, relaxation techniques) 2
  2. If inadequate response and sleep disturbance is severe, consult with healthcare provider about doxylamine 1
  3. If psychiatric comorbidity exists, consider sertraline at lowest effective dose 2
  4. If sleep disturbance persists beyond two weeks on medication, re-evaluate for underlying medical or psychiatric conditions 1
  5. Avoid controlled substances and medications with known fetal harm unless benefits clearly outweigh risks in consultation with maternal-fetal medicine 2

The evidence base for sleep medication safety during pregnancy remains limited, with most recommendations based on FDA labeling requirements for healthcare professional consultation rather than robust clinical trial data 6, 5. This underscores the importance of individualized risk-benefit discussions while prioritizing the safest available options.

References

Guideline

Safe Sleep Medications During Pregnancy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

How do you Zzz during pregnancy? A brief review of Z-drug use and management of insomnia during pregnancy.

Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine, 2025

Guideline

Medication Choice for Idiopathic Hypersomnia with Seizure Disorder

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.