RHOT proteins bind mitochondria to contractile muscle fiber proteins and are required for mitochondrial positioning in cardiomyocytes during development. Our study links mitochondrial motility and local ATP production to structural and functional maturation of the heart.