Increasing evidence suggests that nerve fibers responding to noxious stimuli (nociceptors) modulate immunity in a variety of tissues including the skin. Yet, a role for nociceptors in regulating sterile cutaneous inflammation remains unexplored. To tackle this question, we have developed a detailed description of the sterile inflammation caused by overexposure to UVB irradiation (i.e. sunburn) in the mouse plantar skin. Using this model, we observed that chemical depletion of nociceptor terminals did not alter the early phase of the inflammatory response to UVB, but it caused a significant increase in the number of dendritic cells and αβ T cells as well as enhanced extravasation during the later stages of inflammation. Finally, we showed that such regulation was driven by the nociceptive neuropeptide Calcitonin Gene Related Peptide. In conclusion, we propose that nociceptors do not only play a crucial role in inflammation through avoidance reflexes and behaviors but can also regulate sterile cutaneous immunity in vivo.