Cardiomyocytes contract against a mechanical load during each heartbeat, and excessive mechanical stress leads to heart diseases. Using a cell-in-gel system that imposes an afterload during cardiomyocyte contraction, we found that nitric oxide synthase (NOS) was involved in transducing mechanical load to alter Ca(2+) dynamics. In mouse ventricular myocytes, afterload increased the systolic Ca(2+) transient, which enhanced contractility to counter mechanical load but also caused spontaneous Ca(2+) sparks during diastole that could be arrhythmogenic. The increases in the Ca(2+) transient and sparks were attributable to increased ryanodine receptor (RyR) sensitivity because the amount of Ca2(+) in the sarcoplasmic reticulum load was unchanged. Either pharmacological inhibition or genetic deletion of nNOS (or NOS1), but not of eNOS (or NOS3), prevented afterload-induced Ca2(+) sparks. This differential effect may arise from localized NO signaling, arising from the proximity of nNOS to RyR, as determined by super-resolution imaging. Ca(2+)-calmodulin-dependent protein kinase II (CaMKII) and nicotinamide adenine dinucleotide phosphate oxidase 2 (NOX2) also contributed to afterload-induced Ca(2+) sparks. Cardiomyocytes from a mouse model of familial hypertrophic cardiomyopathy exhibited enhanced mechanotransduction and frequent arrhythmogenic Ca(2+) sparks. Inhibiting nNOS and CaMKII, but not NOX2, in cardiomyocytes from this model eliminated the Ca2(+) sparks, suggesting mechanotransduction activated nNOS and CaMKII independently from NOX2. Thus, our data identify nNOS, CaMKII, and NOX2 as key mediators in mechanochemotransduction during cardiac contraction, which provides new therapeutic targets for treating mechanical stress-induced Ca(2+) dysregulation, arrhythmias, and cardiomyopathy.