Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
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
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.
Bactrim contains a sulfonamide component (sulfamethoxazole) that can make your skin more sensitive to ultraviolet (UV) light. This “photosensitivity” reaction can lead to:
Not everyone taking Bactrim will develop photosensitivity, but the risk is real enough that you should take precautions.
Apply Broad-Spectrum Sunscreen
Wear Protective Clothing
Seek Shade During Peak Hours
Monitor Your Skin
There’s no strict “no-alcohol” rule with Bactrim, but drinking can complicate how you feel or how well the antibiotic works:
Even beyond sun and alcohol, certain guidelines can help you get the most from your prescription and avoid complications:
Even with these safety tips, you should stay vigilant and talk to a healthcare professional if you experience:
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.
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.
We would love to help them too.
For First Time Users
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.