About 2-3 % of people have had an allergic reaction to a “sulfa” antibiotic, most typically sulfamethoxazole/trimethoprim, also known as Bactrim or Septra. Pharmacists and physicians used to recommend staying away from all sulfa-containing medications if you’d had allergic reactions to Bactrim (TMP/SMX) –but not anymore. Let’s sort out myth from facts for folks with a “sulfa allergy.”
A “sulfa allergy” is a term applied for adverse reactions and symptoms caused by the antibiotic sulfonamide, TMP/SMX, most often prescribed for urinary tract infections. While there are other sulfonamide antibiotics, they aren’t typically prescribed in the U.S.
How do I know if I have a sulfa allergy?
If you were prescribed Bactrim (trimethoprim/sulfamethoxazole) for an infection and had an allergic reaction including fever or rash 7 to 14 days after starting the antibiotic, you have a sulfa allergy.
What is a “sulfa drug?”

The term sulfa drug has contributed to some of the ongoing confusion about whether a reaction to the antibiotic TMP/SMX means will react to all sulfa drugs. It turns out the answer is no; you don’t need to avoid all sulfa drugs.
What about sulfa drugs that aren’t the antibiotic TMP/SMX?

There are subtle differences in non-antibiotic sulfonamides such that they do NOT cause an immune-mediated reaction. Sulfonamides that are not antibiotics do not show evidence of cross-reactivity— meaning they should not cause an allergic reaction in people with an allergy to TMP/SMX.
If I have a reaction from Bactrim, can I take……
1.. Acetazolamide. Prescribed for the prevention of altitude sickness, yes, you can. With any new medication, watch for rash or severe side effects.
2. Celecoxib (Celebrex). An anti-inflammatory commonly used for musculoskeletal pain, yes, you can take that.
3. The diuretics Bumetanide (Bumex) and Furosemide (Lasix). Doctors prescribe them for lower extremity swelling and heart failure. Yep, you can take these.
4. Diabetes medications Glimepiride, Glipizide and Glyburide. Yep.
5. Thiazide diuretics Chlorthalidone and HCTZ treat high blood pressure and are OK to take even if you have an allergy to Bactrim.
6. Migraine medications, the “triptans” Eletriptan, Frovatriptan, Sumatriptan, etc., are safe in those with reported sulfa allergy.
7. Antibiotic Eyedrops: Gentamicin sulfate, Polytrim (Polymyxin B sulfate/trimethoprim), Atropine sulfate, Neomycin (Maxitrol), and other sulfur-based eye drops are safe to use in those with self-reported sulfa allergy. There is one eye drop you should NOT use and that is Blephamide eye drops.
To sum it up: the evidence from clinical trials suggests that folks who have had an allergic reaction to the generic antibiotic TMP/SMX do not need to avoid all sulfa-type drugs, including those listed above.
Hope this helps
Dr. O.
I am a Clinical Associate Professor of Medicine at the Keck School of Medicine of USC and a board-certified Internal Medicine physician. For 20 years I’ve had an active private practice in general internal medicine currently at The Doctors of USC Beverly Hills. I am lucky to spend part of my time as the attending physician for medical students and residents during their rotations at LAC+USC Medical Center. I’ve been a medical advisor on leading health social networking sites including Dailystrength.org and Sharecare and currently serve as the medical advisor and blogger for GoodRx.com, a prescription drug price comparison website, and GoodRx care powered by Hey Doctor.
My philosophy of care centers around seeing things we can see coming, and nailing them head-on. I appreciate the idea of sharing power and responsibility for the choices one makes for prevention, treatment, and investigation into medical problems. My hope is to write blog posts to empower patients to navigate their own health by laying out the ways that medicine can guide you with strategies to investigate, prevent, and treat some common medical issues, big and small.
I have appeared on The Doctors, Fox Sports West, The Ricki Lake Show, as well as many local news outlets and have been featured in numerous online and print publications. I am a fellow of the American College of Physicians and honored to be named “Top Doctor” in Los Angeles and Pasadena Magazine for years.