Skip to main content

Bactrim: 7 things you should know

Medically reviewed by Carmen Fookes, BPharm. Last updated on March 1, 2023.

1. How it works

  • Bactrim is a brand (trade) name for a fixed combination medicine containing two antibiotics - sulfamethoxazole and trimethoprim.
  • Sulfamethoxazole stops bacteria from making dihydrofolic acid and trimethoprim prevents the formation of tetrahydrofolic acid; both are significant steps in the formation of nucleic acids and proteins essential to many bacteria.
  • The combination of sulfamethoxazole/trimethoprim is bactericidal (kills bacteria).
  • Bactrim belongs to the class of medicines known as antibiotics. The sulfamethoxazole component belongs to the class of medicines known as sulfonamides, and the trimethoprim component belongs to the class of medicines known as folic acid inhibitors.

2. Upsides

  • Bactrim is a combination antibiotic used to treat infections such as those affecting the ear, urinary tract, lungs, or gastrointestinal tract.
  • Active against a wide range of susceptible strains of gram-positive and gram-negative bacteria, such as Streptococcus pneumoniae, Escherichia coli, Klebsiella species, Enterobacter species, Haemophilus influenzae, and others.
  • Effective concentrations of both sulfamethoxazole and trimethoprim are reached in the gastrointestinal tract, urinary tract, lungs, mouth, middle ear, and vagina. Both antibiotics also cross the placenta and are excreted in human milk.
  • Bacterial resistance is less likely to develop with Bactrim than if either ingredient (sulfamethoxazole or trimethoprim) is taken alone.
  • Bactrim is available as a generic under the name sulfamethoxazole/trimethoprim.

3. Downsides

If you are between the ages of 18 and 60, take no other medication or have no other medical conditions, side effects you are more likely to experience include:

  • Nausea, vomiting, abdominal pain, diarrhea, mouth or tongue inflammation, weight loss, flatulence, rash, and itchy skin.
  • May not be suitable for some people including those with kidney or liver disease, folate deficiency (the elderly, chronic alcoholics, and people taking anticonvulsants are at risk of folate deficiency), glucose-6-phosphate deficiency, porphyria, severe allergies, thyroid dysfunction, or bronchial asthma. Not suitable for pregnant or breastfeeding women or infants less than two months of age.
  • Elderly people may be more susceptible to the side effects of Bactrim.
  • Rarely, severe, sometimes fatal reactions have been reported following the administration of sulfonamide-containing medicines such as Bactrim. Reactions have included Stevens-Johnson syndrome (a disorder involving the skin and mucous membranes), liver disease, and blood disorders such as thrombocytopenia (low platelets). Bactrim should be discontinued at the first sign of a skin rash or any other worrying side effect.
  • May lower blood sugar levels in people without diabetes.
  • May interact with several other drugs including thiazides, warfarin, phenytoin, leucovorin, methotrexate, digoxin, and medications for diabetes.

Note: In general, seniors or children, people with certain medical conditions (such as liver or kidney problems, heart disease, diabetes, seizures) or people who take other medications are more at risk of developing a wider range of side effects. View complete list of side effects

4. Bottom Line

  • Bactrim is an effective combination antibiotic; however, it may not be suitable for those with kidney or liver disease or folate deficiency. The risk of side effects may be higher in the elderly.

5. Tips

  • May be taken with or without food. Swallow tablets with a big glass of water.
  • Take only as directed by your doctor and do not share with anyone else as misuse can encourage the development of drug-resistant bacteria and reduce the effectiveness of Bactrim. Bactrim will not treat viral infections, such as a cold, or some bacterial infections such as those caused by streptococcal bacteria.
  • Discontinue and seek urgent medical advice if a skin rash develops.
  • Complete the full course as prescribed (unless instructed not to do so by your doctor) to reduce the risk of resistant bacteria developing.
  • Should not be used in pregnant or lactating women or babies less than two months old.
  • Seek urgent medical advice if an unexplained cough, shortness of breath, sore throat, fever, muscle or joint pain, paleness or yellowing of the skin, or diarrhea develops.
  • Like other antibiotics, Bactrim can change the natural balance of bacteria present in your gut and may cause severe and persistent diarrhea, associated with a bacteria called Clostridium difficile. Contact your doctor if diarrhea develops either during treatment or within a couple of months of finishing treatment.
  • Keep well hydrated with fluids to avoid the development of crystals in the urine or kidney stones.
  • Talk to your doctor or pharmacist before taking any other medications including those bought over the counter, because some may not be compatible with Bactrim.

6. Response and effectiveness

  • Quickly absorbed with peak levels occurring within one to four hours after administration. The antibacterial effects of Bactrim persist for at least 12 hours.

7. Interactions

Medicines that interact with Bactrim may either decrease its effect, affect how long it works, increase side effects, or have less of an effect when taken with Bactrim. An interaction between two medications does not always mean that you must stop taking one of the medications; however, sometimes it does. Speak to your doctor about how drug interactions should be managed.

Common medications that may interact with Bactrim include:

  • anticonvulsants such as phenytoin
  • antidepressants, such as amitriptyline, amoxapine, and desipramine
  • cyclosporine
  • digoxin
  • anticoagulants (blood thinners), such as warfarin
  • blood pressure medications, such as captopril or enalapril
  • indomethacin
  • pyrimethamine
  • medications that affect the nervous system, such as amantadine or memantine
  • methotrexate
  • metformin
  • thiazide diuretics
  • other medications that may inhibit or induce CYP2D6 enzymes
  • vaccinations.

Note that this list is not all-inclusive and includes only common medications that may interact with Bactrim. You should refer to the prescribing information for Bactrim for a complete list of interactions.


Further information

Remember, keep this and all other medicines out of the reach of children, never share your medicines with others, and use bactrim only for the indication prescribed.

Always consult your healthcare provider to ensure the information displayed on this page applies to your personal circumstances.

Copyright 1996-2023 Revision date: March 2, 2023.