Co-trimoxazole
Also called Trimethoprim–sulfamethoxazole, TMP-SMX
Two-drug antibiotic for UTIs and pneumocystis.
- Starts working
- Varies
- Half-life
- About 10 hours
- In use since
- 1968
- Pregnancy
- Usually avoided
Overview
Co-trimoxazole combines two antibiotics that block bacteria making folic acid. It treats urinary and some skin infections and is vital for preventing and treating pneumocystis pneumonia in people with HIV or weak immune systems.
Conditions it's used for
How it works
Blocks two steps in the vitamin pathway bacteria depend on.
Co-trimoxazole belongs to the Sulfonamide combinations. How Sulfonamide combinations work: block two steps in the way bacteria make folic acid, which they need to build DNA.
Uses
- Urinary tract infections
- Pneumocystis pneumonia treatment and prevention
- MRSA skin infections
- Toxoplasmosis prevention
Available as: tablet, oral suspension, iv infusion.
Typical dose
- Adults
- 960 mg (800/160 mg) twice a day.
Typical doses for orientation only. Your prescription, the pack leaflet and local guidance take priority.
Side effects
Common
Often mild and may settle with time
- Nausea
- Rash
- Loss of appetite
Serious — get medical help
Uncommon, but need prompt attention
- Severe skin reactions (SJS/TEN)
- High potassium
- Blood disorders
- Kidney injury
Warnings
- Stop at the first sign of rash
- Drink plenty of fluids
- Avoid with folate deficiency or G6PD deficiency
Who should avoid it
- Allergy to sulfonamides
- Folate deficiency or blood disorders
- Severe kidney or liver impairment
- Late pregnancy, newborns under 6 weeks
- Taking methotrexate
Interactions
- Methotrexate — dangerous bone marrow suppression
- Warfarin — INR rises sharply
- ACE inhibitors, spironolactone — high potassium
- Phenytoin — higher levels
Other medicines in the atlas that need care with Co-trimoxazole, grouped by the reason:
High potassiumMajorWith Amiloride, Candesartan, Captopril, Ciclosporin, Dalteparin and 18 more
Trimethoprim can reduce potassium excretion. Combining it with potassium supplements or potassium-raising medicines can cause dangerous hyperkalaemia.
What's usually done: Avoid where possible; check potassium and kidney function if prescribed together.
Severe methotrexate toxicityMajorWith Methotrexate
Trimethoprim adds to methotrexate's folate blockade and reduces its clearance, causing potentially fatal bone marrow suppression.
What's usually done: Avoid together; choose a different antibiotic.
Dangerous high potassiumMajorWith Potassium chloride
Potassium supplements with drugs that hold on to potassium can push levels high enough to disturb heart rhythm.
What's usually done: Only combine with regular blood tests; avoid potassium salt substitutes.
Warfarin effect strongly increasedMajorWith Warfarin
This medicine slows warfarin's breakdown or disrupts vitamin K, so INR can rise sharply within days, risking bleeding.
What's usually done: Check INR within 3–5 days of starting or stopping; a warfarin dose reduction is often needed.
High potassium riskModerateWith Amiloride, Candesartan, Captopril, Ciclosporin, Dalteparin and 17 more
Both medicines can raise potassium. Kidney disease, diabetes and older age add to the risk.
What's usually done: Commonly combined (e.g. ACE inhibitor with spironolactone in heart failure) with blood tests after starting and dose changes.
Using it safely
- Alcohol
- Usually no problem in moderation. No direct interaction.
- Food and drink
- Take with food and a full glass of water; keep well hydrated.
- If you miss a dose
- Take it when you remember unless close to the next dose. Do not double up.
- Stopping it
- Complete the course unless rash, mouth sores or fever develop: stop and seek help.
- Driving
- No effect.
- Tests and checks
- Potassium and kidney function; Blood counts in long courses
- If too much is taken
- Nausea, vomiting, dizziness; bone marrow effects at high doses. Seek advice.
- Storage
- Room temperature.
- Legal status
- United States: Prescription onlyUnited Kingdom: Prescription-only medicine (POM)India: Schedule HAustralia: Prescription only (Schedule 4)
Pregnancy and breastfeeding
Pregnancy
Usually avoided
Avoided in the first trimester (folate antagonist) and near term, except for HIV-related prevention.
Breastfeeding
Use with caution
Avoid in the first weeks after birth, and in G6PD-deficient infants.
Special groups
- Kidney disease
- Reduce the dose or avoid in severe impairment; raises potassium.
- Liver disease
- Use cautiously.
- Older adults
- Higher risk of high potassium and kidney problems.
Brand names
- United States
- Bactrim, Septra
- United Kingdom
- Septrin
- India
- Septran, Bactrim
Examples only; many generic versions exist. The same brand name can mean different products in different countries.
Common questions
Why does it raise potassium?
Trimethoprim acts like a mild potassium-sparing diuretic in the kidney.
Do I need a prescription for Co-trimoxazole?
Yes — Co-trimoxazole is prescription-only in most countries.
Can I take Co-trimoxazole during pregnancy?
Usually avoided. Avoided in the first trimester (folate antagonist) and near term, except for HIV-related prevention. Always check with a doctor or midwife.
Related medicines
Nitrofurantoin
First choice for simple bladder infections.
RxWHONitrofuransMethotrexate
Once-weekly anchor drug for rheumatoid arthritis.
RxWHOConventional DMARDsCiprofloxacin
Fluoroquinolone for specific serious infections.
RxWHOFluoroquinolonesDoxycycline
Versatile antibiotic for chest, skin, STIs and malaria.
RxWHOTetracyclines
Sources and official information
- MedlinePlus (US National Library of Medicine)
- DailyMed — official US labels
- NHS medicines A–Z
- WHO ATC/DDD index — J01EE01
- WHO Model List of Essential Medicines
Entry last reviewed October 2026. Compiled from WHO, NHS, FDA/DailyMed, BNF and national formulary information. How we write entries.