Spironolactone is a prescription medication classified as a potassium-sparing diuretic (water pill) and aldosterone antagonist. It works by blocking the hormone aldosterone, which helps regulate salt and water balance in the body. By reducing the effects of aldosterone, spironolactone helps the body eliminate excess fluid and sodium while retaining potassium.