Neuropathic pain is a pathological pain state with a broad symptom scope that affects patients after nerve injuries, but it can also arise after infections or exposure to toxic substances. Current treatment possibilities are still limited because of the low efficacy and severe adverse effects of available therapeutics, highlighting an emerging need for novel analgesics and for a detailed understanding of the pathophysiological alterations in the onset and maintenance of neuropathic pain. Here, we show that the novel and highly specific FKBP51 inhibitor SAFit2 restores lipid signaling and metabolism in nervous tissue after nerve injury. More specifically, we identify that SAFit2 restores the levels of the C16 dihydroceramide, which significantly reduces the sensitization of the pain-mediating TRPV1 channel and subsequently the secretion of the pro-inflammatory neuropeptide CGRP in primary sensory neurons. Furthermore, we show that the C16 dihydroceramide is capable of reducing acute thermal hypersensitivity in a capsaicin mouse model. In conclusion, we report for the first time the C16 dihydroceramide as a novel and crucial lipid mediator in the context of neuropathic pain as it has analgesic properties, contributing to the pain-relieving properties of SAFit2.