Doctors Note Logo

Published on: 9/13/2026

Can I go in the sun or drink alcohol while taking Bactrim?

Bactrim (sulfamethoxazole/trimethoprim) can make your skin much more sensitive to sunlight, raising the risk of severe sunburn, rash, and blistering, so limiting midday sun, wearing protective clothing, and using broad-spectrum sunscreen is usually advised. Alcohol is not strictly forbidden with Bactrim, but it can intensify nausea, dizziness, headache, and dehydration, and rare disulfiram-like reactions have been reported, so most clinicians suggest avoiding it until you finish the course. Your individual risk depends on your dose, how long you are taking it, your skin type, and other medications or conditions, so there are several important details to consider before deciding what is safe for you (see below for the complete answer). Because sun sensitivity and alcohol-related side effects can also look like an allergic reaction or a worsening infection, it helps to check whether your symptoms need medical attention rather than guessing. Take a free, instant, online symptom check to better understand what may be causing your symptoms and what steps to take next.

Last reviewed for medical accuracy: 09/12/2026

answer background

Explanation

Can I Go in the Sun or Drink Alcohol While Taking Bactrim?

Bactrim (trimethoprim-sulfamethoxazole) is a widely prescribed antibiotic for conditions like urinary tract infections, bronchitis, and certain skin infections. If you’re taking Bactrim, you might wonder whether it’s safe to spend time outdoors in the sun or enjoy an occasional alcoholic drink. Below, we review what credible medical resources say, explain why these precautions matter, and offer practical tips to help you stay comfortable and safe.


1. Sun Exposure and Bactrim

Why Sun Sensitivity Happens

Bactrim contains a sulfonamide component (sulfamethoxazole) that can make your skin more sensitive to ultraviolet (UV) light. This “photosensitivity” reaction can lead to:

  • Sunburn-like redness
  • Itchy rash or hives
  • Blisters in severe cases

Not everyone taking Bactrim will develop photosensitivity, but the risk is real enough that you should take precautions.

Practical Tips for Safe Sun Exposure

  1. Apply Broad-Spectrum Sunscreen

    • Choose SPF 30 or higher.
    • Reapply every two hours, or after swimming or sweating.
  2. Wear Protective Clothing

    • Long sleeves, wide-brimmed hat, UV-blocking sunglasses.
    • Light, tightly woven fabrics offer better sun defense.
  3. Seek Shade During Peak Hours

    • UV rays are strongest between 10 a.m. and 4 p.m.
    • Plan outdoor activities for early morning or late afternoon.
  4. Monitor Your Skin

    • Check daily for new redness, itching, or rash.
    • Even minor changes warrant extra sun protection.

What to Do if You Develop a Rash

  • Stop sun exposure immediately.
  • Cool compresses can soothe mild redness.
  • Over-the-counter hydrocortisone cream may reduce itching.
  • If blisters, severe pain, swelling, or fever occur, contact your doctor right away.

2. Alcohol and Bactrim

Is It Safe to Drink Alcohol?

There’s no strict “no-alcohol” rule with Bactrim, but drinking can complicate how you feel or how well the antibiotic works:

  • Increased Side Effects
    • Some people experience nausea, vomiting, or dizziness more intensely if they drink alcohol while on Bactrim.
  • Dehydration Risk
    • Alcohol is a diuretic. Combined with antibiotic-related stomach upset, dehydration risk rises.
  • Liver Stress
    • Both alcohol and Bactrim are processed by your liver. Heavy drinking can add strain, especially if you have pre-existing liver issues.

How to Minimize Risks

  • Moderation Is Key
    • One standard drink (5 oz wine, 12 oz beer, or 1.5 oz spirits) occasionally is unlikely to cause serious problems for most healthy adults.
  • Stay Hydrated
    • For every alcoholic drink, have a full glass of water to help prevent dehydration.
  • Space It Out
    • If possible, wait until you finish your full Bactrim course before drinking.
  • Listen to Your Body
    • If you feel dizzy, nauseated, or unusually tired after alcohol, skip the next drink and rest.

3. Additional Precautions When Taking Bactrim

Even beyond sun and alcohol, certain guidelines can help you get the most from your prescription and avoid complications:

  • Follow the Full Course
    • Finish all doses as prescribed—even if you feel better after a few days.
  • Take with Water or Food
    • Helps reduce stomach upset.
  • Check for Interactions
    • Bactrim can interact with blood thinners, some diabetes meds, and certain diuretics. Always tell your doctor about all prescription, over-the-counter or herbal supplements you take.
  • Watch for Allergic Reactions
    • Though rare, serious allergic reactions (rash spreading rapidly, swelling of face or throat, breathing difficulties) require immediate medical attention.
  • Monitor Blood Counts
    • Prolonged Bactrim use can affect blood cell production. If you’re on high doses or extended therapy, your doctor may order periodic blood tests.

4. When to Seek Medical Advice

Even with these safety tips, you should stay vigilant and talk to a healthcare professional if you experience:

  • High fever, chills, or flu-like symptoms
  • Worsening rash or new blistering
  • Severe stomach pain, persistent vomiting, or diarrhea
  • Unexplained bruising or bleeding
  • Yellowing of the skin or eyes (jaundice)
  • Dark urine or very pale stools

If you’re unsure whether your symptoms are serious, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It can help guide your next steps before you contact your healthcare provider.


5. Key Takeaways

  • Bactrim can increase your sensitivity to sunlight. Protect your skin with sunscreen, clothing, and shade.
  • Moderate alcohol intake is not strictly contraindicated, but be mindful of side effects, dehydration, and liver stress.
  • Always complete your prescribed course, stay hydrated, and inform your doctor about all medications you take.
  • Watch for signs of serious reactions—rash, fever, jaundice, or blood issues—and seek prompt care.
  • Use tools like the Ubie Symptom Checker to assess mild to moderate symptoms online, then speak to your doctor for anything concerning.

Remember: This information is intended to help you use Bactrim safely, but it doesn’t replace personalized medical advice. Always speak to a doctor if you have life-threatening symptoms or serious concerns about your treatment.

(References)

  • * Mergenhagen KA, Wattengel BA, Skelly MK, Clark CM, Russo TA. Fact versus Fiction: a Review of the Evidence behind Alcohol and Antibiotic Interactions. Antimicrob Agents Chemother. 2020 Feb 21;64(3). doi: 10.1128/AAC.02167-19. Epub 2020 Feb 21. PMID: 31871085; PMCID: PMC7038249.

  • * Smith JG Jr. Vasculitis. J Dermatol. 1995 Nov;22(11):812-22. doi: 10.1111/j.1346-8138.1995.tb03929.x. PMID: 8557852.

  • * Burgess IF. Head lice. BMJ Clin Evid. 2011 May 16;2011. Epub 2011 May 16. PMID: 21575285; PMCID: PMC3275145.

  • * Heelon MW, White M. Disulfiram-cotrimoxazole reaction. Pharmacotherapy. 1998 Jul-Aug;18(4):869-70. PMID: 9692665.

  • * Vin-Christian K, Epstein JH, Maurer TA, McCalmont TH, Berger TG. Photosensitivity in HIV-infected individuals. J Dermatol. 2000 Jun;27(6):361-9. doi: 10.1111/j.1346-8138.2000.tb02185.x. PMID: 10920581.

  • * Al-Ahmadi A, Pinchuk A, Stein KP, Neyazi B, Zautner AE, Kaasch AJ, Sandalcioglu IE, Rashidi A. Streptococcus intermedius cerebellar abscess as first presentation of sarcoidosis: a case report. J Med Case Rep. 2026 May 25;20(1). doi: 10.1186/s13256-026-06095-8. Epub 2026 May 25. PMID: 42178576; PMCID: PMC13200418.

  • * Murillo-Sierra JC, Sirés I, Brillas E, Ruiz-Ruiz EJ, Hernández-Ramírez A. Advanced oxidation of real sulfamethoxazole + trimethoprim formulations using different anodes and electrolytes. Chemosphere. 2018 Feb;192:225-233. doi: 10.1016/j.chemosphere.2017.10.136. Epub 2017 Oct 27. PMID: 29102867.

  • * Sridharan S, Princess IB, Ramakrishnan N. Melioidosis in Critical Care: A Review. Indian J Crit Care Med. 2021 May;25(Suppl 2):S161-S165. doi: 10.5005/jp-journals-10071-23837. PMID: 34345132; PMCID: PMC8327795.

  • * Merk HF, Bickers DR. Hypersensitivity to non-β-lactam antibiotics. Allergol Select. 2022;6:11-17. doi: 10.5414/ALX02311E. Epub 2022 Jan 24. PMID: 35098017; PMCID: PMC8795985.

  • * Akbıyık A, Kaya S, Aksun M. Determination of microbial contamination on the outer surface of needleless connectors before and after disinfection. Intensive Crit Care Nurs. 2023 Aug;77:103414. doi: 10.1016/j.iccn.2023.103414. Epub 2023 Feb 18. PMID: 36801154.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.