You can go out in the sun while taking hydrochlorothiazide (HCTZ). But you should always protect yourself from the sun. Cover your skin and use sunscreen.
Rarely, people taking HCTZ have a reaction in the sun. About 1 to 100 people per 100,000 taking HCTZ have this reaction. Sunlight can cause a skin rash, itching, or sunburn. Contact your doctor if you notice any skin changes or rashes after starting HCTZ.
Block the rays for fun in the sun!