Need emergency help? Call 999 in United Kingdom.

Open local help

Detailed medicine guidance

Who can and cannot take trimethoprim

NHS medicines information on who can take trimethoprim and who may not be able to take it.

About this information

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

Who can take trimethoprim

Most adults and children can take trimethoprim.

Who may not be able to take trimethoprim

Trimethoprim is not suitable for some people. To make sure it's safe for you, tell your doctor before starting to take trimethoprim if you:

  • have ever had an allergic reaction to trimethoprim or any other medicine
  • have liver or kidney problems
  • have iron deficiency anaemia or low amounts of folic acid (vitamin B12 or folate deficiency anaemia) in your blood
  • have porphyria (a rare inherited blood disorder) or any other blood disorder
  • are trying to get pregnant or are already pregnant

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