The precise mechanisms by which loss of MeCP2 function in RTT and CDKL5 in CDD result in epilepsy remain unclear. Here, CDKL5 is linked to epilepsy.