About all

Another name for bactrim: Sulfamethoxazole And Trimethoprim (Oral Route) Description and Brand Names

Uses, Side Effects, Dosages, Contra-indications, Warnings, Interactions & More

Bacterial infections sometimes require pharmaceutical treatment, such as antibiotic medications. One common medication prescribed by doctors is trimethoprim-sulfamethoxazole (sometimes called co-trimoxazole or TMP/SMX), the generic form of Bactrim.

Trimethoprim with sulfamethoxazole works by destroying bacteria in the body, which can alleviate bacterial infections.

As with any medication, trimethoprim-sulfamethoxazole is not for everyone. Your doctor will determine if it’s the right treatment based on your infection, health history, and current medications, among other things.

To help you be an informed patient—and to make prescription medicine more transparent—this article will address what trimethoprim-sulfamethoxazole is, what it’s used for, potential side effects, and how to take it.

Talk to a doctor online

Refill medications and get certain necessary prescriptions.

Start now

What Is Trimethoprim-sulfamethoxazole?

Trimethoprim-sulfamethoxazole, or generic Bactrim, is an FDA-approved prescription antibiotic medication.

A combination of two types of antibiotics, TMP/SMX treats common bacterial infections, including serious types of pneumonia called pneumocystis jiroveci pneumonia and pneumocystis carinii pneumonia (PCP). 

Trimethoprim-sulfamethoxazole works by decreasing the bacteria infecting a person’s body. The two active ingredients work together to prevent a chemical many bacteria need to grow.

Once production of that chemical ceases, the bacteria also stops growing, which can help resolve an infection.

What Is It Used For? 

Trimethoprim-sulfamethoxazole is an antibacterial drug used to treat infectious diseases in the body caused by bacteria. Doctors commonly prescribe it for: 

  • Urinary tract infections (UTIs), including those caused by Escherichia coli (e.coli)
  • Otitis media (middle ear infections) in children
  • Traveler’s diarrhea 
  • Shigellosis or shigella (bacillary dysentery)
  • Chronic bronchitis flare-ups
  • Acne vulgaris
  • Methicillin-resistant staphylococcus aureus (also known as MRSA), a type of staph infection
  • Pneumocystis jiroveci pneumonia or pneumocystis carinii pneumonia (two serious types of pneumonia in people with compromised immune systems, such as those undergoing treatment for cancer or people living with HIV)

Antibiotics, including trimethoprim-sulfamethoxazole, don’t work for viral infections such as the common cold and influenza.

Additionally, taking antibiotics too much or to try to prevent disease can result in antibiotic resistance. This is when bacteria develop a way to outlive medications meant to kill them, making the treatment obsolete.

Can You Get Trimethoprim-sulfamethoxazole Online?

Since trimethoprim-sulfamethoxazole is a prescription antibiotic medication, you need a healthcare provider’s prescription to get it. 

You can take your prescription to an online pharmacy to purchase the drug online; however, it’s important that you only get medication from a licensed pharmacy that requires a prescription from a doctor. 

If you don’t want to see a doctor in person or you don’t have access to one, you can chat with a K doctor, who may prescribe an antibiotic based on your symptoms.

What Forms Does Trimethoprim-sulfamethoxazole Come In?

Trimethoprim-sulfamethoxazole comes in two forms: liquid and tablet. It’s generally taken by mouth. Your doctor will instruct you on the best way to take your medication.

Make sure to follow their instructions and finish the course of treatment, even if you start to feel better after a few days. If you don’t take all of the medication, you may not completely kill off the bacteria, and the infection could return.

What Are Common Dosages of Trimethoprim-sulfamethoxazole?

Your doctor will work with you to determine the appropriate dosage of trimethoprim-sulfamethoxazole based on your infection, its severity, and your general health.

Common dosing for adults and children older than two months of age include: 

  • For shigellosis or urinary tract infections: 800 milligrams (mg) of sulfamethoxazole and 160 mg of trimethoprim every 12 hours for 5 days (for shigellosis) or 14 days (for UTIs)
  • For chronic bronchitis flare-ups: 800 mg/160 mg every 12 hours for 10-14 days
  • To treat pneumocystis jirovecii pneumonia or pneumocystis carinii pneumonia: The dose varies by weight (usually 75-100 mg of sulfamethoxazole and 15-20 mg of trimethoprim per kilogram of body weight) and is taken every 6 hours for 14-21 days 
  • To prevent pneumocystis jirovecii pneumonia or pneumocystis carinii pneumonia: 800 mg/160 mg once daily
  • For traveler’s diarrhea: 800 mg/160 mg every 12 hours for five days
  • For shigellosis, middle ear infections, or UTIs in children: 40mg/8mg every 12 hours for 5 days (for shigellosis) or 10 days (for acute ear infections and UTIs)

Side Effects of Trimethoprim-sulfamethoxazole

All medications come with a risk of unwanted side effects. Your doctor or pharmacist should give you a heads up about these. The most commonly reported side effects of trimethoprim-sulfamethoxazole are: 

  • Nausea
  • Vomiting
  • Decreased appetite

More rarely, people who take trimethoprim with sulfamethoxazole experience serious side effects. Talk to your doctor right away if you have any of the following: 

  • Chest pain, cough, or difficulty breathing 
  • Severe diarrhea or stomach pain
  • Dark urine or pale stools
  • Yellowing skin or eyes
  • Skin rash, including purple spots on your skin
  • Changes in urination or painful urination
  • Lower back or side (flank) pain
  • Confusion
  • Weakness
  • Muscle twitching
  • Seizures
  • Unusual bleeding or bruising
  • Fever
  • Muscle pain
  • Sore throat

And if you have experience of the below allergic reaction symptoms, call 911 or seek emergency care: 

  • Hives or itching
  • Swelling in your face or hands
  • Swelling or tingling in your throat or mouth 
  • Chest tightness
  • Difficulty breathing 

How to Take Trimethoprim-sulfamethoxazole

Follow your doctor’s instructions, including how much to take and when, when prescribed trimethoprim-sulfamethoxazole. It’s important, too, to finish your course of treatment even if you begin to feel better. 

To reduce the risk of unwanted side effects, drink a glass of water when you take trimethoprim-sulfamethoxazole and continue to drink water throughout the day. 

If you forget to take trimethoprim-sulfamethoxazole, take it as soon as you remember. But if it’s almost time for your next dose, wait until that time to take a single dose. Don’t take extra to make up for the dose you missed. 

Contraindications

It’s always important to inform your healthcare provider about your medical history. In any of the following situations, be especially sure to talk to your doctor before taking trimethoprim-sulfamethoxazole: 

  • Pregnancy: Trimethoprim-sulfamethoxazole can harm unborn babies, so take an effective birth control to prevent pregnancy during your course of treatment. Immediately tell your doctor if you may be pregnant while you’re using trimethoprim-sulfamethoxazole.
  • Breastfeeding: This medication can harm babies through breast milk.
  • Diabetes: Trimethoprim-sulfamethoxazole can interfere with glucose production and certain oral diabetes medications.
  • Anticonvulsant treatment: People taking medications to prevent seizures, such as phenytoin, could be at risk for vitamin B9 (folate, or folic acid) deficiency.
  • High potassium (hyperkalemia): TMP/SMX can increase potassium levels in the blood.
  • Infants: Clinicians prescribe trimethoprim-sulfamethoxazole for pediatric bacterial infections, but babies under two months of age should not take this medication.

Talk to a doctor online

Refill medications and get certain necessary prescriptions.

Start now

Drug Interactions

Not all medications play nicely together. Sometimes taking trimethoprim-sulfamethoxazole in addition to other drugs can cause serious interactions.

Be sure your doctor knows if you’re currently taking any medications, particularly those below.

  • ACE inhibitors
  • Blood thinners
  • Oral diabetes medication
  • Diuretics
  • Leucovorin
  • Indomethacin
  • Anticonvulsants
  • Memantine
  • Methotrexate
  • Pyrimethamine

Warnings

Along with less serious side effects, trimethoprim-sulfamethoxazole can cause more adverse effects, including serious, life-threatening medical problems in some people.

It’s normal to experience some gastrointestinal discomfort on antibiotics, but if you have diarrhea for more than two weeks or an exacerbation of your GI symptoms, talk to your healthcare provider or chat with a K doctor.

Some patients may experience serious skin reactions. If you have any of the following symptoms, talk to a doctor or seek medical care right away: 

  • Skin rash 
  • Blistering
  • Peeling
  • Loosening skin 
  • Itching 
  • Red skin lesions
  • Sores
  • Ulcers
  • White spots in your mouth or lips

In some people, this medication can cause liver problems. Seek medical treatment if you have these symptoms: 

  • Darkening urine
  • Lightening stool 
  • Stomach pain
  • Jaundice (yellowing eyes or skin)

People who take higher doses of trimethoprim-sulfamethoxazole, especially for prolonged periods, could be at risk for reduced platelet count. Consult with your doctor if you experience: 

  • Black, tarry stools
  • Blood in your urine or stool 
  • Unusual bleeding

All medications come with a risk of severe allergic reactions, which require immediate emergency medical care. Call a doctor or go to the emergency room if you have any of the following adverse reactions: 

  • Itching
  • Swelling in your mouth, throat, or tongue
  • Difficulty breathing
  • Chest pain

Lastly, trimethoprim-sulfamethoxazole can affect certain medical tests. If you need lab work done at the doctor or dentist, tell the provider that you’re taking this antibiotic. 

How K Health Can Help 

Did you know you can access online urgent care with K Health?

Check your symptoms, explore conditions and treatments, and if needed, text with a healthcare provider in minutes.  

K Health’s AI-powered app is HIPAA compliant and is based on 20 years of clinical data.

Frequently Asked Questions

What is trimethoprim-sulfamethoxazole used to treat?

Trimethoprim-sulfamethoxazole is used to treat a variety of bacterial infections, from ear infections, urinary tract infections, and traveler’s diarrhea to more serious infections like pneumonia. If you have a bacterial infection, your doctor will work with you to determine whether trimethoprim-sulfamethoxazole is an appropriate course of treatment.

How long does trimethoprim-sulfamethoxazole stay in your system?

Every drug has a half life, which is the amount of time it takes for the medication to reduce to half of the initial dose. The half life of trimethoprim is about 8-10 hours, and the half life of sulfamethoxazole is about 10 hours.

Should you drink a lot of water when you take trimethoprim-sulfamethoxazole?

Drinking extra water when you take trimethoprim-sulfamethoxazole may help prevent unwanted side effects. Follow your doctor’s instructions, but overall it’s best to take the medication with a full glass of water. And it never hurts to drink water throughout the day to promote hydration.

How long does it take for trimethoprim-sulfamethoxazole to work?

Your body will start to absorb trimethoprim-sulfamethoxazole immediately when you start taking it, and it will start to kill bacteria within about four hours of your first dose. Generally, people start to feel better within a few days of taking trimethoprim-sulfamethoxazole, but it can take up to a few weeks if you have a complicated diagnosis like pneumonia. Even if you start to feel better, follow your doctor’s instructions and continue taking your medication until it’s gone.

K Health articles are all written and reviewed by MDs, PhDs, NPs, or PharmDs and are for informational purposes only. This information does not constitute and should not be relied on for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment.

K Health has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions,
and medical associations. We avoid using tertiary references.

  • Bactrim™. (2013).
    https://www.accessdata.fda.gov/drugsatfda_docs/label/2013/017377s068s073lbl.pdf

  • Drug Database: Sulfamethoxazole / Trimethoprim. (revised 2020).
    https://clinicalinfo.hiv.gov/en/drugs/sulfamethoxazole-trimethoprim/tablet-tablet-double-strength

  • Sulfamethoxazole and Trimethoprim (Oral Route). (updated 2021).
    https://www.mayoclinic.org/drugs-supplements/sulfamethoxazole-and-trimethoprim-oral-route/side-effects/drg-20071899

  • Trimethoprim Sulfamethoxazole. (updated 2020).
    https://www.ncbi.nlm.nih.gov/books/NBK513232/

trimethoprim/sulfamethoxazole (TMP/SMX, Bactrim, Septra) – International Association of Providers of AIDS Care

WHAT IS TRIMETHOPRIM/SULFAMETHOXAZOLE?

Trimethoprim/sulfamethoxazole (TMP/SMX) is a combination of two antibiotics: trimethoprim and sulfamethoxazole. It is also known as cotrimoxazole. Its brand names are Bactrim or Septra. TMP/SMX is sold under many other names in different parts of the world.

Antibiotics fight infections caused by bacteria. TMP/SMX is also used to fight infections caused by protozoa and some opportunistic infections (OIs) in people with HIV.

WHY DO PEOPLE WITH HIV TAKE TMP/SMX?

TMP/SMX is used for many bacterial infections. It is effective and inexpensive. Adding TMP/SMX to antiretroviral therapy (ART) reduces death in the first 60 weeks of treatment by 35% according to an African study reported in 2010. Unfortunately, up to one third of the people who take TMP/SMX get an allergic reaction.

Many germs live in our bodies or are common in our surroundings. A healthy immune system can fight them off or keep them under control. However, HIV infection can weaken the immune system. Infections that take advantage of weakened immune defenses are called opportunistic infections (OIs). People with advanced HIV disease can get OIs.

One OI in people with HIV is pneumocystis pneumonia (PCP), which affects the lungs. People who have a CD4 cell count of less than 200 cells/mm3 may develop PCP.

TMP/SMX is the first choice to treat or prevent PCP. If your CD4 cell count is below 200 cells/mm3, ask your healthcare provider if you should be taking TMP/SMX or another drug to prevent PCP.

Another OI is toxoplasmosis (toxo), which affects the brain. People who have a CD4+ cell count of less than 100 may develop toxo. TMP/SMX is sometimes used to treat or prevent cases of toxo.

Some people are allergic to TMP/SMX. Be sure to tell your healthcare provider if you are allergic to sulfa drugs or antibiotics. People who are anemic should not use TMP/SMX. People who are pregnant or breastfeeding should avoid taking TMP/SMX if possible because it may increase the risk of birth defects. Also let your healthcare provider know if you have liver disease, kidney disease, or a shortage of the enzyme glucose-6-phosphate dehydrogenase (G6PD). 

WHAT ABOUT DRUG RESISTANCE?

Whenever you take medication, be sure to take all of the prescribed doses. Many people stop if they feel better. This is not a good idea. If the drug doesn’t kill all of the germs, they might change (mutate) so that they can survive even when you are taking medications. When this happens, the drug will stop working. This is called developing resistance to the drug.

For example, if you are taking TMP/SMX to fight PCP and you miss too many doses, the PCP in your body could develop resistance to TMP/SMX. Then you would have to take a different drug or combination of drugs to fight it.

HOW IS TMP/SMX TAKEN?

TMP/SMX is available in tablets that contain 80 milligrams (mg) of trimethoprim and 400 mg of sulfamethoxazole. There is also a double strength tablet with 160 mg of trimethoprim and 800 mg of sulfamethoxazole. The dose you take depends on the type of infection you are trying to treat or prevent.

The treatment continues as long as your CD4 cell count is low enough for you to develop toxo or PCP.

TMP/SMX is generally taken with food, but the single-strength tablets can be taken with or without food. Drink plenty of water when taking TMP/SMX.

WHAT ARE THE SIDE EFFECTS?

HIV infection causes higher rates of TMP/SMX side effects. People who have taken TMP/SMX before often have more side effects.

The main side effects of TMP/SMX are nausea, vomiting, loss of appetite, and allergic skin reactions (rashes). The skin rashes can be fairly common. TMP/SMX can cause Stevens-Johnson syndrome, a very serious skin rash.

TMP/SMX can also cause neutropenia, a low level of neutrophils. These are white blood cells (WBCs) that fight bacterial infections. HIV infection can also cause neutropenia.

Some healthcare providers use a desensitization procedure with people who get an allergic reaction. Starting with a very low dose of TMP/SMX that does not cause an allergic reaction, they gradually increase the dose to the full amount. Vitamin C may help in cases of allergic reactions to Bactrim. Another option is to use the drug diaminodiphenyl sulfone (Dapsone).

TMP/SMX can also make you sensitive to sunlight. If this occurs, use sun block on your skin and/or wear sunglasses.

Tell your healthcare provider if your skin gets pale or yellowish, or you get a sore throat, fever, or rash, even after a few weeks of taking TMP/SMX. These might indicate a serious drug reaction.

HOW DOES TMP/SMX REACT WITH OTHER DRUGS?

TMP/SMX is mostly processed by the kidneys. It does not interact very much with drugs that use the liver, including most antiretroviral medications (ARVs) used to treat HIV. However, TMP/SMX interacts with several other types of drugs, including some blood thinners, pills to lower blood sugar, seizure medications, and water pills. Be sure your healthcare provider knows about all the medications you are taking.

THE BOTTOM LINE

TMP/SMX is used to treat PCP and toxoplasmosis, opportunistic infections in people with HIV. It can prevent new infections or treat active infections. If your CD4 cell count is below 200 cells/mm3, talk to your healthcare provider about taking drugs to prevent PCP.

MORE INFORMATION

MedlinePlus: Co-trimoxazole

Drugs.com: sulfamethoxazole and trimethoprim

Reviewed March 2021

Print PDF

  • Main

    Description

  • General information
    • Development history
    • Structure
    • Human Resources
      • Manual
      • Administrative and managerial staff
      • Doctors
    • Controlling organizations
    • Anti-corruption
    • media about us
    • Public data of the founder
    • Vacancies
    • News
    • Documents
      • Statutory documents
      • Legislation
      • Protection of personal data
      • Code of Conduct
      • Paid services
      • Medicines
      • Other
      • Agreements
    • Contacts
  • Patients
    • Frequently Asked Questions
    • Rapid HIV testing
    • Foreign citizens
    • Doctor appointment schedule
    • Information on coronavirus infection
    • Making an appointment
    • Paid services
    • Treatment
    • Psychological consultation
    • Legal matters
    • Pregnancy and childbirth
    • AIDS Center Webinars
  • All about HIV and AIDS
    • Virus history
    • Ways of transmission
    • Library
      • Articles
      • Photo gallery
      • Videos
      • Movies
      • Booklets
      • Leaflets
    • Useful links
      • Information resources
      • For women
      • Teen
      • Forums and dating sites
      • media
      • Government organizations
      • Public organizations
      • International organizations
      • Programs and projects
  • Frequently Asked Questions
  • Consultation
    • Q&A
  • Contacts
  • Reviews
  • Professionals
    • Regulations
    • Literature
    • Activities
    • Workplace Prevention
      • Downloads
      • Rollers
      • Manuals, laws
      • Learning module
    • Teachers
      • Downloads
      • Rollers
      • Method. literature
      • Activities
      • Photo gallery
    • Statistics
    • Layouts of information materials for download
    • UVM
    • Employees