Five Mendelian randomization methods indicated that both AGPAT4 and COMT could serve as risk genes for endometriosis. Here, AGPAT4 is linked to endometriosis.