These results demonstrate that early increases in spinal IL-1β temporally inhibit astrocyte P450c17 expression and astrocyte activation ultimately controlling the development of mechanical allodynia induced by peripheral nerve injury. Here, CYP17A1 is linked to peripheral nerve injury.