The transforming growth factor-β (TGF-β) signaling pathway is often misregulated during cancer progression. In early stages of tumorigenesis, TGF-β acts as a tumor suppressor by inhibiting proliferation and inducing apoptosis. However, as the disease progresses, TGF-β switches to promote tumorigenic cell functions, such as epithelial-mesenchymal transition (EMT) and increased cell motility. Dramatic changes in the cellular microenvironment are also correlated with tumor progression, including an increase in tissue stiffness. However, it is unknown whether these changes in tissue stiffness can regulate the effects of TGF-β. To this end, we examined normal murine mammary gland cells and Madin-Darby canine kidney epithelial cells cultured on polyacrylamide gels with varying rigidity and treated with TGF-β1. Varying matrix rigidity switched the functional response to TGF-β1. Decreasing rigidity increased TGF-β1-induced apoptosis, whereas increasing rigidity resulted in EMT. Matrix rigidity did not change Smad signaling, but instead regulated the PI3K/Akt signaling pathway. Direct genetic and pharmacologic manipulations further demonstrated a role for PI3K/Akt signaling in the apoptotic and EMT responses. These findings demonstrate that matrix rigidity regulates a previously undescribed switch in TGF-β-induced cell functions and provide insight into how changes in tissue mechanics during disease might contribute to the cellular response to TGF-β.