Drug information

Audio
Download files:
Other Names
Bactrim, Bactrim DS, SMX-TMP, Septra, Sulfatrim, TMP-SMX
Drug Class
Antibacterial (Sulfonamide/Dihydrofolate Reductase Inhibitor)
 

What is sulfamethoxazole/trimethoprim?What is sulfamethoxazole/trimethoprim?

What is sulfamethoxazole/trimethoprim?

Sulfamethoxazole/trimethoprim is an antibacterial prescription medicine approved by the U.S. Food and Drug Administration (FDA) for the treatment of certain infections, such as:

Sulfamethoxazole/trimethoprim is also FDA-approved to prevent PCP in people who are immunosuppressed and are at risk of developing PCP.

Certain bacterial infections and PCP can be opportunistic infections (OIs) of HIV. An OI is an infection that occurs more frequently or is more severe in people with weakened immune systems—such as people with HIV—than in people with healthy immune systems. To learn more about OIs, read the HIVinfo What is an Opportunistic Infection? fact sheet.

How is sulfamethoxazole/trimethoprim used in people with HIV?How is sulfamethoxazole/trimethoprim used in people with HIV?

How is sulfamethoxazole/trimethoprim used in people with HIV?

The Guidelines for the Prevention and Treatment of Opportunistic Infections in Adults and Adolescents With HIV and/or the Guidelines for the Prevention and Treatment of Opportunistic Infections in Children With and Exposed to HIV include recommendations on the uses of sulfamethoxazole/trimethoprim in people with HIV to:

Treat:

Prevent:

  • PCP from occurring the first time and from recurring
  • Bacterial enteric infections from occurring the first time
  • Toxoplasma gondii encephalitis from occurring the first time and from recurring
  • Cystoisosporiasis from recurring
  • Spontaneous bacterial peritonitis (SBP) associated with hepatitis B virus infection from recurring. (SBP is an infection of fluid build-up in the abdomen, having no known cause.)

The recommended uses may not always be consistent with FDA-approved uses of sulfamethoxazole/trimethoprim. See the Adult and Pediatric Opportunistic Infection Guidelines for complete information on recommended uses of sulfamethoxazole/trimethoprim in adults and children with HIV. Sulfamethoxazole/trimethoprim may have other recommended uses not listed above.

What should I tell my health care provider before using sulfamethoxazole/trimethoprim?What should I tell my health care provider before using sulfamethoxazole/trimethoprim?

What should I tell my health care provider before using sulfamethoxazole/trimethoprim?

Before using sulfamethoxazole/trimethoprim, tell your health care provider:

  • If you are allergic to sulfamethoxazole, sulfonamides (sulfa medicines), sulfites, trimethoprim, or any other medicines.
  • About any medical conditions you have or have had, including:
    • Kidney or liver problems
    • Folate deficiency (low levels of folic acid in the blood) and conditions associated with folate deficiency, such as megaloblastic anemia
    • Severe allergies or asthma
    • Inherited blood disorders: porphyria or glucose-6-phosphate dehydrogenase (G-6PD) deficiency
    • Thyroid problems
    • Phenylketonuria
    • Malnutrition
    • Electrolyte imbalances, such as low sodium or high potassium levels
  • About anything that could affect your ability to take medicines, such as difficulty swallowing pills, difficulty remembering to take pills, or any health conditions that may prevent your use of intravenous medicines.
  • If you are pregnant or plan to become pregnant. Sulfamethoxazole/trimethoprim should be used during pregnancy only if the potential benefit justifies the potential risk to the fetus. Talk to your health care provider about the risks and benefits of using sulfamethoxazole/trimethoprim during pregnancy. The Guidelines for the Prevention and Treatment of Opportunistic Infections in Adults and Adolescents With HIV may include other recommendations on the use of sulfamethoxazole/trimethoprim during pregnancy. Please refer to these guidelines for additional information.
  • If you are breastfeeding or plan to breastfeed. For mothers with HIV in the United States, the Guideline recommends speaking with your health care provider to discuss options for feeding your baby. Mothers with suppressed viral load have a less than 1% chance of transmitting HIV to their baby via their own milk. Although most medicines are safe to use while breastfeeding, some medicines should be avoided. Always let your health care provider know about all the medicines and supplements you are using before you start breastfeeding.
  • About other prescription and nonprescription medicines, vitamins, nutritional supplements, and herbal products you are taking or plan to take. Sulfamethoxazole/trimethoprim may affect the way other medicines or products work, and other medicines or products may affect how sulfamethoxazole/trimethoprim works. Ask your health care provider if there are interactions between sulfamethoxazole/trimethoprim and the other medicines you take.

How should I use sulfamethoxazole/trimethoprim?How should I use sulfamethoxazole/trimethoprim?

How should I use sulfamethoxazole/trimethoprim?

Use sulfamethoxazole/trimethoprim according to your health care provider’s instructions. Your health care provider will tell you how much sulfamethoxazole/trimethoprim to use and when to use it. 

It is important to complete the full prescribed course of treatment with sulfamethoxazole/trimethoprim, even if you begin to feel better. If you stop using sulfamethoxazole/trimethoprim too soon or skip doses, your infection may not be fully treated, and the bacteria may become harder to treat (resistant).

Before you start sulfamethoxazole/trimethoprim and each time you get a refill, read any printed information that comes with your medicine.

What side effects can sulfamethoxazole/trimethoprim cause?What side effects can sulfamethoxazole/trimethoprim cause?

What side effects can sulfamethoxazole/trimethoprim cause?

Sulfamethoxazole/trimethoprim may cause side effects that can be mild or serious. To learn about possible side effects of sulfamethoxazole/trimethoprim, see the FDA drug labels for sulfamethoxazole/trimethoprim suspension, tablet, tablet (double strength), and injection or talk to your health care provider or pharmacist. Tell your health care professional if you have any side effect that bothers you or that does not go away. Your health care professional may be able to tell you about ways to prevent or reduce some side effects.

You may report side effects to FDA at 1-800-FDA-1088 (1-800-332-1088) or online.

How should sulfamethoxazole/trimethoprim be stored?How should sulfamethoxazole/trimethoprim be stored?

How should sulfamethoxazole/trimethoprim be stored?

  • Store sulfamethoxazole/trimethoprim oral suspension at room temperature, 68°F to 77°F (20°C to 25°C). Protect the oral suspension from light.
  • Store sulfamethoxazole/trimethoprim tablets at room temperature, 68°F to 77°F (20°C to 25°C).
  • Store vials of sulfamethoxazole/trimethoprim injection solution at room temperature, 68°F to 77°F (20°C to 25°C). Do not refrigerate the injection solution.
  • Do not use sulfamethoxazole/trimethoprim if the original seal of the container is broken or missing.
  • Throw away sulfamethoxazole/trimethoprim that is no longer needed or expired (out of date). Follow FDA guidelines on how to safely dispose of unused medicine. For information on disposing of needles and other sharps, please refer to these guidelines or ask your health care provider or pharmacist.
  • Keep sulfamethoxazole/trimethoprim and all medicines out of reach of children.

Where can I find more information about sulfamethoxazole/trimethoprim?Where can I find more information about sulfamethoxazole/trimethoprim?

Where can I find more information about sulfamethoxazole/trimethoprim?

 

 

Last Reviewed: February 18, 2025