Due to the pivotal role of endoplasmic reticulum (ER) stress in cancers, interfering with its function can cause the accumulation of unfolded proteins, which ultimately leads to the activation of the unfolded protein response (UPR) signaling pathway and apoptosis. Therefore, the use of plant compounds such as tannic acid with UPR-inducing properties can be proposed as a possible treatment method for cancer. In this study, we investigated the effect of tannic acid on cell migration, colony formation, growth, and UPR-induced apoptosis in the SW48 colorectal cancer cell line. The MTT assay was performed to investigate the cytotoxic effect of tannic acid. We performed the qPCR method to elucidate the effect of tannic acid on the expression of Bim, MMP-9, Bcl-xL, cyclin D1, CHOP, and ATF4 genes. We also used the colony formation and migration experiments to investigate the effect of this compound on the colony formation and migration ability of tumor cells. Finally, we used Hoechst staining to measure cell apoptosis. Tannic acid inhibited the cell survival, clonogenic, and migration of colon cancer cells. This compound increased the expression of ER stress-mediated UPR genes, ATF4 and CHOP. Moreover; tannic acid increased the expression of pro-apoptotic proteins like Bim, while at the same time causing a sharp decline in the expression of anti-apoptotic protein Bcl-xL. A decline in MMP-9 expression confirmed the anti-metastatic role of this compound. Taken together, tannic acid can induce apoptosis via ER stress-mediated UPR pathway, and has a suppressive effect on cell viability, growth, migration, colony formation, and metastasis, suggesting it may be a potential drug in colorectal cancer treatment.