Here the authors show that the epigenetic factor CDYL regulates the gene expression of the voltage gated sodium channel, Nav1.6, which contributes to seizures in a rat model of epilepsy. Here, SCN8A is linked to epilepsy.