In particular, ETFDH was identified as a target gene in both the discovery set (inverse variance weighting [IVW], odds ratio [OR] = 1.018, 95% confidence interval [CI], 1.004–1.033, p = 0.009) and replication set (IVW, OR = 1.074, 95% CI, 1.034–1.114, p = 0.00016), and CYP21A2 was identified in the discovery set (IVW, OR = 1.029, 95% CI, 1.005–1.053, p = 0.016) and replication set (IVW, OR = 1.057, 95% CI, 1.001–1.116, p = 0.045) as having a causal association with an increased risk of epilepsy. Here, CYP21A2 is linked to epilepsy.