Germline mutations in PTPN11, encoding Shp2, cause Noonan syndrome (NS) and LEOPARD syndrome (LS), two developmental disorders that are characterized by multiple overlapping symptoms. Interestingly, Shp2 catalytic activity is enhanced by NS mutations and reduced by LS mutations. Defective cardiac development is a prominent symptom of both NS and LS, but how the Shp2 variants affect cardiac development is unclear. Here, we have expressed the most common NS and LS Shp2-variants in zebrafish embryos to investigate their role in cardiac development in vivo. Heart function was impaired in embryos expressing NS and LS variants of Shp2. The cardiac anomalies first occurred during elongation of the heart tube and consisted of reduced cardiomyocyte migration, coupled with impaired leftward heart displacement. Expression of specific laterality markers was randomized in embryos expressing NS and LS variants of Shp2. Ciliogenesis and cilia function in Kupffer's vesicle was impaired, likely accounting for the left/right asymmetry defects. Mitogen-activated protein kinase (MAPK) signaling was activated to a similar extent in embryos expressing NS and LS Shp2 variants. Interestingly, inhibition of MAPK signaling prior to gastrulation rescued cilia length and heart laterality defects. These results suggest that NS and LS Shp2 variant-mediated hyperactivation of MAPK signaling leads to impaired cilia function in Kupffer's vesicle, causing left-right asymmetry defects and defective early cardiac development.