Need emergency help? Call 999 in United Kingdom.

Open local help

Detailed medicine guidance

Pregnancy, breastfeeding and fertility while taking trimethoprim

NHS medicines information on trimethoprim 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.

Trimethorprim and pregnancy

Trimethoprim can be taken in pregnancy, but it's not usually recommended in the first 12 weeks. This is because it may lower your levels of folic acid, which is important in the early stages of your baby's development.

Sometimes trimethoprim is the only suitable antibiotic to treat an infection. In this case, the benefit of taking it is likely to outweigh the risk of harm. Your doctor will help you decide whether taking it is right for you.

If you're trying to get pregnant or you're in the first 12 weeks of pregnancy and you need to take trimethoprim, a doctor will usually prescribe a higher dose folic acid (5mg per day).

Trimethoprim and breastfeeding

You may be able to take trimethoprim while breastfeeding but check with a pharmacist or doctor first.

Trimethoprim passes into breast milk in small amounts and is unlikely to cause side effects in your baby if you take it for a short time.

It's rare for breastfed babies to get side effects from medicines you're taking, but speak to a healthcare professional or call 111 if you have any concerns about your baby.

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 Trimethoprim