Minoxidil works by dilating the blood vessels around hair follicles, increasing blood flow to the scalp. This enhanced blood circulation provides hair follicles with more oxygen and nutrients, stimulating hair growth in areas affected by baldness or thinning.