These results suggest that EZH2 inhibits TIMP2 expression via H3K27me3 and DNA methylation, which relieve the repression of MMP and facilitate ovarian cancer invasion and migration. This evidence concerns the gene EZH2 and ovarian cancer.