EpCAM is well known as a carcinoma associated cell surface protein that is widely used as an epithelial cancer biomarker. Despite its clear link to cancer development, whether it plays an actual role in cancer metastasis remains unclear. It is known, however, to downregulate myosin contractility, a key parameter involved in cell adhesion and migration. We have examined here the potential morphogenetic impact of the high EpCAM expression that characterizes epithelial breast cancer cells, using spheroids of MCF7 cells as model of pre-metastatic cells. We found that EpCAM acted as a repressor of collective migration, while it stimulated single cell migration. Using a combination of cell biological and biophysical approaches, we show that EpCAM depletion globally increased cell contractility, in such a way that the resulting balance of tensions was favorable to cell adhesiveness, resulting in increased tissue cohesion and switch toward collective migration. Most epithelial cells, including MCF7 cells, also express Trop2, a close relative of EpCAM. Intriguingly, we found that Trop2 depletion led to the exact opposite global phenotype from EpCAM depletion, stimulating single cell migration, while decreasing tissue cohesiveness and collective migration. Comparison with EpCAM showed that while both proteins contributed to moderate cell contractility, they differentially modulate the balance of cortical myosin contractility between free edges and adhesive contacts. These differences appeared to rely on subtle differences in the distribution of these two surface proteins. These results highlight the crucial importance of a fine balance of myosin contractility downstream of EpCAM and Trop2, which act as a mechanostat in controlling tissue cohesiveness and in stimulating distinct modes of migration.