Evidence reviewed: November 9, 2026
Trimethoprim/sulfamethoxazole (TMP-SMX), also known as co-trimoxazole, combines two antibacterial drugs that block consecutive steps in bacterial folate metabolism. The combination is used for selected bacterial infections and also has an important role in preventing and treating Pneumocystis jirovecii pneumonia (PCP or PJP), an opportunistic fungal infection. It is a prescription medicine with significant allergy, blood-count, kidney-related, and drug-interaction precautions. [1–3]
Names used for the combination include TMP-SMX, co-trimoxazole, and certain country-specific brand names. The combination is distinct from trimethoprim alone or sulfamethoxazole alone; their indications and formulations should not be conflated.
Quick facts
| Topic | Summary |
|---|---|
| Drug class | Combination folate-pathway inhibitor: trimethoprim plus sulfonamide |
| Mechanism | Blocks two sequential enzymes involved in microbial folate production |
| Routes | Oral and intravenous products, depending on indication and jurisdiction |
| Potential uses | Selected UTIs and other susceptible bacterial infections; treatment or prevention of Pneumocystis pneumonia |
| Major safety issues | Severe skin reactions, blood disorders, hyperkalemia, renal issues, drug interactions |
| Important patient factors | Sulfonamide allergy, kidney and liver function, pregnancy, concurrent medicines |
How does trimethoprim/sulfamethoxazole work?
Sulfamethoxazole interferes with bacterial dihydropteroate synthase, while trimethoprim inhibits dihydrofolate reductase. Folate metabolism supports the production of nucleic acids needed for bacterial growth. Combining the drugs inhibits two consecutive stages of this pathway and can produce enhanced activity against susceptible organisms. [1]
Not all bacteria are susceptible. Some organisms naturally resist the combination, and acquired resistance can occur through altered target enzymes, resistance genes, or other mechanisms. It does not treat viral colds, influenza, or COVID-19.
Although Pneumocystis is classified as a fungus, TMP-SMX remains a key medicine against it. This is a medically important exception to the simplified idea that every antibiotic has only antibacterial clinical uses. [3]
What infections can it treat?
Urinary tract infections
TMP-SMX can be an option for certain symptomatic bacterial UTIs when the likely organism is susceptible and local resistance patterns support its use. It is not reliably effective against all causes of urinary symptoms. In its 2026 resistant Gram-negative guidance, IDSA includes TMP-SMX among preferred treatments for uncomplicated cystitis due to ESBL-producing Enterobacterales, and among preferred choices for complicated UTI when in-vitro susceptibility is confirmed. These are expert recommendations for specific scenarios, not universal self-treatment instructions. [2]
Skin and soft tissue infections
TMP-SMX has activity against some community-associated methicillin-resistant Staphylococcus aureus (MRSA) strains, but it may not provide appropriate coverage for every likely pathogen in an infected wound or cellulitis. Drainage is often central to treatment of a skin abscess. The need for antibiotics depends on findings, infection severity, and clinical guidance. A positive MRSA culture alone does not dictate the entire regimen.
Selected gastrointestinal and respiratory infections
Some product labels include treatment of infections caused by specified susceptible organisms in gastrointestinal or respiratory settings. The appropriate choice depends on the organism, susceptibility, evolving resistance patterns, and applicable guidance. TMP-SMX should not be assumed a routine treatment for ordinary viral coughs, sore throats, or nonspecific diarrhea.
Pneumocystis pneumonia (PJP/PCP)
TMP-SMX is widely used for prevention and treatment of Pneumocystis jirovecii pneumonia in appropriately selected people at increased risk, including certain immunocompromised patients. NIH HIV-related opportunistic infection guidelines identify TMP-SMX as the recommended agent for primary prophylaxis in defined clinical circumstances. Prevention or treatment requires specialist evaluation: doses and regimens are not interchangeable with those used for routine bacterial UTIs. [3]
Common side effects
Nausea, vomiting, reduced appetite, and rash may occur. Some reactions resolve after assessment and treatment changes, but a new rash must not be dismissed because TMP-SMX can occasionally cause life-threatening hypersensitivity reactions. People experiencing persistent gastrointestinal symptoms, bruising, unusual fatigue, or fever should obtain medical advice. [1]
Severe skin and hypersensitivity reactions
Sulfonamide-containing medicines can cause severe cutaneous adverse reactions, including Stevens–Johnson syndrome (SJS), toxic epidermal necrolysis (TEN), and drug reaction with eosinophilia and systemic symptoms (DRESS). U.S. product labeling also warns about other potentially severe skin reactions and systemic hypersensitivity syndromes. These reactions can be life-threatening. [1]
Warning signs can include a spreading painful rash, blistering, skin peeling, sores in the mouth or eyes, facial swelling, fever, or systemic illness. Such symptoms need urgent medical care. Patients should follow the medication’s safety instructions and not continue an antibiotic in the face of a suspected serious reaction without immediate professional assessment.
A previous serious reaction to TMP-SMX or a relevant component is a critical part of the medical history. However, not every medicine containing sulfur is the same as an antibiotic sulfonamide; allergy assessment requires attention to the actual substance involved.
Blood disorders and folate-related effects
TMP-SMX has been associated with blood-count abnormalities, including thrombocytopenia, neutropenia, and rare severe disorders such as agranulocytosis or aplastic anemia. Certain patients may be more vulnerable because of underlying illness, nutritional factors, prolonged treatment, or interacting medicines. Symptoms such as unexplained bruising, bleeding, marked fatigue, or fever should prompt evaluation. Long treatment courses may require laboratory monitoring. [1]
Hyperkalemia and kidney considerations
Trimethoprim can reduce potassium excretion, causing hyperkalemia (excess potassium in the blood). Risk is particularly relevant with renal impairment, preexisting potassium abnormalities, or concurrent medicines that also raise potassium, including some ACE inhibitors and angiotensin receptor blockers. U.S. labeling highlights the need for careful assessment and monitoring in at-risk patients. [1]
TMP-SMX dosing often needs adjustment for reduced kidney function. Trimethoprim can also increase measured serum creatinine by reducing tubular secretion of creatinine, without always representing the same change in actual filtration; this does not rule out real kidney injury. Clinicians must interpret laboratory results in context. This article does not provide individualized kidney dosing.
Major drug interactions
Warfarin
TMP-SMX can increase the anticoagulant effect of warfarin, raising bleeding risk. Patients prescribed both drugs may need closer INR monitoring or a treatment alternative. Never change warfarin dosing without qualified advice. [1]
Potassium-raising drugs
ACE inhibitors, angiotensin receptor blockers, potassium-sparing diuretics, and other treatments may increase the likelihood of hyperkalemia when combined with TMP-SMX. Clinical monitoring may be needed. [1]
Methotrexate and other medicines
TMP-SMX may intensify certain toxicities when used with methotrexate, including bone-marrow suppression. Additional interactions may involve selected diabetes medicines, anticonvulsants, and other drugs. Patients should give their pharmacist a full list of prescribed medicines, supplements, and over-the-counter products before therapy. [1]
Pregnancy, breastfeeding, and children
Pregnancy requires individualized assessment because both components affect folate-related pathways and there may be additional fetal or newborn concerns depending on gestational timing. Clinical decisions must account for infection seriousness, available alternatives, and country-specific product information. TMP-SMX is not universally forbidden in all pregnancies, but it is not a medicine to self-select during pregnancy. Breastfeeding suitability depends on infant age and health, particularly jaundice, prematurity, or G6PD deficiency. [1]
Pediatric dosing and eligibility are age-, weight-, and indication-dependent. The regimens used in children with routine bacterial infection differ substantially from specialist regimens for opportunistic infection prophylaxis or treatment.
Resistance and stewardship
Bacteria can acquire genes that alter folate-pathway targets, making TMP-SMX ineffective. Empirical suitability for UTI varies by geography and organism. If culture and susceptibility testing is available, it can help identify whether the combination is appropriate. Persistent or worsening symptoms should lead to reassessment rather than repeating leftover antibiotics. [2]
Broad assumptions about “sulfa drugs” can be misleading. TMP-SMX is neither effective against every resistant bacterial infection nor interchangeable with trimethoprim alone. A clinician should verify the full combination name, formulation, indication, and patient risks.
Europe (EU): regulatory notes
- Co-trimoxazole is nationally authorised in the EU.
- A 2019 EU safety review assessed literature reports of Sweet's syndrome (acute febrile neutrophilic dermatosis) after co-trimoxazole, and the CMDh agreed with the PRAC conclusions that the product information be updated.
Checked against EMA sources on 23 November 2026. Product information differs between countries; check the SmPC approved where you live.
Frequently Asked Questions
Is co-trimoxazole the same as TMP-SMX?
Yes. They are alternative names for the combination of trimethoprim and sulfamethoxazole. Brand names vary by region.
Can TMP-SMX treat a UTI?
Yes, for selected infections caused by susceptible organisms. Local resistance and individual factors determine whether it is a suitable option. [2]
Does it treat MRSA?
It may treat certain susceptible MRSA infections, but the type of infection, need for drainage, and other organisms all affect the treatment plan.
Why is my potassium important?
Trimethoprim can increase potassium levels, particularly in patients with impaired kidney function or when combined with medicines that raise potassium. Severe hyperkalemia can be dangerous. [1]
Can it cause a serious rash?
Yes. Rare but life-threatening reactions such as SJS, TEN, and DRESS have been reported. A painful, blistering rash or mouth or eye sores warrants urgent medical care. [1]
Can it be used with warfarin?
The combination can increase warfarin’s effect and bleeding risk. A prescriber may choose another antibiotic or arrange closer monitoring. [1]
Is TMP-SMX used for a fungal infection?
It is an important therapy for Pneumocystis jirovecii pneumonia, caused by a fungus, including prevention in certain high-risk patients. This is a specialized use. [3]
Is it safe during pregnancy?
Risk assessment varies with the stage of pregnancy, indication, and alternatives. A treating clinician must evaluate these factors.
Key Takeaways
Co-trimoxazole combines two medicines that block microbial folate pathways. It has roles in selected bacterial infections and Pneumocystis prevention or treatment, but important safety issues include serious skin reactions, blood abnormalities, hyperkalemia, and interactions with warfarin and other medicines. Culture results, patient characteristics, and current guidance should determine use.
Explore related topics
Drug class
Infections discussed
Resistance topics
Compare with
Related Articles
- Sulfonamide Antibiotics: Types, Uses, Side Effects and Resistance
- Antibiotic Side Effects: Common Reactions, Serious Risks and What to Do
- ESBL-Producing Bacteria: Infections, Diagnosis, and Antibiotic Resistance
Official resources
Primary regulatory and patient-information sources for this medicine. Labels differ by country; always use the leaflet supplied with the dispensed product.
- US prescribing information (DailyMed) — current FDA-submitted labels
- UK Summary of Product Characteristics (EMC)
- Patient information (MedlinePlus)
- Breastfeeding data (LactMed, NIH) — search by drug name
- WHO ATC/DDD index (J01EE01)
- WHO AWaRe classification 2025
References
- U.S. Food and Drug Administration. Sulfamethoxazole and trimethoprim tablets: prescribing information (2025). https://www.accessdata.fda.gov/drugsatfda_docs/label/2025/018598s056lbl.pdf
- Infectious Diseases Society of America. 2026 Guidance on Antimicrobial-Resistant Gram-Negative Infections. https://www.idsociety.org/practice-guideline/amr-guidance/
- U.S. National Institutes of Health. Pneumocystis Pneumonia: Adult and Adolescent Opportunistic Infections Guidelines. https://clinicalinfo.hiv.gov/en/guidelines/hiv-clinical-guidelines-adult-and-adolescent-opportunistic-infections/pneumocystis