On this page · 12 sections
Sulfonamides tablets (800 mg sulfamethoxazole and 160 mg trimethoprim, 40…

Bactrim

Generic name: sulfamethoxazole and trimethoprim

Brand names: Bactrim, Bactrim DS

Last updated August 26, 2026 0 views Reviewed by Melisa Puckey, BPharm
Share

What is Bactrim?

Bactrim and Bactrim DS are antibiotics used to treat ear infections, urinary tract infections, bronchitis, traveler's diarrhea, shigellosis, and Pneumocystis jiroveci pneumonia. Bactrim and Bactrim DS contain a combination of two antibiotics, sulfamethoxazole and trimethoprim, that treat different types of infection caused by bacteria. Bactrim DS (double strength) tablets are twice as strong as Bactrim tablets.

Sulfamethoxazole is a sulfonamide antibiotic that prevents the growth of susceptible bacteria by interfering with their ability to make folic acid. Trimethoprim is an antifolate antibiotic that works by inhibiting an enzyme, resulting in bacteria's inability to make DNA and survive. Sulfamethoxazole and trimethoprim are combined because they are complementary and have a greater effect when used together.

To help reduce the development of drug-resistant bacteria and maintain sulfamethoxazole-trimethoprim effectiveness, this medicine should be used only to treat infections proven or strongly suspected to be caused by susceptible bacteria.

How should I use Bactrim?

Take Bactrim exactly as prescribed by your doctor. Follow all directions on your prescription label and read all medication guides or instruction sheets.

Drink plenty of fluids to prevent kidney stones.

Antibiotic medicines can cause diarrhea. Tell your doctor if you have diarrhea that is watery or bloody.

Keep using this medicine even if your symptoms quickly improve. Skipping doses could make your infection resistant to medication. This antibiotic will not treat a viral infection (flu or a common cold).

You may need blood and urine tests, and this medicine may be stopped based on the results.

Store tablets at room temperature away from moisture, heat, and light. Do not refrigerate.

Warnings

You should not use this medicine if you have severe liver disease, kidney disease that is not being monitored, anemia caused by folic acid deficiency, if you take dofetilide, or if you have had low platelets caused by using trimethoprim or a sulfa drug.

Tell your doctor if you are pregnant or plan to become pregnant. You should not breastfeed while using this medicine.

Use this medicine only as directed. Tell your doctor if you use other medicines or have other medical conditions or allergies.

Before taking this medicine

You should not use this medicine if you are allergic to sulfamethoxazole or trimethoprim, or if you have:

  • severe liver disease;
  • kidney disease that is not being treated or monitored;
  • anemia (low red blood cells) caused by folic acid deficiency;
  • a history of low blood platelets after taking trimethoprim or any sulfa drug; or
  • if you take dofetilide.

Sulfamethoxazole and trimethoprim may cause birth defects. Tell your doctor if you are pregnant or plan to become pregnant.

Do not breastfeed.

This medicine should not be given to a child younger than 2 months old.

To make sure you can safely take this medicine, tell your doctor if you have ever had:

  • kidney or liver disease;
  • a folate (folic acid) deficiency;
  • asthma or severe allergies;
  • HIV or AIDS;
  • a thyroid disorder;
  • malnourishment;
  • alcoholism;
  • an electrolyte imbalance (such as low blood sodium or high potassium);
  • porphyria, or glucose-6-phosphate dehydrogenase (G6PD) deficiency; or
  • if you use a blood thinner (such as warfarin) and you have routine "INR" or prothrombin time tests.

Bactrim side effects

Common Bactrim side effects

Common Bactrim DS and Bactrim side effects are nausea, vomiting, loss of appetite, and skin rash.

Serious Bactrim and Bactrim DS side effects

Get emergency medical help if you have signs of an allergic reaction to this medicine (hives, cough, chest pain, shortness of breath, swelling in your face or throat) or a severe skin reaction (fever, sore throat, burning eyes, skin pain, red or purple skin rash with blistering and peeling).

Seek medical treatment if you have a serious drug reaction that can affect many parts of your body. Symptoms may include skin rash, fever, swollen glands, joint pain, muscle aches, severe weakness, pale skin, unusual bruising, or yellowing of your skin or eyes.

Call your doctor at once if you have:

  • severe stomach pain, diarrhea that is watery or bloody (even if it occurs months after your last dose);
  • any skin rash, no matter how mild;
  • yellowing of your skin or eyes;
  • a seizure;
  • new or unusual joint pain;
  • increased or decreased urination;
  • swelling, bruising, or irritation around the IV needle;
  • low blood sugar - headache, hunger, sweating, irritability, dizziness, fast heart rate, and feeling anxious or shaky;
  • new or worsening cough, fever, trouble breathing;
  • high blood potassium - nausea, weakness, tingly feeling, chest pain, irregular heartbeats, loss of movement;
  • low blood sodium - headache, confusion, problems with thinking or memory, weakness, feeling unsteady; or
  • low blood cell counts - fever, chills, mouth sores, skin sores, easy bruising, unusual bleeding, pale skin, cold hands and feet, feeling light-headed or short of breath.

Also, see the Warnings section.

This is not a complete list of side effects and others may occur. Call your doctor for medical advice about side effects. You may report side effects to the FDA at 1-800-FDA-1088.

Bactrim Dosing Information

Bactrim is contraindicated in pediatric patients less than 2 months of age.

Bactrim tablets are available as

  • Bactrim DS (double strength) tablets: 800 mg sulfamethoxazole and 160 mg trimethoprim
  • Bactrim tablets: 400 mg sulfamethoxazole and 80 mg trimethoprim

Usual Bactrim dose for Urinary Tract Infections

Adults dose for UTI

  • Bactrim DS tablets (800mg/160mg): one tablet every 12 hours for 10 to 14 days
  • Bactrim tablets (400mg/80mg): two tablets every 12 hours for 10 to 14 days

Children (2 months and older) dose for UTI

  • Dose is based on weight: 40 mg/kg sulfamethoxazole and 8 mg/kg trimethoprim per 24 hours, given in two divided doses every 12 hours for 10 days.
  • Use: For the treatment of urinary tract infections due to susceptible strains of the following organisms: Escherichia coli, Klebsiellaspecies, Enterobacterspecies, Morganella morganii, Proteus mirabilis and Proteus vulgaris. It is recommended that initial episodes of uncomplicated urinary tract infections be treated with a single effective antibacterial agent rather than the combination.

Usual Bactrim dose Acute Otitis Media Children (2 months and older)

  • Dose is based on weight: 40 mg/kg sulfamethoxazole and 8 mg/kg trimethoprim per 24 hours, given in two divided doses every 12 hours for 10 days.
  • Use: For the treatment of acute otitis media in pediatric patients due to susceptible strains of Streptococcus pneumoniae or Haemophilus influenzae when sulfamethoxazole and trimethoprim offer some advantage over the use of other antimicrobial agents, in the judgment of the physician.

Usual Adult Bactrim Dose for Bronchitis

  • Bactrim DS tablets (800mg/160mg): one tablet every 12 hours 14 days
  • Bactrim tablets (400mg/80mg): two tablets every 12 hours 14 days
  • Use: For the treatment of acute exacerbations of chronic bronchitis due to susceptible strains of Streptococcus pneumoniae or Haemophilus influenzae when the physician deems that this drug could offer some advantage over the use of a single antimicrobial agent.

Usual Adult Bactrim Dose for Traveler's Diarrhea

  • Bactrim DS tablets (800mg/160mg): one tablet every 12 hours 5 days
  • Bactrim tablets (400mg/80mg): two tablets every 12 hours for 5 days
  • Use: For the treatment of traveler's diarrhea due to susceptible strains of enterotoxigenic E coli.

For Patients with Impaired Renal Function

  • When renal function is impaired, a reduced dosage should be employed.
  • This is not all the dosing information available. For more detailed dosing information, click on the link below.

What happens if I miss a dose?

Use the medicine as soon as you can, but skip the missed dose if it is almost time for your next dose. Do not use two doses at one time.

What happens if I overdose?

Seek emergency medical attention or call the Poison Help line at 1-800-222-1222.

Overdose symptoms may include loss of appetite, vomiting, fever, blood in your urine, yellowing of your skin or eyes, confusion, or loss of consciousness.

This medicine could make you sunburn more easily. Avoid sunlight or tanning beds. Wear protective clothing and use sunscreen (SPF 30 or higher) when you are outdoors.

What other drugs will affect Bactrim?

You may need more frequent check-ups or medical tests if you also use medicine to treat depression, diabetes, seizures, or HIV.

Tell your doctor about all your current medicines. Many drugs can interact with sulfamethoxazole and trimethoprim, especially:

  • amantadine, digoxin, cyclosporine, indomethacin, leucovorin, methotrexate, procainamide, pyrimethamine;
  • an "ACE inhibitor" heart or blood presure medication (benazepril, enalapril, lisinopril, quinapril, ramipril, and others); or
  • a diuretic or "water pill".

This list is not complete and many other drugs may interact with sulfamethoxazole and trimethoprim. This includes prescription and over-the-counter medicines, vitamins, and herbal products. Not all possible drug interactions are listed here.

Storage

Store at 20° to 25°C (68° to 77°F).

Ingredients

Active ingredients: sulfamethoxazole and trimethoprim Inactive ingredients: Docusate sodium, sodium benzoate, sodium starch glycolate type A potato, magnesium stearate and corn starch.

Sun Pharmaceutical Industries, Inc. Cranbury, NJ 08512

Common questions about Bactrim

Can you take Bactrim DS if you're allergic to penicillin?
Yes, Bactrim DS contains sulfamethoxazole and trimethoprim. It is in no way related to Penicillin. It is safe to take if you are allergic to Penicillin. Bactrim DS is an antibiotic and belongs to a drug class called sulfonamides.
Does Bactrim treat UTIs?
Yes, Bactrim is commonly used to treat UTIs. The usual adult dosage of Bactrim DS is 1 tablet every 12 hours, or 2 Bactrim tablets every 12 hours. The length of treatment may vary from 3 days to 14 days. Bactrim may also be prescribed to children over 2 months old, and the dosage is based on the child’s weight. Symptom relief is often seen within 3 days of starting treatment.
How long does Bactrim stay in your system?
Bactrim stays in your system for about 2 days after a dose is taken. This amount will vary from person to person and depends on many different factors, including: How well a drug is distributed throughout your body Age Diet Weight Certain medical conditions, such as kidney disease If other medicines are being taken at the same time
How does Bactrim & sulfonamides kill bacteria?
Bactrim is made up of two drugs: sulfamethoxazole and trimethoprim. It belongs to the class of medications known as sulfonamide antibiotics. Bactrim stops the growth of certain types of bacteria that cause infections. It blocks two steps in the production of proteins and nucleic acids that bacteria need to survive.
What drugs should be avoided with a sulfa allergy?
People with a sulfa allergy typically need to avoid sulfonamide antibiotics (antibiotics containing sulfa), including: Septra and Bactrim (sulfamethoxazole-trimethoprim) Pediazole (erythromycin-sulfisoxazole) Whether other nonantibiotic sulfa-containing drugs need to be avoided with sulfa allergy is unclear and considered on a case-by-case basis. Continue reading
Does Bactrim make you tired?
Yes, Bactrim (sulfamethoxazole and trimethoprim) can make you tired. Fatigue, or feeling tired, is a side effect listed in the Bactrim prescribing information. Continue reading
Does Bactrim cause headaches?
Yes. Headache is a common side effect of Bactrim (sulfamethoxazole / trimethoprim) and may occur in up to 10% of patients. Most Bactrim headaches are mild and fade once treatment ends. In rare cases, a headache can be a warning sign of a serious side effect, such as aseptic meningitis, low blood sugar, or low sodium in the blood. Continue reading
What happens if antibiotics don’t work for UTI?
If an antibiotic does not fully treat your UTI, the bacteria may be resistant and the infection can get worse. You may need more testing or a different antibiotic. A bladder infection can spread to the kidneys or bloodstream, causing a serious medical emergency. Contact your healthcare provider if your symptoms do not improve. Continue reading

Related medicines

Before you take this medicine: the information on this page is general and may not cover your personal circumstances. Read the label supplied with your medicine and ask a pharmacist or doctor if you are unsure, especially if you are pregnant, breastfeeding, taking other medicines or managing a long-term condition.
General medicine information Consumer-friendly language Source: Drugs.com

Content is provided for education and is not medical advice. See our medical disclaimer. Source page medically reviewed by Melisa Puckey, BPharm on August 26, 2026.