DRUG INFORMATION · TMP-SMX · U.S. market · Updated 2025 · Prescription required
FDA-approved · Generic available

Bactrim (TMP-SMX) — what every U.S. patient should know.

A widely prescribed antibiotic combination with a long safety record — but also a drug with serious interactions and rare severe reactions. Here is the practical, non-commercial overview: what it treats, how it is dosed, what to watch for, and how to buy it safely from a licensed U.S. pharmacy.

11 min read
FDA label aligned
CDC & MedlinePlus referenced

Bactrim is the most recognizable brand name for a combination antibiotic that pairs sulfamethoxazole and trimethoprim — often abbreviated TMP-SMX. The two ingredients block consecutive steps in the bacterial folate pathway, which is why they are combined: the pairing is far more effective than either drug alone, and resistance develops more slowly.

The combination has been available in the United States since 1981 and remains on the World Health Organization's list of essential medicines. It is inexpensive, widely stocked, and available as a generic — the reason it still appears on prescription pads decades after newer antibiotics arrived.

If you are paying out of pocket, the spread between pharmacies for the identical generic is wide — often 5× or more. A neutral trusted pharmacy comparison is the quickest way to see the current range across licensed U.S. sellers before you fill.

01

Indications

What the FDA has approved it for — and what it is commonly prescribed for off-label.

What Bactrim is used to treat

The FDA label approves Bactrim for three specific infections in adults and children over two months of age: urinary tract infections, shigellosis (a bacterial diarrheal illness), and Pneumocystis jirovecii pneumonia in immunocompromised patients. It is also widely prescribed for acute exacerbations of chronic bronchitis and for skin infections caused by susceptible bacteria.

Because it covers a broad range of gram-positive and gram-negative organisms, it is one of the most frequently prescribed antibiotics in U.S. outpatient practice — particularly for uncomplicated UTIs, where it is often first-line.

FDA-approved indications & typical adult regimens
InfectionStandard adult doseDuration
Urinary tract infection1 DS tablet every 12 h10–14 days
Shigellosis1 DS tablet every 12 h5 days
Acute exacerbation of chronic bronchitis1 DS tablet every 12 h14 days
Pneumocystis jirovecii pneumonia15–20 mg/kg/day TMP (divided)14–21 days
Antibiotic stewardship

Bactrim — like all antibiotics — does not treat viral infections. It is ineffective against the common cold, influenza, and most sore throats. Using it when it is not needed accelerates resistance and exposes you to side effects for no benefit.

02

Dosing

Standard regimens, renal adjustment, and the difference between DS and regular tablets.

How Bactrim is dosed

Bactrim comes in two oral tablet strengths: the standard 400/80 mg tablet and the DS (double strength) 800/160 mg tablet. The DS form is the most commonly dispensed for adult infections and is often written as "1 DS BID" — one double-strength tablet twice daily.

The dose is always based on the trimethoprim component, not the total tablet weight. This matters if you are comparing a prescription written in milligrams against what is actually dispensed.

Renal adjustment required

If kidney function is reduced, the dose must be lowered. The FDA label specifies: creatinine clearance above 30 mL/min → usual regimen; 15–30 mL/min → half the usual regimen; below 15 mL/min → use is not recommended. Your prescriber will adjust accordingly.

Take Bactrim with a full glass of water to reduce the risk of crystalluria (crystal formation in the urine), and drink fluids regularly throughout the day. It can be taken with or without food, but taking it with a meal often reduces stomach upset.

Finish the entire prescribed course even if you feel better after two or three days. Stopping early is the single most common reason for treatment failure and relapse. If you are new to ordering prescription antibiotics online, the same step-by-step process described in this how to order antibiotics online guide applies: prescription first, licensed pharmacy second, small first order third.

03

Safety

Common side effects, rare severe reactions, and the warning signs that require stopping immediately.

Side effects and warning signs

Most people tolerate Bactrim without significant problems. The most common side effects are gastrointestinal and allergic skin reactions — both usually mild and reversible when the drug is stopped.

Frequency of adverse effects
CategoryExamplesFrequency
GastrointestinalNausea, vomiting, diarrhea, anorexiaCommon
Skin / allergicRash, urticaria, itching, photosensitivityCommon
HematologicThrombocytopenia, leukopenia, megaloblastic anemiaRare but serious
Severe cutaneousStevens-Johnson syndrome, toxic epidermal necrolysisRare, life-threatening
HepaticHepatitis, cholestatic jaundice, hepatic necrosisRare
MetabolicHyperkalemia, hyponatremiaMonitor
Stop immediately and call a doctor if you notice

A skin rash — especially if it spreads, blisters, or involves the mouth, eyes, or genitals — is the single most important warning sign. In rare cases a mild rash is the first stage of a life-threatening reaction. Do not continue the medication and seek medical attention the same day.

Sun sensitivity is common. Use sunscreen, protective clothing, and sunglasses during treatment and for a few days afterward. Avoid prolonged sun exposure — the reaction can be significant even in mild sunlight.

Because Bactrim can affect blood counts, your prescriber may order periodic blood tests, especially if you are on a prolonged course or have underlying conditions. This is routine monitoring, not a sign that something is wrong.

04

Interactions

Clinically significant drug interactions that require monitoring or avoidance.

Drug interactions you need to know

Bactrim is a moderate inhibitor of several drug-metabolizing enzymes and transporters, which gives it a longer interaction profile than many antibiotics. Some of these interactions are clinically significant and require either dose adjustment or avoiding the combination entirely.

Selected interactions from the FDA label
Drug / classRecommendationMechanism / concern
WarfarinMonitor INR closelyProlongs prothrombin time
PhenytoinMonitor serum levelsInhibits hepatic metabolism
MethotrexateAvoid concurrent useDisplaces from protein binding
CyclosporineAvoid concurrent useNephrotoxicity risk
DigoxinMonitor serum levelsIncreases digoxin levels
ACE inhibitorsAvoid concurrent useHyperkalemia risk
MetforminMonitor blood glucoseInhibits OCT2 transporter, increases metformin levels
DofetilideContraindicatedQT prolongation, torsades de pointes
Metformin interaction — why it matters here

Bactrim's trimethoprim component inhibits the OCT2 transporter, which is one of the pathways the kidneys use to clear metformin. Co-administration can raise metformin blood levels, increasing the risk of lactic acidosis — a rare but serious complication. If you take both, your prescriber may adjust the metformin dose or monitor blood glucose more frequently. A compare prescription prices comparison is not a substitute for clinical monitoring, but it is a useful reminder to keep your medication list current at every pharmacy you use.

This table is not exhaustive. Bactrim also interacts with oral hypoglycemics, tricyclic antidepressants, amantadine, memantine, and several other agents. Before starting treatment, give your prescriber and pharmacist a complete list of everything you take — prescription, over-the-counter, and supplements. A licensed U.S. pharmacy will screen for interactions automatically, which is one of several reasons the pharmacy verification guide recommends confirming that your seller is properly licensed and requires a prescription.

Frequently asked questions

Direct answers to the questions patients ask most often about Bactrim.

What is Bactrim used to treat? +

Bactrim (sulfamethoxazole/trimethoprim) is FDA-approved to treat urinary tract infections, shigellosis, and Pneumocystis jirovecii pneumonia. It is also commonly prescribed for acute exacerbations of chronic bronchitis, traveler's diarrhea, and skin infections caused by susceptible bacteria.

How long does Bactrim take to work? +

Most patients begin to feel better within two to three days of starting Bactrim. However, it is essential to complete the full prescribed course — typically 5 to 14 days depending on the infection — even if symptoms improve early. Stopping too soon can allow bacteria to survive and develop resistance.

What are the most common side effects of Bactrim? +

The most common side effects are gastrointestinal (nausea, vomiting, diarrhea, loss of appetite) and allergic skin reactions such as rash and itching. Photosensitivity is also common, so sun protection is advised during treatment.

Can I drink alcohol while taking Bactrim? +

It is best to avoid alcohol while taking Bactrim. Alcohol can worsen gastrointestinal side effects and may increase the risk of certain adverse reactions. Ask your prescriber or pharmacist for personalized guidance.

Is generic Bactrim as effective as the brand? +

Yes. FDA-approved generic sulfamethoxazole/trimethoprim contains the same active ingredients in the same strengths and must meet the same quality standards as the brand-name product. Generics are typically much less expensive and are the standard choice for most prescriptions.

Sources & verification: this guide is aligned with the FDA-approved prescribing information for BACTRIM (accessdata.fda.gov), the DailyMed label for sulfamethoxazole and trimethoprim tablets (dailymed.nlm.nih.gov), the MedlinePlus patient information page for co-trimoxazole (medlineplus.gov), and CDC clinical guidance on trimethoprim-sulfamethoxazole (cdc.gov).
Before you fill

Prices for the same generic can vary by more than 5× between U.S. pharmacies.

A two-minute comparison before your next refill is the single highest-yield habit for keeping prescription costs down — and it works for antibiotics just as well as for chronic medications. If you want to see how the process works end to end, start with this trusted pharmacy comparison that shows licensed U.S. sellers side by side.

Compare licensed U.S. pharmacies