The etiology of hair loss remains enigmatic, and current remedies remain inadequate. Transcriptome analysis of aging hair follicles uncovered changes in immune pathways, including Toll-like receptors (TLRs). Our findings demonstrate that the maintenance of hair follicle homeostasis and the regeneration capacity after damage depend on TLR2 in hair follicle stem cells (HFSCs). In healthy hair follicles, TLR2 is expressed in a cycle-dependent manner and governs HFSCs activation by countering inhibitory BMP signaling. Hair follicles in aging and obesity exhibit a decrease in both TLR2 and its endogenous ligand carboxyethylpyrrole (CEP), a metabolite of polyunsaturated fatty acids. Administration of CEP stimulates hair regeneration through a TLR2-dependent mechanism. These results establish a novel connection between TLR2-mediated innate immunity and HFSC activation, which is pivotal to hair follicle health and the prevention of hair loss and provide new avenues for therapeutic intervention.