The causal genetic underpinnings of congenital heart diseases, which are often complex and multigenic, are still far from understood. Moreover, there are also predominantly monogenic heart defects, such as cardiomyopathies, with known disease genes for the majority of cases. In this study, we identified mutations in myomesin 2 (MYOM2) in patients with Tetralogy of Fallot (TOF), the most common cyanotic heart malformation, as well as in patients with hypertrophic cardiomyopathy (HCM), who do not exhibit any mutations in the known disease genes. MYOM2 is a major component of the myofibrillar Moand of the sarcomere, and a hub gene within interactions of sarcomere genes. We show that patient-derived cardiomyocytes exhibit myofibrillar disarray and reduced passive force with increasing sarcomere lengths. Moreover, our comprehensive functional analyses in the Drosophila animal model reveal that the so far uncharacterized fly gene CG14964 [herein referred to as Drosophila myomesin and myosin binding protein (dMnM)] may be an ortholog of MYOM2, as well as other myosin binding proteins . Its partial loss of function or moderate cardiac knockdown results in cardiac dilation, whereas more severely reduced function causes a constricted phenotype and an increase in sarcomere myosin protein. Moreover, compound heterozygous combinations of CG14964 and the sarcomere gene Mhc (MYH6/7) exhibited synergistic genetic interactions. In summary, our results suggest that MYOM2 not only plays a critical role in maintaining robust heart function but may also be a candidate gene for heart diseases such as HCM and TOF, as it is clearly involved in the development of the heart.