Friedreich's ataxia (FRDA), the most common hereditary ataxia, is characterized by progressive degeneration of the central and peripheral nervous system, hypertrophic cardiomyopathy and a high risk of diabetes. FRDA is caused by abnormally low levels of frataxin, a highly conserved mitochondrial protein. Drosophila has been previously successfully used to model FRDA in various cell types, including neurons and glial cells. Here, we report the development of a Drosophila cardiac model of FRDA. In vivo heart imaging revealed profound impairments in heart function in frataxin-depleted Drosophila, including a strong increase in end-systolic and end-diastolic diameters and a decrease in fractional shortening (FS). These features, reminiscent of pathological phenotypes in humans, are fully rescued by complementation with human frataxin, suggesting conserved cardiac functions of frataxin between the two organisms. Oxidative stress is not a major factor of heart impairment in frataxin-depleted flies, suggesting the involvement of other pathological mechanisms notably mitochondrial respiratory chain (MRC) dysfunction. Accordingly, we report that methylene blue (MB), a compound known to act as an alternative electron carrier that bypasses mitochondrial complexes I-III, was able to prevent heart dysfunction. MB also partially rescued the phenotype when administered post-symptomatically. Analysis of MB derivatives demonstrates that only compounds with electron carrier properties are able to prevent the heart phenotype. Thus MB, a compound already used for several clinical applications, appears promising for the treatment of the heart dysfunctions that are a major cause of death of FRDA patients. This work provides the grounds for further evaluation of MB action in mammals.