5-Azacytidine is a well-known anticancer drug that is clinically used in the treatment of breast cancer, melanoma and colon cancer. It has been reported that 5-azacytidine suppresses the biological behavior of esophageal cancer cells. However, corresponding mechanisms remain unclear. In this study, using Transwell invasion and cell proliferation assays, we demonstrated that 5-azacytidine significantly inhibited the metastasis and proliferation of EC9706 cells, and upregulated the expression of cadherin 1 (CDH1) and SRY-box containing gene 17 (SOX17). Moreover, the inhibition of the metastasis of the 5-azacytidine-treated EC9706 cells was impaired following transfection with siRNA targeting CDH1 (CDH1 siRNA), and the inhibition of cell proliferation was attenuated following the downregulation of SOX17 by siRNA targeting SOX17 (SOX17 siRNA). Furthermore, 5-azacytidine remarkably reduced the CDH1 and SOX17 promoter methylation levels, suggesting that 5-azacytidine upregulates the expression of SOX17 and CDH1 by inhibiting the methylation of the SOX17 and CDH1 promoter. The findings of our study confirm that 5-azacytidine suppresses the proliferation and metastasis of EC9706 esophageal cancer cells by upregulating the expression of CDH1 and SOX17. The expression levels of CDH1 and SOX17 negatively correlate with the promoter methylation levels. CDH1 and SOX17 are potential indicators of the clinical application of 5-azacytidine.