Skip to main content

Sulfamethoxazole and trimethoprim (Oral)

Generic name: sulfamethoxazole and trimethoprim [ sul-fa-meth-OX-a-zole, trye-METH-oh-prim ]
Brand names: Bactrim, Bactrim DS, Septra, Septra DS, SMZ-TMP Pediatric, Sulfatrim, Sulfatrim Pediatric
Drug class: Sulfonamides

Medically reviewed by Drugs.com. Last updated on Jul 12, 2023.

Uses for sulfamethoxazole and trimethoprim

Sulfamethoxazole and trimethoprim combination is used to treat infections including urinary tract infections, middle ear infections (otitis media), bronchitis, traveler's diarrhea, and shigellosis (bacillary dysentery). This medicine is also used to prevent or treat Pneumocystis jiroveci pneumonia or Pneumocystis carinii pneumonia (PCP), a very serious kind of pneumonia. This type of pneumonia occurs more commonly in patients whose immune systems are not working normally, including cancer patients, transplant patients, and patients with acquired immune deficiency syndrome (AIDS).

Sulfamethoxazole and trimethoprim combination is an antibiotic. It works by eliminating the bacteria that cause many kinds of infections. This medicine will not work for colds, flu, or other virus infections.

This medicine is available only with your doctor's prescription.

Before using sulfamethoxazole and trimethoprim

In deciding to use a medicine, the risks of taking the medicine must be weighed against the good it will do. This is a decision you and your doctor will make. For this medicine, the following should be considered:

Allergies

Tell your doctor if you have ever had any unusual or allergic reaction to this medicine or any other medicines. Also tell your health care professional if you have any other types of allergies, such as to foods, dyes, preservatives, or animals. For non-prescription products, read the label or package ingredients carefully.

Pediatric

Appropriate studies performed to date have not demonstrated pediatric-specific problems that would limit the usefulness of sulfamethoxazole and trimethoprim combination in children 2 months of age and older. Because of the toxicity of the combination of sulfamethoxazole and trimethoprim, use in infants younger than 2 months of age is not recommended.

Geriatric

Appropriate studies performed to date have not demonstrated geriatric-specific problems that would limit the usefulness of sulfamethoxazole and trimethoprim combination in the elderly. However, elderly patients are more likely to have a folate deficiency, age-related kidney or liver problems, and may be more likely to experience unwanted side effects (eg, severe skin rash, increased potassium in the body, or problems with blood clotting or the immune system). There may be an adjustment in the dose for elderly patients receiving sulfamethoxazole and trimethoprim combination.

Breast Feeding

Studies in women suggest that this medication poses minimal risk to the infant when used during breastfeeding.

Interactions with Medicines

Although certain medicines should not be used together at all, in other cases two different medicines may be used together even if an interaction might occur. In these cases, your doctor may want to change the dose, or other precautions may be necessary. When you are taking this medicine, it is especially important that your healthcare professional know if you are taking any of the medicines listed below. The following interactions have been selected on the basis of their potential significance and are not necessarily all-inclusive.

Using this medicine with any of the following medicines is not recommended. Your doctor may decide not to treat you with this medication or change some of the other medicines you take.

Using this medicine with any of the following medicines is usually not recommended, but may be required in some cases. If both medicines are prescribed together, your doctor may change the dose or how often you use one or both of the medicines.

Using this medicine with any of the following medicines may cause an increased risk of certain side effects, but using both drugs may be the best treatment for you. If both medicines are prescribed together, your doctor may change the dose or how often you use one or both of the medicines.

Interactions with Food/Tobacco/Alcohol

Certain medicines should not be used at or around the time of eating food or eating certain types of food since interactions may occur. Using alcohol or tobacco with certain medicines may also cause interactions to occur. The following interactions have been selected on the basis of their potential significance and are not necessarily all-inclusive.

Using this medicine with any of the following is usually not recommended, but may be unavoidable in some cases. If used together, your doctor may change the dose or how often you use this medicine, or give you special instructions about the use of food, alcohol, or tobacco.

Other Medical Problems

The presence of other medical problems may affect the use of this medicine. Make sure you tell your doctor if you have any other medical problems, especially:

Proper use of sulfamethoxazole and trimethoprim

Take this medicine exactly as directed by your doctor. Do not take more of it, do not take it more often, and do not take it for a longer time than your doctor ordered. To do so may increase the chance of side effects.

Sulfamethoxazole and trimethoprim combination is best taken with a full glass (8 ounces) of water. Several additional glasses of water should be taken every day, unless otherwise directed by your doctor. Drinking extra water will help to prevent some unwanted effects (eg, crystals in the urine). .

For patients taking the oral liquid, use a specially marked measuring spoon or other device to measure each dose accurately. The average household teaspoon may not hold the right amount of liquid.

To help clear up your infection completely, keep using this medicine for the full time of treatment, even if you begin to feel better after a few days. If you stop taking this medicine too soon, your symptoms may return.

Dosing

The dose of this medicine will be different for different patients. Follow your doctor's orders or the directions on the label. The following information includes only the average doses of this medicine. If your dose is different, do not change it unless your doctor tells you to do so.

The amount of medicine that you take depends on the strength of the medicine. Also, the number of doses you take each day, the time allowed between doses, and the length of time you take the medicine depend on the medical problem for which you are using the medicine.

Missed Dose

If you miss a dose of this medicine, take it as soon as possible. However, if it is almost time for your next dose, skip the missed dose and go back to your regular dosing schedule. Do not double doses.

Storage

Store the medicine in a closed container at room temperature, away from heat, moisture, and direct light. Keep from freezing.

Keep out of the reach of children.

Do not keep outdated medicine or medicine no longer needed.

Ask your healthcare professional how you should dispose of any medicine you do not use.

Precautions while using sulfamethoxazole and trimethoprim

It is very important that your doctor check the progress of you or your child at regular visits to make sure that this medicine is working properly. Blood and urine tests may be needed to check for unwanted effects.

Using this medicine while you are pregnant can harm your unborn baby. Use an effective form of birth control to keep from getting pregnant. If you think you have become pregnant while using the medicine, tell your doctor right away.

This medicine may cause serious skin reactions, including Stevens-Johnson syndrome, toxic epidermal necrolysis, drug reaction with eosinophilia and systemic symptoms (DRESS), acute generalized exanthematous pustulosis (AGEP), or acute febrile neutrophilic dermatosis (AFND). Check with your doctor if you have a skin rash, blistering, peeling, loosening of the skin, chills, cough, diarrhea, itching, joint or muscle pain, red irritated eyes, red skin lesions, often with a purple center, sore throat, sores, ulcers, white spots in the mouth or on the lips, black, tarry stools, chest pain, or painful or difficult urination.

Check with your doctor right away if you have dark urine, clay-colored stools, stomach pain, or yellow eyes or skin. These may be symptoms of a serious liver problem.

This medicine, especially if you are receiving high doses or for a long period of time, may lower the number of platelets in your body, which are necessary for proper blood clotting. Because of this, you may bleed or get infections more easily. Talk with your doctor if you have black, tarry stools, bleeding gums, blood in urine or stools, pinpoint red spots on the skin, unusual bleeding or bruising.

This medicine may cause diarrhea, and in some cases it can be severe. It may occur 2 months or more after you stop taking this medicine. Do not take any medicine to treat diarrhea without first checking with your doctor. If you have any questions or if mild diarrhea continues or gets worse, check with your doctor.

Check with your doctor right away if you or your child have stomach cramps, bloating, watery and severe diarrhea, which may also be bloody, nausea or vomiting, or unusual tiredness or weakness. These may be symptoms of a serious intestinal infection.

This medicine may cause serious allergic reactions, including anaphylaxis, which can be life-threatening and require immediate medical attention. Check with your doctor right away if you or your child have a rash, itching, swelling of the face, tongue, and throat, trouble breathing, or chest pain after you use the medicine.

This medicine may cause electrolyte problems, including high potassium in the blood (hyperkalemia) and low sodium in the blood (hyponatremia). Tell your doctor right away if you have confusion, weakness, muscle twitching, an irregular heartbeat, numbness or tingling in the hands, feet, or lips, or trouble breathing.

This medicine may cause hypoglycemia (low blood sugar) in some patients. Check with your doctor if you have anxiety, behavior change similar to being drunk, blurred vision, cold sweats, confusion, cool pale skin, difficulty with concentrating, drowsiness, excessive hunger, headache, nausea, nervousness, rapid heartbeat, shakiness, or unusual tiredness or weakness.

Before you have any medical tests, tell the medical doctor in charge that you or your child are taking this medicine. The results of some tests may be affected by this medicine.

Patients receiving anticonvulsant treatment (medicines to prevent seizures) may be at risk for a folate (vitamin B9) deficiency, which may increase the risk for side effects. Talk with your doctor if you have concerns about this.

Do not use this medicine if you are also using dofetilide (Tikosyn®).

Do not use this medicine for Pneumocystis jiroveci pneumonia (PCP) if you are also using leucovorin. Using these medicines together may cause these medicines to not work as well for you.

Do not take other medicines unless they have been discussed with your doctor. This includes leucovorin, other prescription or nonprescription (over-the-counter [OTC]) medicines and herbal or vitamin supplements.

Side Effects of sulfamethoxazole and trimethoprim

Along with its needed effects, a medicine may cause some unwanted effects. Although not all of these side effects may occur, if they do occur they may need medical attention.

Check with your doctor immediately if any of the following side effects occur:

More common

Incidence not known

Some side effects may occur that usually do not need medical attention. These side effects may go away during treatment as your body adjusts to the medicine. Also, your health care professional may be able to tell you about ways to prevent or reduce some of these side effects. Check with your health care professional if any of the following side effects continue or are bothersome or if you have any questions about them:

More common

Incidence not known

Other side effects not listed may also occur in some patients. If you notice any other effects, check with your healthcare professional.

Call your doctor for medical advice about side effects. You may report side effects to the FDA at 1-800-FDA-1088.

Commonly used brand name(s)

In the U.S.

In Canada

Available Dosage Forms:

Therapeutic Class: Sulfonamide Combination

Pharmacologic Class: Folic Acid Antagonist

Chemical Class: Sulfonamide

Frequently asked questions

View more FAQ

Further information

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