MMP‐9 polymorphisms were independently associated with severe stroke and higher risk of END, and prestroke antithrombotic treatment was associated with less severe stroke and lower risk of END in patients with AF. Here, MMP9 is linked to stroke disorder.