Sulfamethoxazole, almost always prescribed in combination with trimethoprim (sold as Bactrim or Septra), causes digestive upset more than anything else. Nausea, vomiting, loss of appetite, and diarrhea are the most common side effects reported to the FDA. Most people tolerate the drug without serious problems, but it carries a wider range of potential reactions than many antibiotics, including some that are rare but dangerous.
Digestive Side Effects
Stomach-related symptoms top the list. The FDA labels nausea, vomiting, and loss of appetite as the most common adverse reactions. Abdominal pain and diarrhea also appear frequently. These effects tend to be mild and often improve if you take the medication with food and a full glass of water. If vomiting or diarrhea becomes severe or persistent, it can lead to dehydration, which is worth paying attention to because staying well-hydrated matters with this drug for other reasons too (more on that below).
Skin Reactions and Sun Sensitivity
Rashes are one of the more common reasons people stop taking this antibiotic. A mild, flat rash can appear within the first few days of treatment and may resolve on its own. But sulfamethoxazole also carries a risk of severe skin reactions that require immediate medical attention.
Stevens-Johnson syndrome (SJS) and toxic epidermal necrolysis (TEN) are the most serious. These conditions cause the skin to blister and peel away, and they can be fatal. The early warning signs often look like the flu: fever, headache, cough, body aches, and red or irritated eyes. These symptoms typically appear before the skin changes do. Pain in the skin, rather than itching, is a distinguishing feature. If you develop a spreading rash with any of these symptoms while taking sulfamethoxazole, stop the medication and get medical help right away.
Sun sensitivity is a separate and more common skin-related side effect. Your skin burns more easily and faster than usual while you’re on the drug. This photosensitivity typically resolves shortly after finishing the course, though in some cases it can linger for several months. Wearing sunscreen, protective clothing, and avoiding prolonged sun exposure during treatment helps reduce the risk.
Effects on Blood Cells
Sulfamethoxazole can interfere with blood cell production and survival. The FDA label lists serious blood-related reactions including severely low white blood cell counts (agranulocytosis), bone marrow failure (aplastic anemia), and destruction of red blood cells (hemolytic anemia). These are rare but can be life-threatening.
Hemolytic anemia is a particular concern for people with G6PD deficiency, an inherited condition that makes red blood cells vulnerable to damage from certain medications. Sulfamethoxazole is an oxidizing drug, meaning it can directly damage hemoglobin inside red blood cells in people whose cells lack the protective enzyme. G6PD deficiency is relatively common worldwide, especially in men, and some people don’t know they have it. Symptoms of hemolytic anemia include unusual fatigue, pale skin, dark-colored urine, and shortness of breath.
Elevated Potassium Levels
The trimethoprim component of this combination drug can raise potassium levels in your blood, a condition called hyperkalemia. In a large study of older women treated for urinary tract infections, the hospitalization rate for hyperkalemia was about 51 per 100,000 patients taking the drug. That number likely underestimates the true frequency, since it excluded milder cases caught in outpatient settings.
The risk climbs significantly if you have reduced kidney function, are older, or take other medications that also raise potassium. ACE inhibitors (commonly prescribed for blood pressure) are a well-known combination to watch for. Hyperkalemia can cause muscle weakness, numbness, and in severe cases, dangerous heart rhythm changes. If you fall into a higher-risk group, your provider may monitor your potassium with blood tests during treatment.
Kidney Crystals
Sulfamethoxazole is processed by your body into a form that doesn’t dissolve well in urine. If you aren’t drinking enough fluids, these byproducts can crystallize in the kidneys or urinary tract, a condition called crystalluria. This can cause pain, blood in the urine, and in severe cases, kidney damage. The standard recommendation for sulfonamide drugs is to drink enough fluid to produce at least 1.2 liters of urine per day, which generally means aiming for about 2 liters (roughly eight cups) of fluid intake daily. This is one antibiotic where the “drink plenty of water” advice is not optional.
Interactions With Blood Thinners
If you take warfarin, sulfamethoxazole-trimethoprim is one of the highest-risk antibiotic combinations for bleeding. The drug interferes with the liver enzyme that breaks down warfarin, causing warfarin levels to rise. It also kills gut bacteria that produce vitamin K, further tipping the balance toward excessive blood thinning. A study of veterans found that taking both drugs together was associated with more than double the risk of serious bleeding events. People on warfarin who need this antibiotic typically require closer monitoring and possible dose adjustments to their blood thinner.
Liver and Lung Reactions
Less commonly, sulfamethoxazole can cause liver injury, including a severe form called fulminant hepatic necrosis. Signs of liver problems include yellowing of the skin or eyes, dark urine, severe fatigue, and upper abdominal pain. Lung injury, both acute and delayed, has also been reported. Symptoms can include new or worsening cough, difficulty breathing, or chest tightness during treatment.
Sulfa Allergy and Cross-Reactivity
Sulfamethoxazole is a sulfonamide antibiotic, and allergic reactions to it range from mild rashes to anaphylaxis. If you’ve had a reaction to sulfamethoxazole or another sulfonamide antibiotic in the past, you should avoid the drug. A common concern is whether a “sulfa allergy” means you also need to avoid non-antibiotic drugs that contain a sulfonamide group, like certain diuretics (hydrochlorothiazide, furosemide) or diabetes medications. According to the American Academy of Allergy, Asthma & Immunology, there is no clinically significant immune-mediated cross-reactivity between sulfonamide antibiotics and these non-antibiotic sulfonamides. People allergic to sulfamethoxazole generally tolerate those other medications without problems.

