This study confirms that the presence, severity, and duration of dysmenorrhea are significantly associated with endometriosis severity, specifically manifested by dysmenorrhea patients exhibiting more active biological characteristics (elevated CA125 levels and a higher incidence of DIE) and more advanced rASRM staging. This evidence concerns the gene MUC16 and endometriosis.