The beating heart possesses the intrinsic ability to adapt cardiac output to changes in mechanical load. The century-old Frank-Starling law and Anrep effect have documented that stretching the heart during diastolic filling increases its contractile force. However, the molecular mechanotransduction mechanism and its impact on cardiac health and disease remain elusive. Here we show that the mechanically activated Piezo1 channel converts mechanical stretch of cardiomyocytes into Ca2+ and reactive oxygen species (ROS) signaling, which critically determines the mechanical activity of the heart. Either cardiac-specific knockout or overexpression of Piezo1 in mice results in defective Ca2+ and ROS signaling and the development of cardiomyopathy, demonstrating a homeostatic role of Piezo1. Piezo1 is pathologically upregulated in both mouse and human diseased hearts via an autonomic response of cardiomyocytes. Thus, Piezo1 serves as a key cardiac mechanotransducer for initiating mechano-chemo transduction and consequently maintaining normal heart function, and might represent a novel therapeutic target for treating human heart diseases.