You're pregnant and you have a headache. Again. The medicine cabinet is tempting, but you hesitate — is it safe? Which medications can you take?
Headaches during pregnancy are very common, especially in the first trimester. Here is an overview of safe treatments, natural remedies, and when to call your doctor.
Why do pregnant women get headaches?
Headaches during pregnancy have several causes, and they vary across trimesters.
First trimester
Hormone levels change dramatically. Estrogen and progesterone rise sharply, affecting blood vessels in the brain. Combined with nausea, dehydration, and exhaustion, this creates perfect conditions for headaches.
Second trimester
Many women experience improvement in the second trimester. The body has adapted to the new hormone levels. Some find that migraines that bothered them before pregnancy actually improve.
Third trimester
Headaches can return toward the end of pregnancy. Lack of sleep, tension in the neck and shoulders, and increased blood volume are common causes. Headaches in the third trimester should be taken seriously because they can be a sign of preeclampsia.
According to the AAP and WHO, tension headaches are the most common type in pregnant women. Migraines affect about 15–20 percent of women, and many find that their migraines actually improve during pregnancy.
Safe medications during pregnancy
Acetaminophen (Tylenol)
Acetaminophen is the only over-the-counter pain reliever recommended throughout pregnancy.
- Safe in all trimesters according to the AAP and WHO
- Standard dose: 325–650 mg, up to 4 times daily
- Maximum daily dose: 3,000 mg (some guidelines say 4,000 mg — always follow your provider's advice)
- Use the lowest effective dose for the shortest possible time
Take acetaminophen early when the headache starts. A fully developed headache is harder to treat than one just starting.
Medications to avoid
- Ibuprofen (Advil, Motrin): Should be avoided throughout pregnancy, especially after 20 weeks. Can affect the baby's kidneys and heart.
- Aspirin: Used only on a doctor's recommendation (some receive low-dose aspirin for preeclampsia prevention).
- Naproxen (Aleve): Same precautions as ibuprofen.
- Triptans: Used only after consultation with a doctor for severe migraines.
The AAP advises that ibuprofen and other NSAIDs should be avoided during pregnancy. Contact your doctor or pharmacist if you are unsure which medications are safe.
10 natural remedies for headaches
Many pregnant women prefer to try non-medication approaches first. Here is what has the best evidence.
1. Drink enough water
Dehydration is one of the most common headache triggers. Pregnant women need more fluids than usual — aim for 8–10 cups per day. Always keep a water bottle on hand.
2. Eat regularly
Low blood sugar causes headaches. Eat small, frequent meals rather than three large ones. Always keep a healthy snack in your bag.
3. Sleep well
Both too little and too much sleep can trigger headaches. Try to keep consistent bedtimes and wake times. A pillow between your knees can make side-sleeping more comfortable.
4. Exercise
Moderate physical activity prevents headaches. A daily 20–30 minute walk can make a significant difference.
5. Cold or warm compress
Place a cold cloth on your forehead or a warm cloth on the back of your neck. Many find the combination works best — cold in front, warm behind.
6. A dark, quiet room
For an acute headache, lie down in a dark and quiet room. Close your eyes and rest. Even 20 minutes can help.
7. Acupressure
Press gently on the point between your thumb and index finger for 30–60 seconds. Many people experience relief from this traditional acupressure point.
8. Fresh air
Go outside and breathe fresh air. Insufficient oxygen and poor indoor air quality are common headache triggers, especially in winter when windows are kept closed.
9. Magnesium
Magnesium supplements may help prevent headaches and migraines. Talk to your midwife or doctor about the right dose. Many pregnant women have low magnesium levels, and supplements can help with both headaches and muscle cramps.
10. Reduce stress
Stress is a well-known headache trigger. Try breathing exercises, meditation, or prenatal yoga. Even a short daily walk can help you decompress.
Migraines during pregnancy
If you had migraines before pregnancy, here is good news: up to 70 percent of women experience improvement, especially in the second and third trimesters. This is due to stable estrogen levels.
But some experience worsening, and some get migraines for the first time during pregnancy.
For migraines, talk to your doctor about:
- Safe preventive measures
- Whether triptans may be used in your situation
- A possible referral to a neurologist
First aid for migraines is the same as for regular headaches: acetaminophen, rest in a dark room, ice on the forehead, and good hydration.
When is a headache dangerous during pregnancy?
Most headaches in pregnancy are harmless. But some situations require prompt medical attention.
Contact your doctor or call your maternity line immediately if you experience: - Sudden, severe headache that comes on abruptly (the worst headache of your life) - Headache combined with visual disturbances (flashing lights, blurry vision) - Headache with swelling of the face, hands, or feet - Headache with high blood pressure - Headache with fever and stiff neck - Headache after 20 weeks that does not respond to acetaminophen
Preeclampsia
Headache after 20 weeks, combined with high blood pressure and protein in the urine, can be a sign of preeclampsia. According to the AAP and WHO, this affects 3–5 percent of pregnancies.
Other signs of preeclampsia:
- Swelling (especially in the face and hands)
- Visual disturbances
- Pain in the upper abdomen (under the ribs)
- Nausea or vomiting in the later stages of pregnancy
Preeclampsia is usually detected at routine prenatal checks through urine and blood pressure measurements.
Preventing headaches
The best strategies are preventive:
- Headache diary: Write down when headaches occur, what you ate, drank, and did. After a few weeks you may see a pattern.
- Consistent daily schedule: Wake up and go to bed at the same time.
- Plenty of fluids: Drink steadily throughout the day.
- Regular meals: Do not skip breakfast.
- Screen breaks: Take breaks from screens every 30 minutes.
- Ergonomics: Check your sitting posture, especially if you work at a desk.
Frequently asked questions
Can I take ibuprofen while breastfeeding?
Yes, ibuprofen is safe during breastfeeding according to the AAP. Only very minimal amounts pass into breast milk. Avoid it only during the pregnancy itself.
How often can I take acetaminophen during pregnancy?
You can take acetaminophen up to 4 times daily (max 3,000 mg/day — follow your provider's guidance). Use the lowest dose that gives relief. If you need acetaminophen daily over a longer period, speak with your doctor.
Is it normal to have a headache every day in the first trimester?
Daily headaches in the first trimester are not uncommon, but should be discussed with your midwife or doctor. They may be caused by hormonal changes, dehydration, or lack of sleep. Together you can find the cause and the right approach.
Sources
- American Academy of Pediatrics. "Pain Management in Pregnancy." AAP, 2024.
- World Health Organization. "WHO recommendations on antenatal care." WHO, 2024.
- American College of Obstetricians and Gynecologists. "Headaches in Pregnancy." ACOG, 2024.