We identified and validated PMP22, QSOX1, REV3L, SP110 as potential co-diagnostic genes associated with endometriosis and SLE and revealed the common pathogenic mechanisms, analyzed immune infiltration, constructed multifactorial interaction networks, as well as screened potential targeted therapeutic drugs. The gene discussed is QSOX1; the disease is endometriosis.