Minoxidil solution and foam are used to treat male pattern baldness in an effort to promote hair growth. It is not used to cure male frontal baldness or receding hairlines. How Does Minoxidil Work For Men? Minoxidil, which is available in liquid and foam form, can be used to treat male pattern baldness and hair loss. Increased or excessive minoxidil dosage can have negative side effects in addition to not producing better or faster results.