Current approaches to cancer treatment focus on targeting signal transduction pathways. Here, we develop an alternative system for targeting cell mechanics for the discovery of novel therapeutics. We designed a live-cell, high-throughput chemical screen to identify mechanical modulators. We characterized 4-hydroxyacetophenone (4-HAP), which enhances the cortical localization of the mechanoenzyme myosin II, independent of myosin heavy-chain phosphorylation, thus increasing cellular cortical tension. To shift cell mechanics, 4-HAP requires myosin II, including its full power stroke, specifically activating human myosin IIB (MYH10) and human myosin IIC (MYH14), but not human myosin IIA (MYH9). We further demonstrated that invasive pancreatic cancer cells are more deformable than normal pancreatic ductal epithelial cells, a mechanical profile that was partially corrected with 4-HAP, which also decreased the invasion and migration of these cancer cells. Overall, 4-HAP modifies nonmuscle myosin II-based cell mechanics across phylogeny and disease states and provides proof of concept that cell mechanics offer a rich drug target space, allowing for possible corrective modulation of tumor cell behavior.