Throughout its lifetime the heart is buffeted continuously by dynamic mechanical forces resulting from contraction of the heart muscle itself and fluctuations in haemodynamic load and pressure. These forces are in flux on a beat-by-beat basis, resulting from changes in posture, physical activity or emotional state, and over longer timescales due to altered physiology (e.g. pregnancy) or as a consequence of ageing or disease (e.g. hypertension). It has been known for over a century of the heart′s ability to sense differences in haemodynamic load and adjust contractile force accordingly. These adaptive behaviours are important for cardiovascular homeostasis, but the mechanism(s) underpinning them are incompletely understood. Here we present evidence that the mechanically-activated ion channel, Piezo, is an important component of the Drosophila heart′s ability to adapt to mechanical force. We find Piezo is a sarcoplasmic reticulum (SR)-resident channel and is part of a mechanism that regulates Ca2+ handling in cardiomyocytes in response to mechanical stress. Our data support a simple model in which Drosophila Piezo transduces mechanical force such as stretch into a Ca2+ signal, originating from the SR, that modulates cardiomyocyte contraction. We show that Piezo mutant hearts fail to buffer mechanical stress, have altered Ca2+ handling, become prone to arrhythmias and undergo pathological remodelling.