Metolazone is a medication used to treat high blood pressure (hypertension) and fluid retention (edema) associated with conditions such as congestive heart failure, kidney disorders, or liver disease. It belongs to a class of drugs called thiazide-like diuretics or water pills.