Medical emergency? Call 112 or your local emergency number immediately.
What we treat › Pregnancy-related Conditions › Mental Health › Insomnia in Pregnancy
English-speaking doctors in the EU · Open daily 7am–11pm CET

Insomnia in Pregnancy: Safe Help Without Sleeping Tablets

Insomnia in pregnancy is trouble falling asleep, staying asleep or getting back to sleep after waking, with tiredness that spoils the day, and it affects about 3 in 4 pregnant women by the third trimester, because the bladder, heartburn, a restless baby, aching hips, vivid dreams, restless legs and anxiety all break sleep while hormones make it lighter; sleeping tablets are not recommended in pregnancy, but the causes are treatable, sleep-retraining techniques work, and broken sleep does not harm the baby. Licensed doctors on Mobi Doctor treat insomnia in pregnancy online across Europe, with one promise made upfront: sleeping tablets are not part of it. You can see a doctor over video, usually within 15 minutes. The doctor finds what is breaking your sleep, treats the heartburn, restless legs, anxiety or low mood behind it, and builds a sleep plan that works around a pregnant body. No referral, no long wait, and never a prescription without a consultation.

  • Licensed doctors by video, daily 7am–11pm CET
  • If the doctor prescribes, use the prescription at a pharmacy near you
  • Full refund if your doctor decides you need to be seen in person

Speak with a doctor: live video assessment, advice and treatment.

A prescription is never issued without a consultation.

Medically reviewed

Dr. Chrysoula I. Liakou MD, PhD Google Scholar LinkedIn

Internal Medicine Specialist
Cancer Immunology Researcher
Key facts
  • Treated online: Yes, usually. The doctor works out what is breaking your sleep by video, treats the causes, such as heartburn, restless legs or anxiety, and sets up a CBT-based sleep plan; insomnia with persistent low mood, or wired sleepless nights after birth, needs faster help.
  • What it is: difficulty falling or staying asleep that affects the day, in about 3 in 4 pregnancies by the third trimester; pregnancy hormones lighten sleep from the first weeks, and a full bladder, heartburn, hip pain, fetal movement, restless legs and worry wake you later on.
  • No tablets: benzodiazepines, z-drugs and melatonin are not recommended in pregnancy; sedating antihistamines are used only briefly on advice; treatment is CBT for insomnia, which retrains sleep in 4 to 6 weeks, plus treating the physical causes and any anxiety or depression.
  • Side sleeping: from 28 weeks, settle to sleep on your side, left or right, with a pillow between the knees and under the bump; going to sleep on your back in late pregnancy is linked to a higher stillbirth risk, but waking on your back is harmless.
  • How long: pregnancy insomnia tends to worsen through the third trimester and improves within weeks of the birth once night feeds settle into a pattern; a sleep plan started early shortens it, and insomnia that persists months after birth with low mood is treated.
  • Emergency: insomnia is never a 112 emergency; call 112 if someone cannot be kept safe, and get urgent help at once from your maternity unit or crisis helpline for several sleepless nights after birth with elation, confusion or racing thoughts, which can be postpartum psychosis.
Check before you book

Insomnia itself is safe to assess online. Seek help faster than a routine booking if sleeplessness comes with persistent low mood, hopelessness or thoughts of harming yourself (crisis support now), if you have barely slept for several nights and feel wired, elated or confused after giving birth (emergency assessment), or if you are late in pregnancy with a severe headache, vision changes or sudden swelling, which needs urgent maternity assessment for possible pre-eclampsia.

Why can’t I sleep during pregnancy?

Online
Insomnia in pregnancy: usually treated online.

Because pregnancy interferes with sleep from every direction: hormones fragment the night from the first trimester, the bladder wakes you, nausea and heartburn intrude, and later a growing bump, backache, cramps, restless legs and a busy mind join in. Disturbed sleep affects most pregnancies at some point.[1] Insomnia is when broken sleep becomes distress and daytime impairment; how it is treated varies with its causes, and safe options exist.[5]

How an online consultation helps with insomnia in pregnancy

  • A real sleep assessment: not “try lavender”, but a structured look at when sleep breaks, what breaks it, and which of the causes on this page are yours, because heartburn at 2am and dread at 4am need different treatment.
  • CBT-I, adapted for pregnancy: the doctor walks you through the behavioural techniques with the best evidence for insomnia, softened where a pregnant body needs them softened.[1]
  • Treating the causes: a heartburn plan, a restless-legs assessment with an iron check pathway, and positioning that gives the bump somewhere to go.
  • A mental-health radar: insomnia is sometimes anxiety or depression speaking first, and the consultation screens for both instead of treating the symptom and missing the message.

What the doctor checks in an online insomnia consultation during pregnancy

Insomnia assessment is detective work, and it works well by video. The doctor will typically check:

  • The shape of the problem: trouble falling asleep, staying asleep, or waking early and lying there; early waking with a flat, heavy mood is a depression flag, not a sleep-hygiene problem.
  • What actually wakes you: bladder, heartburn, cramps, the baby’s movements, a snoring partner, or thoughts arriving uninvited, each with its own fix.
  • Restless legs, specifically: a crawling or fizzing urge to move the legs, worse in the evening and eased by movement, affects many pregnancies and is linked to low iron, which is testable and treatable.[4]
  • Snoring and pauses: loud new snoring, witnessed breathing pauses or morning headaches, especially alongside raised blood pressure, point towards sleep apnoea and need in-person assessment.
  • Mood and worry: the standard screening questions for low mood and anxiety, because treating insomnia while missing depression fails at both; the depression in pregnancy page covers this properly.
  • Habits and helpers: caffeine timing, naps, screens, and anything you are taking to sleep, including herbal remedies, which are not automatically safe in pregnancy and often have no pregnancy safety data at all.

How do you treat insomnia in pregnancy without medication?

With the techniques behind cognitive behavioural therapy for insomnia (CBT-I), which is the recommended first-line treatment for insomnia generally, adapted for pregnancy.[1][5] The core moves: keep one consistent wake time whatever the night did; go to bed when sleepy rather than early “to catch up”; if you are awake and wound up for what feels like 20 minutes, get up, do something quiet and dim, and come back sleepy; keep the bed for sleep and intimacy so your brain stops treating it as a worry venue; and park the racing mind by writing tomorrow’s list down earlier in the evening. In pregnancy the adaptations matter: strict sleep restriction is softened, short naps before mid-afternoon are allowed rather than banned, and the goal is recalibrated, because pregnant sleep is naturally lighter and more broken, and fighting that fact is itself a cause of insomnia. Fear of poor sleep, and the maths done at 3am about what it is doing to the baby, keep more pregnant women awake than the bump does; broken sleep is a normal feature of late pregnancy, not a harm you are causing.

Which sleeping position is safest in pregnancy?

From 28 weeks, settle to sleep on your side, either side, because going to sleep on your back in the third trimester compresses the large vein returning blood to the heart and is associated with higher stillbirth risk in studies behind current guidance.[2] The advice is about how you fall asleep: if you wake on your back, do not panic, simply settle back onto your side. Make side-sleeping liveable with a pillow between the knees, a wedge under the bump and support behind the back, and expect your body to complain for a week before it adjusts.

Quieting heartburn, cramps and the bladder

Heartburn: smaller, earlier evening meals, less fat and spice late, and raising the head of the bed; alginate preparations from a pharmacy are generally considered compatible with pregnancy, and persistent reflux can be treated after assessment.[1] Cramps: gentle calf stretches before bed and hydration through the day. The bladder: front-load fluids earlier and taper in the evening without restricting your total, because dehydration causes its own problems, cramps included.

Why are sleeping tablets not used in pregnancy?

Because the trade is bad: benzodiazepines and z-drugs cross the placenta, are not recommended in pregnancy, and carry dependence and next-day risks that make them a poor answer to a long-running problem even outside pregnancy, where guidance already limits them to short courses as a last resort.[1] In pregnancy the default is simply no, and at Mobi Doctor controlled medicines such as benzodiazepines are never prescribed online in any case. The same honest caution covers the pharmacy shelf: melatonin is not recommended in pregnancy for lack of safety data, sedating antihistamines should not be self-prescribed as sleep aids while pregnant without a doctor or pharmacist confirming the specific product, and “herbal” does not mean safe. The good news is that the treatment with the best long-term results for insomnia was never a tablet: CBT-I outperforms sleeping pills beyond the first weeks, and it is fully open to you now.[1]

When is insomnia in pregnancy a sign of something more?

When it changes character or travels with mood. Waking at 4am with a flat, heavy, hopeless feeling points to depression; lying awake with a racing heart and circling dread points to anxiety; and in the days after birth, barely needing sleep at all while feeling wired, elated or confused is an emergency flag for postpartum psychosis, which needs same-day care. Persistent insomnia also deserves reassessment rather than resignation, because treating an underlying cause beats enduring it. The main insomnia page covers CBT-I in more depth, and the main depression page explains treatment beyond pregnancy.

Sleep problems in pregnancy: what helps, and where

Swipe sideways to compare →

Sleep problems in pregnancy, the likely first step, and when in-person or urgent care is needed, aligned with cited guidance
PresentationLikely first stepSuitable for online care?When referral or in-person care is needed
Trouble settling or frequent waking; bump discomfort; coping by dayCBT-I-adapted plan plus side-sleeping set-upUsually yesIf sleep loss stops you functioning, or mood changes join it
Heartburn or night cramps doing the wakingTreat the cause: meal timing, alginates, stretches; review if persistentUsually yesReflux not settling with treatment, or pain that seems more than cramp
Evening urge to move the legs, crawling or fizzing feelingsRestless-legs assessment with ferritin (iron) checkYes, with blood tests arranged locallySevere symptoms, or iron treatment not helping[4]
Loud snoring, witnessed pauses, morning headaches, raised blood pressureIn-person review for possible sleep apnoea; blood pressure checkInitial direction onlyPromptly, via maternity team[2]
Sleeplessness with low mood, dread, or barely needing sleep after birthMental-health assessment today; emergency care if elated or confusedAssessment and routing; not crisis careSame day for safety concerns; 112 in an emergency[3]

Not sure which row is you? A doctor can tell you in one consultation.

See available times →

Treatment options for insomnia in pregnancy

What you can do yourself

Run the CBT-I basics for two to three weeks before judging them: fixed wake time, bed only when sleepy, out of bed when wound up, worries onto paper before the wind-down hour, caffeine finished by early afternoon (within the pregnancy limit you are already keeping), screens out of the last hour, bedroom cool and properly dark. Build the side-sleeping nest once and leave it built. Nap short and early when the night was rough; a 20–30 minute nap before mid-afternoon repays sleep debt without stealing from the next night.

Prescription treatment

There is no sleeping tablet at the end of this page: in pregnancy that is the honest position, not a policy quirk. What a doctor can prescribe, after assessment, is treatment for the causes: reflux treatment when alginates are not enough, iron when tests confirm deficiency behind restless legs, and treatment or referral for depression and anxiety when the 4am pattern turns out to be mood, with perinatal specialist input where medication decisions in pregnancy need it.[3]

When insomnia is treated online, and when you need in-person care

Treated online: insomnia of pregnancy itself, with a CBT-I-adapted plan and follow-up; heartburn- and cramp-driven waking; restless legs, including organising the iron check; sleep collapse driven by worry, with proper screening; and the third-trimester “nothing is comfortable” problem, which has more workable fixes than it feels like at 3am.

In-person care: possible sleep apnoea, to in-person assessment; severe restless legs not responding to iron correction, to specialist review; insomnia that is depression or anxiety wearing a disguise, into proper mental-health care, including perinatal depression assessment; anyone with thoughts of self-harm, to crisis support today; and the post-birth pattern of feeling wired and sleepless while everyone else sleeps, to same-day assessment, because that pattern is an emergency, not insomnia.

When to get urgent help

Get urgent same-day help if you have barely slept for several nights and feel elated, wired or confused, especially in the days after giving birth, if sleeplessness comes with thoughts of harming yourself, or if you are late in pregnancy and a severe headache, vision changes or sudden swelling is part of the picture. If someone cannot be kept safe, call 112 now.

If you are having thoughts of harming yourself, call 112 in an emergency. You can also find your national crisis helpline at findahelpline.com. You do not have to wait for an appointment.

How Mobi Doctor works

  1. Book a time that suits you: open daily 7am–11pm CET. You can see a doctor over video, usually within 15 minutes. No subscription, exact price up front.
  2. Speak to a licensed doctor about insomnia in pregnancy: a private video call from anywhere in Europe, walking through your nights in detail, because the pattern holds the diagnosis.
  3. Get your plan and safety-net advice: if treatment for a cause is right for you, the prescription follows the consultation; if your doctor decides you need to be seen in person, you get a full refund.
See available times →

No sign-up needed

Pregnancy symptom checker: insomnia or something else?

Not sure it’s insomnia? Tick every symptom you have to see each page that mentions it. It finds the right page, not a diagnosis: a doctor gives you that on a video call.

Tap the body — an area or a point — to browse symptoms anywhere

Similar symptoms, different condition? Mood Swings in Pregnancy and Tiredness in Pregnancy can start the same way. Compare them, or look up any other symptom in the full symptom checker.

Frequently asked questions about insomnia in pregnancy

Why can't I sleep during pregnancy?

Pregnancy hormones make sleep lighter and more broken from the first weeks, nausea and a full bladder wake you early on, and later heartburn, aching hips and back, a kicking baby, cramps, restless legs, breathlessness lying flat, vivid dreams, night sweats and worry about the birth all interrupt the night. Low iron drives restless legs, and anxiety keeps the mind running at 3am; most insomnia in pregnancy has two or three of these behind it.

What are the symptoms of insomnia in pregnancy, and when do they matter?

Lying awake 30 minutes or more to fall asleep, waking repeatedly or for long spells, waking early and not returning to sleep, and feeling tired, irritable or foggy by day, three or more nights a week. Insomnia matters more when it comes with low mood, hopelessness or loss of interest, with loud snoring and breathing pauses, or, after birth, with several wired nights, elation or confusion, which need urgent help.

Can an online doctor prescribe sleeping tablets in pregnancy?

No, and that is the honest answer rather than a limitation of the service: sleeping tablets such as benzodiazepines and z-drugs are not recommended in pregnancy, and are not prescribed online at all. What the doctor can do is treat the causes of your insomnia, prescribing for heartburn or iron deficiency where needed, and set up CBT-based sleep retraining, with any prescription usable at a pharmacy near you and never issued without a consultation.

Which side should I sleep on while pregnant?

From 28 weeks, settle to sleep on your side; either side is fine, and many women find the left most comfortable, with a pillow between the knees, one under the bump and one behind the back to stop rolling. Going to sleep on your back in the third trimester is linked to a higher risk of stillbirth, because the womb presses on the main vein, but waking on your back is not harmful: turn over.

Is insomnia harmful to my baby?

Broken sleep is a normal part of pregnancy, and your baby is well protected from it; ordinary insomnia is not causing harm, and the guilt about it keeps more women awake than the baby does. The two sleep issues that do matter are going to sleep on your back after 28 weeks, and untreated depression or anxiety behind the insomnia, which is why the doctor screens for mood as part of every sleep assessment.

Can I take melatonin while pregnant?

No, melatonin is not recommended in pregnancy: there is not enough safety data to support it, and in many European countries it is prescription-only or sold at variable strengths. The same applies to herbal sleep remedies and most over-the-counter sleep aids. The reliable tools for insomnia in pregnancy are treating the causes, fixed wake times, light exposure in the morning, winding down in the evening and the CBT techniques the doctor can teach.

Why do I keep waking at 3am while pregnant?

Lighter pregnant sleep plus a full bladder, heartburn, a wriggling baby or a hot flush wakes you; the insomnia is what happens next, when a racing mind, checking the clock and worrying about tomorrow keep you awake. The fix is the 20-minute rule: if you are not back asleep in about 20 minutes, get up, keep the lights low, do something dull, and return when sleepy, so the bed stays linked with sleep.

What are restless legs, and why are they worse in pregnancy?

Restless legs syndrome is an irresistible urge to move the legs, with crawling or aching sensations, worst in the evening and at night and relieved by movement; it affects about 1 in 5 pregnant women, mostly in the third trimester, and is linked to low iron and folate. A ferritin blood test guides iron treatment, which often settles it; stretching, walking, warm baths and avoiding caffeine help, and it usually disappears within weeks of birth.

How long does insomnia in pregnancy last?

Pregnancy insomnia often starts in the first trimester, eases in the second and returns worse in the third, peaking in the last weeks; it usually improves within a few weeks of the birth once night feeds settle, though newborn care brings its own broken nights. A sleep plan started early shortens the worst phase, and insomnia that persists months after birth, especially with low mood, is treated as part of the mental health picture.

What can I do myself about insomnia in pregnancy?

Keep a fixed wake time every day, get daylight in the morning, nap for 20 minutes before mid-afternoon if at all, cut caffeine after lunch, finish eating three hours before bed, empty the bladder last thing, keep the bedroom cool and dark, use a pregnancy pillow and sleep on your side, stretch the legs before bed, write worries down early in the evening, and get up if awake for 20 minutes.

How can insomnia in pregnancy be prevented?

Build the routine before the third trimester makes it hard: regular hours, morning light, exercise earlier in the day, a wind-down ritual, treating heartburn and restless legs promptly, keeping iron levels up, and getting support for anxiety early. Avoid relying on alcohol, which fragments sleep, and on sleeping tablets, which are not for pregnancy. The habits that protect sleep now also make the first weeks with a newborn easier to survive.

I snore now I am pregnant. Does that matter?

Often not: pregnancy rhinitis and weight gain make about 1 in 4 women snore by late pregnancy, and saline, side sleeping and a raised head help. Loud snoring with pauses in breathing, gasping, waking unrefreshed and daytime sleepiness suggests sleep apnoea, which in pregnancy is linked to high blood pressure, pre-eclampsia and gestational diabetes and needs assessment, sometimes with a sleep study; tell the doctor, because it is treatable and it affects the pregnancy.

Is it insomnia, depression or restless legs?

Insomnia is trouble sleeping with a day spoiled by tiredness but mood and interest intact. Depression brings early waking with low mood, hopelessness and loss of pleasure most days for two weeks or more, and the sleep problem is part of it. Restless legs is an urge to move the legs in the evening that keeps you from settling, linked to low iron. The doctor separates them by video and treats the right one.

Sources & further reading
  1. Insomnia, NICE Clinical Knowledge Summaries, revised 2024.
  2. Antenatal care (NG201), NICE, National Institute for Health and Care Excellence, 2021.
  3. Antenatal and postnatal mental health: clinical management and service guidance (CG192), NICE, National Institute for Health and Care Excellence, 2014 (updated 2020).
  4. Restless legs syndrome, NICE Clinical Knowledge Summaries, revised 2024.
  5. Insomnia: signs, symptoms and treatment, HSE, Health Service Executive Ireland, 2025.
  6. Tiredness and sleep problems in pregnancy, NHS, National Health Service (UK), reviewed March 2024.

This page is for information only and is not a substitute for a medical consultation. Guideline links are provided for transparency; treatment decisions are made with your doctor.

From the Mobi Doctor podcast

All episodes →

Speak to a doctor about insomnia in pregnancy over video, usually within 15 minutes

Licensed doctors · open daily 7am–11pm CET · exact price before payment

See available times →
Video consultation€54
See available times