Need emergency help? Call 999 in United Kingdom.

Open local help

Detailed medicine guidance

Pregnancy, breastfeeding and fertility while taking ibuprofen and codeine

NHS medicines information on ibuprofen and codeine and whether you can take it while pregnant or breastfeeding.

About this information

This NHS content is written for people in England. Medicine names, availability, prescribing and services may differ in other countries.

Ibuprofen and codeine and pregnancy

While a short course of combined ibuprofen and codeine could be taken up to 20 weeks of pregnancy, other painkillers are likely to be more suitable.

Ibuprofen can affect your baby's circulation and amniotic fluid if you take it after 20 weeks, or for more than 2 to 3 days at a time.

Codeine can affect your baby, especially towards the end of pregnancy. Your baby may get used to having codeine and may have withdrawal symptoms when they're born. There is a slightly higher chance of your baby having breathing problems. These are usually temporary, but your baby may need to stay in hospital for extra monitoring.

Combined ibuprofen and codeine is not recommended during pregnancy. Other medicines are more suitable. Ask your doctor or pharmacist for advice.

Ibuprofen and codeine and breastfeeding

Do not take combined ibuprofen and codeine if you're breastfeeding. Talk to your doctor or pharmacist, as they will be able to recommend a more suitable painkiller.

Small amounts of the codeine may get into breast milk and can cause breathing problems in your baby and make them feel sleepy.

However, it's OK to take ibuprofen on its own while breastfeeding.

View the original NHS website page ↗. Refreshed 19 August 2026.

Licensed under the Open Government Licence v3.0 ↗. MyPHU is independent and is not endorsed by the NHS.

More about Ibuprofen and codeine