These findings provide new insights into the mechanism of dynorphin in protecting against epilepsy. Here, PDYN is linked to epilepsy.