Finasteride, sold under the brand names Proscar and Propecia among others, is a medication used to treat pattern hair loss and benign prostatic hyperplasia in men.