Trimethoprim-Sulfamethoxazole Side Effects
✓ Medically reviewed by Mohamed Magdy Ibrahim, MD, PhD — Assistant Professor of Medicine, Transplant Nephrology, University of Maryland School of Medicine · Board certified in Internal Medicine (ABIM) · Last reviewed: November 2026
Pronounced try-METH-oh-prim sul-fah-meth-OX-ah-zole
Brand names: Bactrim, Septra
Type: Sulfonamide antibiotic combination · Full Trimethoprim-Sulfamethoxazole guide — what it is for, cautions and kidney note
Trimethoprim-sulfamethoxazole — co-trimoxazole — is a two-part sulfonamide antibiotic used for urinary infections, some skin infections including MRSA, and to prevent pneumocystis pneumonia in people with weakened immunity, including transplant patients. Its side effects centre on rash, potassium and kidney blood tests. This page explains what is expected, what is monitored, and what is dangerous.
By Dr. Mohamed Ibrahim, MD, PhD — Assistant Professor of Medicine, Transplant Nephrology, University of Maryland School of Medicine · Last reviewed: November 2026
Common side effects
- Nausea
- Rash — usually mild
- Loss of appetite
- Diarrhoea
- Headache
- Increased sensitivity to sunlight
Serious side effects — when to get urgent help
- A spreading rash with blistering, peeling or mouth sores — a rare severe skin reaction (Stevens-Johnson syndrome); stop and seek emergency care
- Swelling of the lips, tongue or throat, or trouble breathing (allergic reaction)
- Unusual tiredness, breathlessness or palpitations — possible high potassium or blood-count effects; seek prompt care
- Greatly reduced urine or swelling — kidney effects
- Yellowing of the skin or eyes (liver warning sign)
- Unusual bruising or bleeding
If you have any of these, seek urgent medical care and tell the team that you take trimethoprim-sulfamethoxazole.
Why these side effects happen
The two components block two steps of bacterial folate production, starving the bacteria. Human cells use some of the same chemistry, which explains the blood-count and potassium effects: trimethoprim also blocks a kidney channel that excretes potassium, so potassium rises, and it blocks creatinine secretion, so the kidney blood test looks worse even when the kidneys themselves are unharmed. The severe skin reactions are immune responses to the sulfonamide part.
What usually helps
- Drink adequate fluids during treatment unless your team has restricted them
- Attend the blood tests your team arranges — potassium and kidney checks are part of safe use
- Protect your skin from strong sun; this drug increases sun sensitivity
- Tell every prescriber about any sulfa allergy before starting
- Report any rash early — most are mild, but a spreading or blistering rash is an emergency
◆ Kidney note — who should be extra careful
This medicine has a double kidney story. It is a standard, valuable preventive medicine after transplant and in some dialysis patients — but it raises potassium, makes creatinine blood tests look worse (partly a test effect, partly real strain), and its dose is lowered when kidney function is reduced. Combined with ACE inhibitors, ARBs or spironolactone, potassium can climb dangerously, so monitoring is close in kidney patients.
Who else should be extra careful
- People with kidney disease — potassium and creatinine are monitored
- People taking ACE inhibitors, ARBs, spironolactone or other potassium-raising medicines
- Anyone with a sulfa (sulfonamide) allergy — it must not be used
- Older adults and people with low folate or blood-count problems
- People taking warfarin or methotrexate — interactions strengthen their effects
Frequently asked questions
My kidney test got worse — is the drug damaging my kidneys?
Not necessarily. Trimethoprim blocks the secretion of creatinine into urine, so the blood creatinine rises and the estimated kidney function falls even when the kidneys are filtering normally. Your team distinguishes this test effect from true injury by the size of the rise, your potassium, urine output and how you feel.
Why is potassium such a concern?
Trimethoprim acts like a potassium-sparing diuretic in the kidney tubule, so potassium excretion falls. With kidney disease or potassium-raising blood pressure medicines, levels can become dangerous — hence the blood-test monitoring.
What rash should worry me?
A mild, flat rash without other symptoms is common and usually settles — but report it. A rash that spreads, blisters, peels, or comes with mouth sores, eye redness or fever is a medical emergency: stop the drug and seek care immediately.
I am allergic to 'sulfa' — what does that mean for this drug?
This antibiotic is a sulfonamide, so a previous sulfonamide reaction means it should not be used. Note that 'sulfa allergy' does not automatically mean allergy to sulfites, sulfate or sulfur — tell your team exactly which product caused your reaction.
More drug side-effect guides
Condition guides on MedicalVideos.com
- Urinary Tract Infection — videos, articles and guides
- Transplantation — videos, articles and guides
Sources
- Trimethoprim-Sulfamethoxazole: MedlinePlus Drug Information (MedlinePlus (U.S. National Library of Medicine))
- Trimethoprim-Sulfamethoxazole — FDA-approved label (DailyMed) (DailyMed (U.S. National Library of Medicine))
- Antibiotics (MedlinePlus)