Last month a woman in her ninth week of pregnancy sat in my office with a bottle of acetaminophen she had finished in four days. Her migraines had not stopped, she was frightened to take anything else, and a relative had told her she would simply have to “suffer through it.” She does not have to. For most pregnant women with migraine, acetaminophen plus an anti-nausea medicine is a safe first step, sumatriptan can be used when that fails, and a handful of drugs must be avoided. The more important question is whether the headache is migraine at all.
I have treated headache for 25 years, and pregnancy is the situation where fear of medication does the most avoidable harm. Untreated, repeated migraine with vomiting leads to dehydration, missed meals, poor sleep and real distress. Below is how I think it through with patients. If your headaches have been dismissed or poorly explained before, my broader guide to what doctors miss when a headache will not improve is a useful companion.
What usually happens to migraine in pregnancy
Migraine follows estrogen. Estrogen rises steadily through pregnancy, and many women, particularly those with migraine without aura and a clear menstrual pattern, find attacks become less frequent after the first trimester. Studies commonly report improvement in well over half of such women. Migraine with aura tends to improve less reliably, and a minority of women get worse or have aura appear for the first time.
The first trimester is often the hardest. Hormones are shifting, nausea disrupts eating, sleep is broken, and many women stop caffeine abruptly. That last point is easy to fix: moderate caffeine, generally under about 200 mg a day, is considered acceptable, and stopping it overnight can itself cause withdrawal headache. After delivery, the sudden estrogen drop brings attacks back for many women, which I will return to below.
The medicines I use, and the ones I avoid
Please treat this as a framework to discuss with your obstetrician and neurologist, not a prescription. Doses and timing depend on your history.
Generally acceptable first-line choices. Acetaminophen (paracetamol) at standard doses is the usual starting point; it is worth taking early in an attack rather than waiting. Metoclopramide is widely used for migraine nausea and also helps the pain. Hydration, a regular eating schedule, a dark quiet room and cold compresses are not trivial extras here; they are part of treatment. Magnesium and riboflavin are commonly used as low-risk supplementary options, though you should confirm doses with your prenatal team.
Sumatriptan when acetaminophen is not enough. Triptans were once avoided automatically. The largest registry data, mostly for sumatriptan, have not shown a clear increase in major birth defects, and many headache guidelines accept its use when simpler measures fail and attacks are disabling. I prefer to use it deliberately and sparingly, and not to combine it with other triptans. Because the safety evidence is strongest for sumatriptan, I rarely reach for the newer ones in pregnancy. If you take antidepressants alongside, see my explanation of what the serotonin syndrome warning actually means.
NSAIDs: a time limit. Ibuprofen and similar drugs are sometimes used briefly in the middle of pregnancy under medical advice, but regulators advise avoiding them from about 20 weeks onward because they can affect fetal kidney function and amniotic fluid, and in the third trimester they can affect a blood vessel in the baby’s heart circulation. If ibuprofen is your usual rescue drug, my article on ibuprofen not working for migraine explains why a different plan is worth building anyway.
Medicines I avoid. Valproate (valproic acid) should not be used in anyone who may become pregnant if alternatives exist, because of neural tube defects and effects on child development. Topiramate carries a risk of oral clefts and smaller birth weight. Ergotamine and dihydroergotamine are contraindicated. Opioids and butalbital combinations are poor choices: they work badly for migraine, risk dependence, and add exposure for the baby. The CGRP injections and gepants do not yet have enough pregnancy data for me to recommend them; many women stop them before conception on their doctor’s advice.
Prevention. If attacks are frequent, beta-blockers such as propranolol or metoprolol are options with long track records, and some low-dose tricyclics are used with monitoring. Greater occipital nerve blocks, which carry no systemic drug exposure, are another option I discuss with patients. Planning ahead matters: the best time to change a preventive is before conception, not at eight weeks.
When a headache in pregnancy is not migraine
This is the part I most want you to remember. A new or different headache, especially after 20 weeks, can signal preeclampsia. Warning features include a persistent headache that painkillers do not touch, flashing lights or blurred vision, upper abdominal pain, sudden swelling of the face or hands, and blood pressure at or above 140/90. If you have any of these, call your obstetric team the same day. Do not wait for your next appointment.
Other causes I keep in mind are cerebral venous thrombosis, which is more common in pregnancy and the weeks after delivery, and reversible cerebral vasoconstriction, which can cause a sudden, explosive headache. Any thunderclap headache, headache with weakness, confusion, seizure, or fever and neck stiffness belongs in an emergency department. After delivery, a headache that is worse upright and eases lying flat may follow an epidural; my guide to headache after an epidural or spinal tap covers that, and postpartum headache warning signs covers the rest.
A practical plan to take to your next visit
Keep a simple diary of attack days, what you took, and your blood pressure readings if you have them. Eat regularly, drink water through the day, and protect sleep as much as you can. Agree in advance with your prenatal team which medicines you may take and the maximum number of days per month, because frequent painkiller use can create rebound headache even in pregnancy; I explain this in how to stop the painkillers that cause rebound headaches. If you are planning a pregnancy and are on a migraine preventive, raise it now. And if your headache pattern changes in a way that feels wrong, trust that instinct and call.
Next steps
- Download the free headache red-flag checklist to see which symptoms need urgent care.
- If you want a specialist to review your situation, you can talk to a specialist here.
Medical disclaimer: This article is for general education and is not a substitute for personal medical advice, diagnosis or treatment. Never start, stop or change a medicine during pregnancy without speaking with your obstetrician or neurologist. If you have a sudden severe headache, vision changes, high blood pressure, weakness or seizure, seek emergency care immediately.
Written by Dr. Tae-Ho Guak, MD, neurologist with 25 years of clinical experience treating headache.
From the textbook. Chapter 54, “Headache in Pregnancy and the Puerperium,” of my clinical textbook Headache Medicine covers this topic in full for doctors, with the evidence and decision pathways behind it. About the book →
