Microbiota-induced IL-17 production mediates CNS processes and animal behavior. However, its role on the peripheral nervous system (PNS) remains largely unknown. Enamorado et al. demonstrate that commensal-specific Th17 cells are recalled following tissue injury to support local nerve regeneration, a process orchestrated by IL-17 signaling on peripheral neurons.