Peripheral hypersensitivity is a significant side effect with the chronic administration of opioids as well as chemotherapeutics. Both opioid-induced hypersensitivity (OIH) and chemotherapy induced hypersensitivity (CIH) are characterized by an increased sensitivity to painful stimuli which can significantly reduce the quality of life for individuals on either drug(s). Here we demonstrate the peripheral hypersensitivity associated with chronic morphine (opioid) and paclitaxel (chemotherapeutic) treatment can be reversed by oral supplementation with the short-chain fatty acid (SCFA) sodium butyrate. In two separate mouse behavioral models for peripheral hypersensitivity, we found that thermal hyperalgesia (for OIH) and cold allodynia (for CIH) were prevented by co-treatment with oral butyrate. Electrophysiological recordings of small diameter dorsal root ganglia (DRG) neurons from morphine and paclitaxel treated mice showed an increase in neuronal hyperexcitability in both drug models which was likewise prevented by oral butyrate treatment. Using colonic conditioned media obtained from excised colon segments we found that gut mediators of morphine treated mice can induce hyperexcitability in naïve DRG neurons, but such enhanced excitability is not present when animals are co-treated with butyrate suggesting gut derived mediators modulate neuronal hyperexcitability. In-vitro butyrate treatment did not prevent morphine induced excitability, suggesting an indirect role of sodium butyrate in modulating neuronal hypersensitivity. These data taken together suggest that gut derived mediators affect opioid and chemotherapeutic induced neuronal hypersensitivity that is prevented by the SCFA butyrate.