Minoxidil is a widely recognized topical medication used primarily to treat hereditary hair loss (androgenetic alopecia) in both men and women. It is a vasodilator, meaning it widens blood vessels, which improves blood flow and delivers more oxygen and nutrients to hair follicles.