Patent foramen ovale (PFO) is the most common cause of right-to-left shunt (RLS) in the adult heart, with a prevalence of approximately 25% in the general population. Extensive research has demonstrated an association between PFO and neurological conditions such as cryptogenic stroke, migraine, and sleep apnea syndrome, and it is even considered a potential root cause of these disorders. However, the mechanisms by which PFO contributes to neurological diseases remain unclear. In our preliminary clinical work, we have observed a strong correlation between PFO and epilepsy, and PFO closure has shown some efficacy in reducing seizure frequency. The aim of this study is to further investigate the efficacy and safety of PFO closure in patients with drug-resistant epilepsy.