What are the roles of maternal preconception diabetes and related periconceptional hyperglycemia on the risk of major congenital malformations (MCMs) in offspring? Maternal periconceptional glycated hemoglobin (HbA1c) levels over 5.6% were associated with an increased risk of congenital heart defects (CHD) in the offspring, and maternal preconception diabetes was associated with an increased risk of CHD, including when HbA1c levels were within euglycemic ranges. Maternal preconception diabetes has been linked with MCMs in the offspring. However, evidence concerning associations with specific periconception serum measures of hyperglycemia, and susceptibility of different organ systems, is inconsistent. Moreover, limited evidence exists concerning the effectiveness of antidiabetic medications in mitigating diabetes-related teratogenic risks. A large Israeli birth cohort of 46534 children born in 2001-2020. Maternal HbA1c test results were obtained from 90 days before conception to mid-pregnancy. Maternal diabetes, other cardiometabolic conditions, and MCMs in newborns were ascertained based on clinical diagnoses, medication dispensing records, and laboratory test results using previously validated algorithms. Associations were modeled using generalized additive logistic regression models with thin plate penalized splines. Maternal periconceptional HbA1c value was associated with CHD in newborns, with the risk starting to increase at HbA1c values exceeding 5.6%. The association between HbA1c and CHD was stronger among mothers with type 2 diabetes mellitus (T2DM) compared to the other diabetes groups. Maternal pre-existing T2DM was associated with CHD even after accounting for HbA1C levels and other cardiometabolic comorbidities (odds ratio (OR)=1.89, 95% CI 1.18, 3.03); and the OR was materially unchanged when only mothers with pre-existing T2DM who had high adherence to antidiabetic medications and normal HbA1c levels were considered. The rarity of some specific malformation groups limited the ability to conduct more granular analyses. The use of HbA1c as a time-aggregated measure of glycemic control may miss transient glycemic dysregulation that could be clinically meaningful for teratogenic risks. The observed association between pre-existing diabetes and the risk of malformations within HbA1c levels suggests underlying causal pathways that are partly independent of maternal glucose control. Therefore, treatments for hyperglycemia might not completely mitigate the teratogenic risk associated with maternal preconception diabetes. The work was supported by NIH grants K99ES035433, R01HD097778, and P30ES000002. None of the authors reports competing interests. N/A.