Avoiding sun exposure with Bactrim: What you need to know Medical News Today, 01 Jul 2024 Sun exposure while taking the antibiotic Bactrim may cause skin symptoms known as photosensitivity.