Male pattern hair loss is a common condition thought to be caused by a combination of genetic factors and a particular hormone, called dihydrotestosterone (DHT). DHT contributes to shortening of the growth phase of the hair and to thinning of the hair.
In the scalp, finasteride specifically lowers the levels of DHT by blocking an enzyme (type 2 5-alpha reductase) that converts testosterone to DHT.