Minoxidil is a medication primarily used for the treatment of high blood pressure and as a topical agent for the treatment of hair loss. It is available as an oral medication and a topical solution. As a vasodilator, minoxidil works by relaxing blood vessels, allowing blood to flow more easily.