These findings support a role for the NRSF–BDNF pathway in the modulation of cognitive function in patients with newly diagnosed epilepsy. Here, BDNF is linked to epilepsy.