In EM animal models, genistein downregulated MMP‐2/‐9 and regulated cell invasion and migration by targeting NF‐κB.311. Here, MMP2 is linked to erythema multiforme.