CHD2 variants are a risk factor for photosensitivity in epilepsy. Here, CHD2 is linked to epilepsy.