Is Ibuprofen Safe During Pregnancy?
The verdict
Best to avoid
The short answer: avoid ibuprofen in pregnancy
It is best to avoid ibuprofen during pregnancy, especially from 20 weeks onward. It belongs to a group of medicines called NSAIDs, and major health bodies advise against routine use because of real risks to your baby's developing kidneys and heart. For most pregnancy aches, pains, and fevers, acetaminophen (paracetamol) is the preferred option. Always confirm with your own provider, who knows your full history.
This is not about a single accidental dose ruining anything. It is about not reaching for ibuprofen as a go-to. If you have questions about something you already took, that is exactly what your provider is there for, and we cover that below.
Why ibuprofen is risky: the actual mechanism
Ibuprofen works by blocking prostaglandins, the body chemicals that drive inflammation and pain. The problem is that prostaglandins also do essential jobs for your baby. They help keep the baby's kidneys producing the urine that becomes amniotic fluid, and they keep open a key blood vessel near the baby's heart called the ductus arteriosus, which is supposed to stay open until birth.
When ibuprofen interferes with these signals, two things can happen: the baby's kidneys may make less fluid, lowering the amniotic fluid level (oligohydramnios), and that heart vessel can start to narrow too early. Both can stress a developing baby, which is why the warning sharpens in the second half of pregnancy.
Trimester nuance: when the concern is greatest
The strongest, clearest warnings apply from about 20 weeks onward, when the kidney and heart effects become most relevant. From roughly 30 weeks, the concern about that heart vessel closing early is high enough that ibuprofen should be avoided unless a specialist is directing its use for a specific reason.
In the first trimester the picture is less settled, and you may see mixed messages online. The safest course is the simplest one: treat ibuprofen as off the table throughout pregnancy unless your provider specifically tells you otherwise. There is rarely a reason to gamble when a safer alternative exists.
What to use instead
For everyday pain, headaches, and fever, acetaminophen (paracetamol) is the standard recommendation in pregnancy. Use the lowest effective amount for the shortest time you need, and follow the package directions or your provider's guidance rather than stacking doses. For aches, non-drug measures genuinely help: rest, a warm or cool compress, gentle stretching, a maternity support belt, hydration, and good sleep positioning.
Skip other NSAIDs too, since they carry the same mechanism. That includes naproxen, diclofenac, aspirin at pain-relieving doses, and combination cold or period products that hide an NSAID in the ingredient list. Low-dose aspirin is a separate, deliberate exception some providers prescribe for specific reasons; that is a planned medical decision, not self-treatment.
If you already took some ibuprofen
Try not to panic. A single dose or a short accidental use early in pregnancy is very unlikely to cause harm, and many people discover the guidance only after the fact. The sensible step is to stop taking it now and switch to a safer option, then mention it to your provider at your next contact so it is on the record.
Reach out sooner rather than later if you took ibuprofen repeatedly, used it regularly in the second half of pregnancy, or took a large amount. Your provider can decide whether any extra monitoring, such as checking amniotic fluid, makes sense for your situation.
Breastfeeding is a different story
The pregnancy warning does not carry over to nursing. Ibuprofen is generally considered compatible with breastfeeding because very little passes into breast milk, and it is often suggested for after-birth pain and recovery. So the same medicine you avoided while pregnant may be perfectly reasonable once your baby has arrived.
That said, postpartum bodies and medication needs vary, so confirm with your provider, especially if your baby was premature or has health concerns.
When to call your provider
Call if you have been using ibuprofen or another NSAID during pregnancy and are unsure what to do, if pain or fever is severe or not improving with acetaminophen, or if you have a fever you cannot bring down. A persistent fever in pregnancy is worth a same-day call on its own.
Also reach out before taking any new medicine, including over-the-counter and herbal products, since labels do not always flag pregnancy risks clearly. A quick question now is always easier than worrying later.
The bottom line
Avoid ibuprofen in pregnancy, especially after 20 weeks; choose acetaminophen instead, and check with your provider about anything you have already taken or any pain that will not ease.
Frequently asked
Is ibuprofen safe during pregnancy?
It’s best avoided during pregnancy. Avoid, especially after 20 weeks — linked to fetal kidney and heart risks. Ask your provider. If you need an option, ask your provider for a pregnancy-safe alternative.
What can I take instead of ibuprofen?
Ask your provider for a pregnancy-safe alternative that fits your situation — there’s usually a good option, and they can match it to your history.
Is ibuprofen safe while breastfeeding?
Breastfeeding is often a different and more reassuring picture than pregnancy — some medications limited in pregnancy pass only in tiny amounts into breast milk. Check with your provider or pharmacist about ibuprofen for your situation and use standard dosing.
References
Sources we consult
We cross-check our editorial guidance against these authorities. Click any source for the original.
American College of Obstetricians and Gynecologists ↗
Pregnancy and women’s health clinical guidance
Centers for Disease Control and Prevention ↗
US public-health data and recommendations
March of Dimes ↗
Pregnancy and newborn health education
US Food and Drug Administration ↗
Food, drug, and infant-formula safety regulation
Gear & guides for a safe pregnancy
Expert-tested, safety-first picks for what’s next.
Related health topics
Common pregnancy questions our medical team answers.
Browse the health A–Z →Fact-checked by Dr. Elena Vasquez, MD, FAAP (Board-certified pediatrician & medical reviewer)