Cells display distinct metabolic characteristics depending on its differentiation stage. The fuel type of the cells serves not only as a source of energy but also as a driver of differentiation. Glucose, the primary nutrient to the cells, is a critical regulator of rapidly growing embryos. This metabolic change is a consequence as well as a cause of changes in genetic program. Disturbance of fetal glucose metabolism such as in diabetic pregnancy is associated with congenital heart disease. In utero hyperglycemia impacts the left-right axis establishment, migration of cardiac neural crest cells, conotruncal formation and mesenchymal formation of the cardiac cushion during early embryogenesis and causes cardiac hypertrophy in late fetal stages. In this review, we focus on the role of glucose in cardiogenesis and the molecular mechanisms underlying heart diseases associated with hyperglycemia.