Written and medically reviewed by Tae Ho Guak, MD, board-certified neurologist · Reviewed July 2026 · Editorial policy

Summary: During pregnancy, headache patterns change due to hormonal, hemodynamic, and sleep alterations. Primary headaches (migraine and tension-type headache) often improve, but new-onset headaches in the later stages of pregnancy may signal emergency conditions such as preeclampsia or cerebral venous sinus thrombosis. This article outlines safe medication selection during pregnancy and lactation, along with non-pharmacological self-management principles, based on ICHD-3 classification and recommendations from ACOG and the American Headache Society (AHS).
Pregnancy and Headaches: Why Do They Change? (Medical Background)
During pregnancy, estrogen levels rise up to approximately 100-fold, plasma volume increases by approximately 40–50%, and sleep, eating patterns, and posture all change. These changes directly affect headache patterns.
- Migraine: Approximately 60–70% of patients with migraine without aura (ICHD-3 1.1) experience improvement during the second and third trimesters. However, migraine with aura (1.2) has a lower remission rate, and aura may first appear during pregnancy.
- Tension-Type Headache (ICHD-3 2): Frequency may actually increase due to postural changes, sleep deprivation, and stress.
- De novo headache: New-onset headaches in the later stages of pregnancy (especially after 20 weeks) should raise suspicion for secondary headaches rather than primary headaches.
Diagnostic Differentiation Points — Secondary Headaches That Must Not Be Overlooked
New-onset headaches in pregnant women require differentiation of the following conditions:
- Preeclampsia: New-onset headache starting after week 20 of pregnancy + blood pressure ≥140/90 mmHg + proteinuria or organ dysfunction. If accompanied by visual blurring, right upper quadrant pain, or hyperreflexia, seek emergency care immediately.
- Cerebral Venous Sinus Thrombosis (CVST): Incidence is approximately 5–10 times higher than baseline during pregnancy and the postpartum period due to a hypercoagulable state. Characteristics include progressively worsening headache, focal neurological symptoms, and seizures.
- Reversible Cerebral Vasoconstriction Syndrome (RCVS): Common in the first to third week postpartum, with recurrent thunderclap headaches.
- Idiopathic Intracranial Hypertension (IIH): In pregnant women with obesity, headache + visual changes + pulsatile tinnitus.
- Pituitary Hemorrhage (Sheehan Syndrome, etc.): Suspect if severe headache + visual field defect + hypotension occur immediately after delivery.
Measurement of blood pressure, urinalysis, and neurological examination are mandatory at each evaluation for headache during pregnancy. If red flags are present, prioritize MRI (without gadolinium) or MR venography.
Medication Selection During Pregnancy and Lactation — Safe and Unsafe Options
The FDA’s previous pregnancy category system (A–X) has been discontinued, and currently medication risks and data are described according to the Pregnancy and Lactation Labeling Rule (PLLR). Clinically established safety recommendations are as follows:
Acute Pain Control
- Acetaminophen (Paracetamol): First-line choice throughout pregnancy. Use 500–1000 mg per dose, maximum 3 g per day for short-term use. Long-term or high-dose use is associated with potential effects on offspring neurodevelopment, so short-term use only is recommended.
- NSAIDs (Ibuprofen, Naproxen): Short-term use is acceptable in the first and second trimesters, but contraindicated after week 20 due to risk of oligohydramnios and premature ductus arteriosus closure. Absolutely contraindicated after week 30.
- Triptans: Sumatriptan has the most data available and shows no increased risk of major malformations, but use should be considered cautiously if first-line therapy fails. In patients with prior good efficacy before pregnancy, use should be discussed with the obstetrician.
- Ergotamine and Dihydroergotamine (DHE): Contraindicated due to uterine contractions and decreased placental perfusion.
- Opioids: Chronic use is not recommended due to risk of neonatal withdrawal and medication overuse headache (MOH).
Preventive Treatment
- Magnesium (Glycinate or Citrate) 300–400 mg/day: Relatively safe during pregnancy; first-line option.
- Riboflavin (Vitamin B2) 200–400 mg/day: Adequate safety data available.
- Propranolol, Metoprolol: May be used after obstetric consultation, but monitor for fetal bradycardia and hypoglycemia immediately before delivery.
- Topiramate, Valproate: Contraindicated due to risk of cleft palate and neural tube defects.
- CGRP Monoclonal Antibodies (Erenumab, Galcanezumab, Fremanezumab): Insufficient data during pregnancy; generally recommended to discontinue when planning pregnancy (consider discontinuation at least 5 months in advance based on half-life).
- Botulinum Toxin A (Chronic Migraine): Safety signals appear favorable in some cohorts, but generally defer during pregnancy if possible.
During Lactation
Acetaminophen, ibuprofen, sumatriptan, propranolol, and magnesium are generally safe to use during lactation (per LactMed standards). Avoid ergotamine and high-dose aspirin.
Self-Care and Prevention Tips (Practical Guide for Patients)
To manage headaches while reducing medication use, small daily habits are truly important. The following are particularly recommended for pregnant women:
- Hydration: 2–2.5 liters per day. Dehydration from nausea worsens headaches.
- Regular meals: Eat small meals containing protein at 3–4 hour intervals. Fasting hypoglycemia is a powerful migraine trigger.
- Sleep consistency: Maintain sleep and wake times within ±1 hour. Sleeping too much also triggers migraine.
- Caffeine: Maximum 200 mg per day (approximately 1–2 cups of coffee). Abrupt cessation causes caffeine withdrawal headaches, so reduce gradually.
- Non-pharmacological treatments: Cold compresses (forehead, temples), light walking, prenatal yoga, massage, acupuncture, biofeedback, and cognitive behavioral therapy (CBT) all have supporting evidence.
- Headache diary: Pattern your triggers (stress, meals, weather, sleep) and review them with your obstetrician and neurologist during visits.
Warning Signs Requiring Immediate Hospital or Emergency Department Visit
- Severe new-onset headache after week 20 of pregnancy, or headache with a completely different pattern from usual
- Blood pressure rising to 140/90 mmHg or above, or sudden swelling and weight gain
- Thunderclap headache (reaching maximum intensity within seconds to 1 minute)
- Visual blurring, scotoma, diplopia; unilateral weakness, slurred speech, altered consciousness, seizures
- Headache accompanied by fever (possible meningitis)
- Headache with severe vomiting preventing fluid intake
- If any of the above warning signs are present, do not delay with over-the-counter pain relievers—proceed immediately to the emergency department or obstetric facility. Preeclampsia and CVST must be treated within the golden period to protect both mother and fetus.
Conclusion — You Don’t Have to Bear Pregnancy Headaches Alone
Headaches during pregnancy are not a matter of “virtue through suffering.” With safe first-line medications (acetaminophen), non-pharmacological self-management, and prior knowledge of warning signs, most headaches can be managed safely. If you had migraine before pregnancy, establish a medication adjustment plan with your neurologist and obstetrician from the pregnancy planning stage. If headaches recur frequently or change in pattern, do not delay seeking care from a headache specialist.
This content is provided for general informational purposes and does not substitute for medical diagnosis or treatment recommendations for individual patients. Do not self-administer any medication during pregnancy without first consulting your physician.
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 →
