You can take hydrochlorothiazide (HCTZ) with or without food. Eating before or after taking HCTZ will not change how well the medicine works.
For best results, take your medicine at the same time every day.
With or without food, whatever works for you!