What Is Bactrim?
Bactrim (sulfamethoxazole/trimethoprim) is a combination antibiotic that contains sulfamethoxazole and trimethoprim. It is mainly used to treat bacterial infections such as urinary tract infections, ear infections, bronchitis, and pneumonia. It works by blocking bacteria from making folic acid, which they need to grow and survive. This medication works against a wide range of bacteria.

Composition and Active Ingredients
Bactrim is a fixed-dose combination antibiotic with two active ingredients:
- sulfamethoxazole, a sulfonamide antibiotic that slows bacterial growth by interfering with the production of folic acid, an essential nutrient for bacteria;
- trimethoprim, an antifolate antibiotic that works by blocking the enzyme dihydrofolate reductase, which bacteria need to make nucleic acids.
Together, these two antibiotics improve effectiveness against a broad range of bacterial pathogens. This combination makes Bactrim a versatile option for treating different infections. The usual ratio in this formulation is one part trimethoprim to five parts sulfamethoxazole, which helps optimize their synergistic effect.
Bactrim is rapidly absorbed after it is taken by mouth. Both sulfamethoxazole and trimethoprim are present in the blood in unbound, protein-bound, and metabolized forms.
Peak blood levels of the individual components occur 1 to 4 hours after oral administration. The mean serum half-lives of sulfamethoxazole and trimethoprim are 10 hours and 8 to 10 hours, respectively. However, in patients with severely impaired kidney function, the half-lives of both components increase, so the dosage regimen needs to be adjusted.
Sulfamethoxazole and trimethoprim are mainly cleared by the kidneys through both glomerular filtration and tubular secretion.
Use Cases
Bactrim is used to treat many bacterial infections, including:
- urinary tract infections (UTIs), including infections caused by common bacteria such as Escherichia coli and Klebsiella;
- acute otitis media in children, when other treatments may not work well enough;
- bronchitis, for acute flare-ups caused by susceptible strains;
- traveller's diarrhea caused by enterotoxigenic E. coli;
- Pneumocystis jirovecii pneumonia (PCP), used for prevention in immunocompromised people, such as those with human immunodeficiency virus (HIV) infection or acquired immunodeficiency syndrome (AIDS).
It may also be used to help prevent infections such as toxoplasmosis and nocardiosis in certain high-risk groups.
Do I Need a Prescription?
Yes, Bactrim is a prescription medication. Contact your healthcare provider. In Canada, they can assess whether this treatment is appropriate based on the infection and your medical history. Self-medicating with antibiotics can lead to ineffective treatment and contribute to antibiotic resistance.
Sulfamethoxazole/trimethoprim Dosing and Warnings
Bactrim comes in several forms, mainly oral tablets and liquid formulations. The most common tablet strengths include Bactrim 400 mg of sulfamethoxazole combined with 80 mg of trimethoprim. There is also a double-strength (DS) version, Bactrim DS, which contains 800 mg of sulfamethoxazole and 160 mg of trimethoprim.
Bactrim is also available in a liquid form for pediatric use. The dose is adjusted based on the child's weight. These formulations allow flexibility in dosing depending on the patient's needs and the type of infection being treated.
| Dosage form |
Strength |
Brand name |
Composition/features |
| Tablets |
400 mg sulfamethoxazole / 80 mg trimethoprim |
Bactrim |
Standard formulation |
| Tablets, DS (Double Strength) |
800 mg sulfamethoxazole / 160 mg trimethoprim |
Bactrim DS |
Double strength |
| Oral suspension |
200 mg sulfamethoxazole / 40 mg trimethoprim per 5 mL |
Bactrim Suspension |
Sweetened for pediatric use |
| Intravenous (IV) solution |
80 mg trimethoprim / 400 mg sulfamethoxazole per 5 mL |
Bactrim IV |
For hospital use |
How and When to Take
To help reduce drug-resistant bacteria and preserve the effectiveness of Bactrim (sulfamethoxazole and trimethoprim) tablets and other antibiotics, this medication should only be used to treat or prevent infections that are proven or strongly suspected to be caused by susceptible bacteria. Using Bactrim (sulfamethoxazole and trimethoprim) tablets without a proven or strongly suspected bacterial infection, or without a preventive indication, is unlikely to help the patient. It also increases the risk of drug-resistant bacteria developing.
Bactrim is typically taken twice daily, with or without food. The exact dosage depends on the infection being treated:
| Condition |
Patient group |
Dosage |
| Urinary tract infections |
Adults |
Bactrim DS (800 mg sulfamethoxazole/160 mg trimethoprim) one tablet every 12 hours for 10 to 14 days. |
| |
Children (2 months and older) |
Dosage based on weight: approximately 40 mg/kg/day sulfamethoxazole and 8 mg/kg/day trimethoprim, divided into two doses. |
| Acute otitis media |
Children |
Similar weight-based dosing as for urinary tract infections. |
| Bronchitis |
Adults |
One Bactrim DS tablet every 12 hours for 14 days. |
Taking Bactrim at evenly spaced times is important to maintain adequate levels of the medication in your bloodstream.
If You Forget to Take It
If you miss a dose of Bactrim, take it as soon as you remember. If it is almost time for your next dose, skip the missed dose and do not double up. Taking your medication consistently helps it work properly.
What to Do in Case of Overdose
In case of overdose, get immediate medical attention or contact your local Poison Control Centre in Canada. Symptoms may include nausea, vomiting, dizziness, or confusion. Prompt treatment is important to manage possible complications.
Precautions
Several precautions should be kept in mind when taking Bactrim to help ensure safe and effective use. If you are receiving care in Canada, tell your healthcare provider about any existing medical conditions, especially kidney or liver problems, as dose adjustments may be needed.
In addition, Bactrim is not recommended during pregnancy or while breastfeeding because of possible risks to the unborn baby or nursing infant. Patients should also be aware of possible allergic reactions. Stop taking it and get medical attention if severe skin reactions or other serious side effects occur.
Patients should be advised to drink enough fluids to help prevent crystalluria and stone formation.
When Bactrim (sulfamethoxazole and trimethoprim) tablets are prescribed for a bacterial infection, patients should be told that although they may start to feel better early in treatment, the medication should still be taken exactly as directed.
Allergy Warnings
Patients with a known allergy to sulfonamide antibiotics should avoid taking Bactrim because of the risk of severe allergic reactions, including Stevens-Johnson syndrome, anaphylaxis, toxic epidermal necrolysis, allergic myocarditis, exfoliative dermatitis, erythema multiforme, angioedema, drug fever, Henoch-Schönlein purpura, chills, serum sickness-like syndrome, generalized skin eruptions, generalized allergic reactions, photosensitivity, conjunctival and scleral injection, pruritus, urticaria, and rash. Periarteritis nodosa and systemic lupus erythematosus have also been reported. It is important to tell your healthcare provider about any previous allergic reactions before treatment.
Health Conditions Warnings
People with certain health conditions should use Bactrim with caution:
- patients with impaired kidney function may need dose adjustments because the medication is cleared more slowly;
- caution is advised for patients with liver impairment, as this can affect how the medication is processed;
- patients with conditions such as porphyria or megaloblastic anemia should avoid this medication unless their physician specifically tells them to use it.
This medication is contraindicated in pediatric patients younger than 2 months of age.
Although rare, deaths linked to sulfonamide use have occurred because of severe reactions, including Stevens-Johnson syndrome, fulminant hepatic necrosis, aplastic anemia, toxic epidermal necrolysis, agranulocytosis, and other blood dyscrasias.
Patients with AIDS may not tolerate or respond to Bactrim in the same way as patients without AIDS.
Regular monitoring may be needed during treatment in people with pre-existing conditions.
Sulfamethoxazole/trimethoprim Side Effects
Common side effects of Bactrim include:
- nausea and vomiting;
- rash or itching;
- diarrhea.
Serious side effects are rare, but they can happen. These include:
- severe allergic reactions (e.g., Stevens-Johnson syndrome, anaphylaxis, toxic epidermal necrolysis, allergic myocarditis, exfoliative dermatitis, erythema multiforme, angioedema, drug fever, Henoch-Schönlein purpura, chills, serum sickness-like syndrome, generalized skin eruptions, generalized allergic reactions, photosensitivity, conjunctival and scleral injection, pruritus, urticaria, and rash; periarteritis nodosa and systemic lupus erythematosus have been reported);
- blood disorders such as thrombocytopenia or leukopenia;
- gastrointestinal: hepatitis (including cholestatic jaundice and hepatic necrosis), increased serum transaminase and bilirubin, pseudomembranous enterocolitis, stomatitis, pancreatitis, glossitis, nausea, abdominal pain, vomiting, diarrhea, anorexia;
- neurologic: convulsions, aseptic meningitis, peripheral neuritis, vertigo, ataxia, tinnitus, headache;
- psychiatric: depression, nervousness, hallucinations, apathy;
- endocrine: sulfonamides have certain chemical similarities to some goitrogens, diuretics (acetazolamide and thiazides), and oral hypoglycemic agents; cross-sensitivity may exist with these agents. Diuresis and hypoglycemia have rarely occurred in patients receiving sulfonamides;
- musculoskeletal: arthralgia and myalgia; isolated cases of rhabdomyolysis have been reported with Bactrim, mainly in patients with AIDS;
- respiratory: cough, shortness of breath, and pulmonary infiltrates;
- miscellaneous: fatigue, weakness, insomnia.
Signs such as rash, sore throat, fever, arthralgia, pallor, purpura, or jaundice may point to a severe reaction.
Patients should report any unusual symptoms or side effects to their healthcare provider promptly.
Interactions with Other Medicines
Bactrim can interact with several medications, which may increase the risk of side effects or reduce how well treatment works. These interactions include:
- warfarin (increased risk of bleeding because of a stronger anticoagulant effect);
- methotrexate (possibly increased toxicity because of similar effects on folate metabolism);
- diuretics (some diuretics may increase potassium levels when taken with Bactrim).
Always tell your healthcare provider about all medications you are taking, including over-the-counter products and supplements, to help avoid possible interactions.
After Using Bactrim Medication
After using Bactrim, it is important to store it properly. Unused or expired pills should also be disposed of safely.
Storage
Bactrim should be stored at room temperature, away from moisture and heat. Keep it out of reach of children and pets. Proper storage helps maintain the medication's effectiveness throughout its shelf life.
Disposal
Do not flush unused or expired pills down the toilet unless you have been told to do so. Ask your pharmacist about safe disposal methods or local Canadian guidance on medication disposal.
Bactrim (sulfamethoxazole/trimethoprim) is a combination antibiotic used to treat many bacterial infections. Understanding its ingredients, uses, precautions, dosing guidance, possible side effects, and interactions with other medications is important for safe and effective use. Always follow your healthcare provider's instructions and report any side effects or concerns during treatment.