According to research, the caffeine in coffee can help stimulate hair growth and stop hair loss. Some studies found that caffeine helped block the effects of DHT in male hair follicles. It stimulated hair shaft elongation, resulting in longer, wider hair roots.