© 2021, The Author(s). Ketogenic diets are very low carbohydrate, high fat, moderate protein diets used to treat medication-resistant epilepsy. Growing evidence suggests that one of the ketogenic diet’s main mechanisms of action is reducing inflammation. Here, we examined the diet’s effects on experimental inflammatory pain in rodent models. Young adult rats and mice were placed on the ketogenic diet or maintained on control diet. After 3–4 weeks on their respective diets, complete Freund’s adjuvant (CFA) was injected in one hindpaw to induce inflammation; the contralateral paw was used as the control. Tactile sensitivity (von Frey) and indicators of spontaneous pain were quantified before and after CFA injection. Ketogenic diet treatment significantly reduced tactile allodynia in both rats and mice, though with a species-specific time course. There was a strong trend to reduced spontaneous pain in rats but not mice. These data suggest that ketogenic diets or other ketogenic treatments might be useful treatments for conditions involving inflammatory pain.