The risk for late-onset epilepsy was lower in patients with higher physical activity levels and moderate alcohol intake.