Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Internal medicine › Infectious diseases › Relevant pharmacology

Trimethoprim, sulfonamides and nitrofurantoin

Trimethoprim and the sulfonamides block two steps of bacterial folate synthesis: sulfamethoxazole competes with para-aminobenzoic acid at dihydropteroate synthase and trimethoprim inhibits dihydrofolate reductase. Together, as co-trimoxazole, they give synergistic killing and are first-line for Pneumocystis pneumonia treatment and prophylaxis, Stenotrophomonas, Nocardia and toxoplasmosis prophylaxis. Trimethoprim alone treats lower urinary tract infection where resistance is low. Its amiloride-like block of epithelial sodium channels causes hyperkalaemia, and it raises serum creatinine by blocking tubular secretion without lowering GFR. Sulfonamides cause rash, Stevens–Johnson syndrome, marrow suppression, haemolysis in G6PD deficiency and kernicterus in neonates. Nitrofurantoin is reduced by bacterial enzymes to reactive intermediates that damage many targets, so resistance stays low; it concentrates only in urine, so it treats cystitis but never pyelonephritis. NICE NG109 makes it first-line for lower UTI if eGFR is 45 or more. Long-term use can injure lung and liver.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Mucosal erosions in Stevens–Johnson syndrome
Mucosal erosions in Stevens–Johnson syndrome Haemorrhagic crusting of the lips and oral erosions; sulfonamides such as co-trimoxazole are a classic trigger, so stop the drug immediately. · James Heilman, MD · CC BY-SA 3.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Trimethoprim-induced creatinine riseCreatinine up 10–20% with stable urea and urine outputRepeat creatinine after stopping; cystatin C
True AKI (interstitial nephritis or dehydration)Rising urea, falling urine output, rash or eosinophiliaUrinalysis, urine microscopy, renal ultrasound
Trimethoprim hyperkalaemiaPotassium rise in an older patient on ACE inhibitor or spironolactoneSerum potassium, ECG
Stevens–Johnson syndrome/TENFever, mucosal ulceration and blistering 1–3 weeks into co-trimoxazoleClinical; skin biopsy; SCORTEN
Co-trimoxazole marrow suppressionNeutropenia or thrombocytopenia, especially with methotrexateFull blood count; folate
G6PD haemolysisDark urine, jaundice, anaemia after sulfonamide or nitrofurantoinBlood film (bite cells), G6PD assay after recovery
Nitrofurantoin pulmonary reactionFever, cough, breathlessness within days (acute) or insidious fibrosis on long-term prophylaxisChest X-ray or CT, eosinophil count

Exam pearls

A creatinine rise of up to about 15–20% on trimethoprim without a rise in urea or cystatin C is a secretion effect, not kidney damage.
Never give trimethoprim or co-trimoxazole to a patient on methotrexate: the combined antifolate effect can cause fatal pancytopenia.
Nitrofurantoin is useless in pyelonephritis, prostatitis and bacteraemia because it never reaches therapeutic blood or tissue levels.
Proteus is intrinsically resistant to nitrofurantoin; nitrofurantoin can turn urine brown.
Rash from co-trimoxazole is very common in advanced HIV; mild rash can sometimes be treated through or desensitised, but mucosal involvement means stop at once.
Folinic acid (not folic acid) rescues human cells from antifolate toxicity, for example with pyrimethamine.

Guideline

NICE NG109 lower urinary tract infection: antimicrobial prescribing (2018) and WHO 2021 consolidated HIV guidelines (co-trimoxazole prophylaxis)

References

  1. National Institute for Health and Care Excellence. Urinary tract infection (lower): antimicrobial prescribing (NG109). NICE 2018.
  2. Huttner A, Kowalczyk A, Turjeman A, et al.. Effect of 5-Day Nitrofurantoin vs Single-Dose Fosfomycin on Clinical Resolution of Uncomplicated Lower Urinary Tract Infection in Women: A Randomized Clinical Trial. JAMA 2018.
  3. Fralick M, Macdonald EM, Gomes T, et al.. Co-trimoxazole and sudden death in patients receiving inhibitors of renin-angiotensin system: population based study. BMJ 2014.
  4. Wagenlehner F, Perry CR, Hooton TM, et al.. Oral gepotidacin versus nitrofurantoin in patients with uncomplicated urinary tract infection (EAGLE-2 and EAGLE-3): two randomised, controlled, double-blind, double-dummy, phase 3, non-inferiority trials. Lancet 2024.
  5. Bennett JE, Dolin R, Blaser MJ (eds).. Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases, 9th edition. Elsevier 2020.
  6. World Health Organization. Consolidated guidelines on HIV prevention, testing, treatment, service delivery and monitoring: recommendations for a public health approach. WHO, Geneva 2021.

Related topics

Antimicrobial stewardshipBeta-lactamsMacrolides, tetracyclinesAminoglycosidesAnti-MRSA agentsFluoroquinolonesAntiretroviral therapyMetronidazoleAntivirals (non-HIV)Antifungal drugs

By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.