Epidermal growth factor receptor (EGFR)–targeted anticancer therapy induces stigmatizing skin toxicities affecting patients’ quality of life and therapy adherence. The lack of mechanistic details underlying these adverse events hampers their management. We found that EGFR/ERK signaling is required in LRIG1-positive stem cells during de novo hair eruption to secure barrier integrity and prevent the invasion of commensal microbiota and inflammatory skin disease. EGFR-deficient epidermis is permissive for microbiota outgrowth and displays an atopic-like T<jats:sub>H</jats:sub>2-dominated signature. The opening of the follicular ostia during hair eruption allows invasion of commensal microbiota into the hair follicle, initiating an additional T<jats:sub>H</jats:sub>1 and T<jats:sub>H</jats:sub>17 response culminating in chronic folliculitis. Restoration of epidermal ERK signaling via prophylactic FGF7 treatment or transgenic SOS expression rescues the barrier defect in the absence of EGFR, highlighting a therapeutic anchor point. These data reveal that commensal skin microbiota provoke atopic-like inflammatory skin diseases by invading into the follicular opening of erupting hair.