Sulfamethoxazole and Trimethoprim
Also called SMX-TMP, TMP-SMX, co-trimoxazole
Combination of Sulfamethoxazole + Trimethoprim
- Brands
- Bactrim / Bactrim DS Sun Pharma
Sulfatrim PAI Pharma - Available as
- Tablets: 400 mg/80 mg (single strength) and 800 mg/160 mg (double strength, DS)
- Oral suspension: 200 mg/40 mg per 5 mL
- Injection (IV)
Generic price NADAC
| Strength and form | Per unit | Typical fill |
|---|---|---|
| Sulfamethoxazole-tmp ds tablet | $0.046 / tablet | $1.38 / 30 |
| Sulfamethoxazole-tmp ss tablet | $0.040 / tablet | $1.21 / 30 |
| Sulfamethoxazole-tmp susp | $0.057 / mL |
Average price U.S. pharmacies pay to buy this medicine (CMS NADAC, week of November 25, 2026). Your cash price or copay will be different. Pharmacies add a dispensing fee, and insurance and discount cards change what you pay.
This antibiotic pairs sulfamethoxazole, a sulfonamide, with trimethoprim. Each blocks a different step in the way bacteria make folate, which they need to grow, so together they are much more effective. It treats urinary tract infections, some ear and bronchitis infections, travelers' diarrhea, and is a key drug for Pneumocystis pneumonia.
How this combination works
Video · 0:43Read the transcript
Sulfamethoxazole and trimethoprim are two antibiotics combined in one medicine. Bacteria must make their own folate, which they need to build DNA. They do it step by step, with a chain of enzymes. Sulfamethoxazole blocks an early step in this chain. Trimethoprim blocks a later one. Blocking two steps in the same pathway works better than either alone. Human cells, which get folate from food, are largely spared. Drink plenty of fluids. Stop and seek care if you get a rash, which can rarely be severe. It doesn't treat viral infections.
Uses of Sulfamethoxazole and Trimethoprim
- Urinary tract infections.
- Acute middle ear infections in children.
- Flare-ups of chronic bronchitis in adults.
- Shigella intestinal infection and travelers' diarrhea from E. coli in adults.
- Treatment and prevention of Pneumocystis jirovecii pneumonia (PCP).
Dosage
| Who / condition | Usual dose |
|---|---|
| Urinary tract infection, adults | 1 DS tablet every 12 hours, as prescribed (label course 10 to 14 days). |
| Travelers' diarrhea, adults | 1 DS tablet every 12 hours for 5 days. |
| PCP prevention, adults | 1 DS tablet daily. |
| PCP treatment | 15 to 20 mg/kg per day of trimethoprim in 3 or 4 divided doses for 14 to 21 days. |
| Children 2 months and older | 8 mg/kg trimethoprim and 40 mg/kg sulfamethoxazole per day, divided every 12 hours, for urinary or ear infections. |
| How to take | With a full glass of water; drink plenty of fluids. |
Doses are typical label doses for reference. Your prescriber may choose a different dose for you.
Who should not take Sulfamethoxazole and Trimethoprim
- Allergy to sulfonamides or trimethoprim.
- Past low platelets caused by trimethoprim or sulfonamides.
- Megaloblastic anemia from folate deficiency.
- Infants under 2 months.
- Marked liver damage, or severe kidney impairment when kidney function cannot be monitored.
- Taking dofetilide.
Warnings and precautions
- Severe and sometimes fatal reactions: Stevens-Johnson syndrome, toxic epidermal necrolysis, DRESS, liver failure, and blood disorders such as agranulocytosis and aplastic anemia. Stop at the first rash.
- Low platelets, which can be severe.
- High potassium, especially in older adults, with kidney disease or with ACE inhibitors, ARBs or spironolactone.
- Low sodium and low blood sugar.
- Not for strep throat.
- C. difficile diarrhea; hemolysis in G6PD deficiency.
Side effects
Common
- Nausea
- Vomiting
- Loss of appetite
- Rash
- Hives
- Sun sensitivity
Get medical help for
- Rash, blisters, peeling skin or mouth sores
- Fever, sore throat, pale skin, unusual bruising or bleeding
- Yellow skin or eyes
- Muscle weakness or irregular heartbeat (high potassium)
To report a side effect to the FDA, use MedWatch at fda.gov/medwatch or call 1-800-FDA-1088.
Interactions
| Medicine or substance | What can happen |
|---|---|
| Warfarin | Can raise INR sharply; close monitoring is needed. |
| ACE inhibitors, ARBs, spironolactone, potassium supplements | Raise the risk of high potassium. |
| Methotrexate | Higher methotrexate toxicity. |
| Phenytoin | Levels can rise. |
| Sulfonylureas (glipizide) | Low blood sugar. |
| Dofetilide | Contraindicated; dangerous heart rhythms. |
This is not a complete list. Tell your pharmacist about every prescription, OTC medicine and supplement you take.
Pregnancy and breastfeeding
Pregnancy
It can interfere with folate and may raise the risk of birth defects early in pregnancy and jaundice in newborns near term. Used in pregnancy only if the benefit outweighs the risk.
Breastfeeding
Passes into breast milk. Avoid when nursing premature, ill or jaundiced infants or those with G6PD deficiency.
Overdose
Overdose can cause nausea, vomiting, dizziness, headache, confusion and, later, blood and liver problems. Call Poison Help at 1-800-222-1222, or 911 if the person collapses, has a seizure or has trouble breathing.
Storage
Store at room temperature, 20°C to 25°C (68°F to 77°F). Protect from light.
U.S. brand names for Sulfamethoxazole and Trimethoprim
| Brand | Forms and strengths | Company | Status |
|---|---|---|---|
| Bactrim / Bactrim DS | Tablets 400/80 mg and DS 800/160 mg | Sun Pharma | Rx |
| Sulfatrim | Oral suspension 200 mg/40 mg per 5 mL | PAI Pharma | Rx |
Generic sulfamethoxazole and Trimethoprim from other manufacturers contains the same active ingredients.
Frequently asked questions
Why do I need to drink extra water on Bactrim?
Plenty of fluids helps prevent crystals from forming in the urine.
I have a sulfa allergy. Can I take it?
No. Sulfamethoxazole is a sulfonamide antibiotic.
Can I drink alcohol on sulfamethoxazole-trimethoprim?
Alcohol can add to stomach upset; ask your clinician, especially if you have liver problems.
Does Bactrim make you sensitive to the sun?
Yes. Use sunscreen and protective clothing.
References
- BACTRIM / BACTRIM DS (sulfamethoxazole and trimethoprim) tablets label. DailyMed, National Library of Medicine. Label revised December 30, 2024; checked November 23, 2026.
- FDA MedWatch safety information. fda.gov.