Enhancer of zeste homologue 2 (EZH2), a catalytic subunit of polycomb repressive complex 2, is overexpressed in a number of different tumors including breast cancer, and serves important roles in cell cycle regulation, proliferation, apoptosis, tumorigenesis and drug resistance. However, it remains unclear whether EZH2 contributes to tamoxifen resistance in breast cancer. In the present study, the role of EZH2 in tamoxifen resistance in MCF‑7 cells was investigated. EZH2 was overexpressed in MCF‑7 tamoxifen‑resistant (MCF‑7 TamR) cells. EZH2 overexpression decreased the sensitivity of MCF‑7 cells to tamoxifen, and EZH2 knockdown improved the sensitivity of MCF‑7 TamR cells to tamoxifen. Furthermore, EZH2 knockdown induced cell cycle arrest in MCF‑7 TamR cells, accompanied by a decrease in cyclin D1 expression and an increase in p16 expression. EZH2 knockdown reduced p16 gene methylation in MCF‑7 TamR cells. These findings suggested that EZH2 overexpression may contribute to tamoxifen resistance in breast cancer, and EZH2 inhibition may reverse tamoxifen resistance in breast cancer by regulating the cell cycle via the demethylation of the p16 gene. Thus, EZH2 inhibitors may be effective for treating tamoxifen resistance in breast cancer.