Minoxidil (2,4-diamino-6-piperidinopyrimidine 3-oxide), sold under the brand name Rogaine among others, is a medication used for the treatment of high blood pressure and pattern hair loss. It is an antihypertensive vasodilator. It is available as a generic medication by prescription in oral tablet form and over the counter as a topical liquid or foam. Minoxidil, when used for hypertension, is generally reserved for use in severe hypertension patients who cannot respond to at least two agents and a diuretic. Minoxidil is also generally administered with a loop diuretic to prevent the sodium and potassium retention. It may also cause a reflex tachycardia and thus is prescribed with a beta-blocker.