The results of <i>in vitro</i> experiments were consistent with those of the bioinformatics analysis.<h4>Conclusion</h4>This study identified three biomarkers (<i>HDAC9</i>, <i>CDC6</i>, and <i>YAF2</i>) and the potential therapeutic drugs for EM. The gene discussed is HDAC9; the disease is erythema multiforme.