Skip Nav

AIDSinfo Drug Database

Skip Navigation

Sulfamethoxazole / Trimethoprim  Audio icon

Other Names: Bactrim, Bactrim DS, SMX-TMP, Septra, Sulfamethoprim, Sulfamethoprim-DS, Sulfatrim, TMP-SMX
Chemical Images:
sulfamethoxazole sulfamethoxazole
Molecular Weight: 253.2809
sulfamethoxazole
trimethoprim trimethoprim
Molecular Weight: 290.321
trimethoprim

What is sulfamethoxazole/trimethoprim?


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

  • Acute exacerbations (worsening) of chronic bronchitis;
  • Urinary tract and acute ear infections;
  • Shigellosis;
  • Diarrhea;
  • Pneumocystis carinii pneumonia (PCP).

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

Shigellosis and PCP are opportunistic infections. An opportunistic infection is an infection that occurs more frequently or is more severe in people with weakened immune systems—such as those infected with HIV—than in people with healthy immune systems.

Sulfamethoxazole/trimethoprim can also be used “off-label” to prevent and treat other opportunistic infections of HIV infection. “Off-label” use refers to use of an FDA-approved medicine in a manner different from that described on the medicine label. Good medical practice and the best interests of a patient sometimes require that a medicine be used “off-label.”


What HIV-related opportunistic infections is sulfamethoxazole/trimethoprim used for?


The Guidelines for Prevention and Treatment of Opportunistic Infections in HIV-Infected Adults and Adolescents, prepared by the U.S. Department of Health and Human Services (HHS) and the Centers for Disease Control and Prevention (CDC), includes recommendations on the HIV-related uses of sulfamethoxazole/trimethoprim to:

  • Prevent:
    • PCP from occurring the first time (called primary prophylaxis) and from recurring (called secondary prophylaxis or maintenance therapy).
    • Toxoplasma gondii encephalitis (also called toxoplasmosis). (This is an “off-label” use.)
    • Isosporiasis (also called Isospora belli infection) from recurring. (This is an "off-label" use.)
  • Treat:
    • PCP.
    • Toxoplasma gondii encephalitis. (This is an “off-label” use.)
    • Certain bacterial enteric infections, including shigellosis and salmonellosis.
    • Isosporiasis. (This is an “off-label” use.)


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


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

  • If you are allergic to sulfonamides (including sulfamethoxazole), trimethoprim, or any other medicines.
  • About any medical conditions you have or have had, for example, diabetes or liver problems.
  • About anything that could affect your ability to take medicines, such as difficulty swallowing or remembering to take pills.
  • If you are pregnant or plan to become pregnant. Whether sulfamethoxazole/trimethoprim can harm an unborn baby is unknown. Sulfamethoxazole/trimethoprim should not be used by pregnant women because sulfonamides (including sulfamethoxazole) may cause kernicterus.
  • If you are breastfeeding or plan to breastfeed. Do not breastfeed if you are infected with HIV.
  • About other prescription and nonprescription medicines, vitamins, nutritional supplements, and herbal products you are taking or plan to take. Ask your health care provider if there are interactions between sulfamethoxazole/trimethoprim and the other medicines you take.

Ask your health care provider about possible side effects from sulfamethoxazole/trimethoprim. Your health care provider will tell you what to do if you have side effects.


How should I take sulfamethoxazole/trimethoprim?


Take sulfamethoxazole/trimethoprim according to your health care provider’s instructions. Your health care provider will tell you how much sulfamethoxazole/trimethoprim to take and when to take it. Before you start sulfamethoxazole/trimethoprim and each time you get a refill, read any printed information that comes with your medicine.


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 sulfamethoxazole/trimethoprim injection solution at room temperature, 68°F to 77°F (20°C to 25°C). Do not refrigerate the injection solution.
  • Safely throw away sulfamethoxazole/trimethoprim that is no longer needed or expired (out of date).
  • Keep sulfamethoxazole/trimethoprim and all medicines out of reach of children.


Where can I find more information about sulfamethoxazole/trimethoprim?


More information about sulfamethoxazole/trimethoprim is available:


Last Reviewed: October 8, 2012

Last Updated: October 8, 2012