Updated: January 23, 2026
Sulfamethoxazole/Trimethoprim Side Effects: What to Expect and When to Call Your Doctor
Author
Peter Daggett

Summarize with AI
Learn about common and serious side effects of sulfamethoxazole/trimethoprim (Bactrim), which ones to watch for, and when to stop taking it and call your doctor.
Sulfamethoxazole/trimethoprim (TMP-SMX, Bactrim, Septra) is generally well-tolerated for short courses, but it has a broader side-effect profile than some other antibiotics. Knowing what to expect — and which symptoms require immediate medical attention — is essential for safe use.
Common Side Effects of Sulfamethoxazole/Trimethoprim
These side effects are relatively common and usually manageable. They tend to resolve after completing the course or shortly after stopping the medication:
Nausea and upset stomach: One of the most frequently reported side effects. Taking TMP-SMX with a full glass of water and food can reduce stomach upset.
Vomiting and diarrhea: Common GI effects; stay hydrated. If diarrhea is severe or bloody, contact your doctor (could indicate C. diff infection).
Rash: A mild skin rash is common with sulfa antibiotics. However, any rash should be reported to your doctor, as it can be an early warning sign of more serious skin reactions (see below).
Sun sensitivity (photosensitivity): TMP-SMX can make your skin more sensitive to sunlight. Use sunscreen and protective clothing while taking this medication.
Loss of appetite: Common, especially during longer courses. Eating small, frequent meals can help.
Headache: Mild headaches are reported by some patients. Staying well-hydrated helps.
Increased potassium (hyperkalemia): Trimethoprim blocks renal potassium excretion. This is more likely in older patients, those with kidney disease, or those taking ACE inhibitors/ARBs or potassium-sparing diuretics.
Serious Side Effects — Stop Taking TMP-SMX and Seek Medical Attention Immediately
TMP-SMX has a number of potentially serious side effects that require prompt medical attention. Do not wait to see if these resolve on their own:
Stevens-Johnson Syndrome (SJS) / Toxic Epidermal Necrolysis (TEN): Rare but life-threatening. Early signs include: blistering or peeling skin, sores in the mouth or eyes, red or purple rash that spreads rapidly, fever and flu-like symptoms followed by skin pain. STOP the medication immediately and go to the ER.
DRESS Syndrome (Drug Reaction with Eosinophilia and Systemic Symptoms): A severe hypersensitivity reaction. Signs include: widespread rash, high fever, swollen lymph nodes, and internal organ involvement (liver, kidney). Can occur 2–8 weeks after starting the medication. Stop immediately and seek emergency care.
Anaphylaxis: Severe allergic reaction with throat swelling, difficulty breathing, rapid heartbeat, or drop in blood pressure. Call 911 immediately.
Blood disorders (agranulocytosis, aplastic anemia, thrombocytopenia): Rare but serious. Signs include: unusual bruising or bleeding, extreme fatigue, pale skin, persistent fever, or recurring infections.
Hepatotoxicity (liver damage): Jaundice (yellowing of skin or eyes), dark urine, severe abdominal pain. Stop the medication and contact your doctor.
C. difficile-associated diarrhea (CDAD): Watery, bloody, or severe diarrhea during or after treatment. May indicate C. diff infection, which requires specific treatment.
Renal toxicity (acute interstitial nephritis): Decreased urination, swelling in legs or feet, back pain. More likely in elderly patients or those with pre-existing kidney conditions.
Side Effects More Common in Certain Populations
Elderly patients: Higher risk of hyperkalemia, blood dyscrasias, and rash. More likely to have folate deficiency.
HIV/immunocompromised patients: Higher rate of hypersensitivity reactions including rash and fever when taking high-dose TMP-SMX for PCP treatment.
G6PD deficiency: Increased risk of hemolytic anemia. TMP-SMX should be avoided or used with extreme caution.
Tips for Minimizing TMP-SMX Side Effects
Take with food and a full glass (8 oz) of water to reduce GI upset.
Drink extra water throughout the day to prevent crystals forming in the urine (crystalluria).
Wear sunscreen (SPF 30+) and protective clothing to reduce photosensitivity reactions.
Complete the full prescribed course even if you feel better, to prevent antibiotic resistance.
For a deeper look at medication interactions that can worsen side effects, see our guide: Sulfamethoxazole/Trimethoprim Drug Interactions: What to Avoid.
If you need help finding the medication at a pharmacy near you, medfinder can help locate which pharmacies have it in stock.
Frequently Asked Questions
The most common side effects are nausea, vomiting, diarrhea, rash, and photosensitivity (sun sensitivity). These typically occur in the first few days of treatment and often resolve on their own. Taking TMP-SMX with food and plenty of water can reduce stomach upset. Always report any rash to your doctor, as it can be an early sign of a serious reaction.
Not always, but any rash while taking TMP-SMX should be reported to your doctor promptly. A mild, non-blistering rash may be manageable, but blistering, peeling, or spreading skin rashes — especially combined with fever or mouth sores — could indicate Stevens-Johnson Syndrome (SJS), a life-threatening reaction. Do not wait; stop the medication and seek emergency care if you develop these symptoms.
Yes. Trimethoprim can impair renal potassium excretion, leading to hyperkalemia (high potassium), especially in elderly patients or those with kidney disease. TMP-SMX can also cause acute interstitial nephritis in rare cases. Patients with pre-existing kidney disease should have their dose adjusted and kidney function monitored. Your doctor will assess your renal function before prescribing.
Yes, though these are rare. TMP-SMX can cause agranulocytosis (low white blood cells), aplastic anemia, and thrombocytopenia (low platelets). Signs include unusual bruising or bleeding, extreme fatigue, pale skin, or persistent fever. Long-term users and those with G6PD deficiency are at higher risk. Report any of these symptoms to your doctor immediately.
Mild diarrhea is common with TMP-SMX and usually resolves after completing the course. However, if you develop watery or bloody diarrhea — during treatment or even weeks after finishing — stop taking it and contact your doctor. This could be a sign of C. difficile-associated diarrhea (CDAD), which requires specific antibiotic treatment and prompt medical attention.
Medfinder Editorial Standards
Medfinder's mission is to ensure every patient gets access to the medications they need. We are committed to providing trustworthy, evidence-based information to help you make informed health decisions.
Read our editorial standardsPatients searching for Sulfamethoxazole/Trimethoprim also looked for:
More about Sulfamethoxazole/Trimethoprim
30,239 have already found their meds with Medfinder.
Start your search today.





