incident cases.•T. gondii infection was significantly associated with epilepsy (OR, 2.58; 95% CI, 1.16–5.72).•Two-fold higher T. gondii seropositivity was found in patients with focal and generalized seizures versus controls.