Hydrochlorothiazide (HCTZ) is a medicine made by scientists in a lab. They started with sulfonamide, a type of man-made antibiotic. They were looking for a safe water pill (diuretic) to treat high blood pressure and water retention. By experimenting with sulfonamide, scientists were able to develop HCTZ.