One of the most important things that change during pregnancy is the serum vitamin D level, which is essential for both the mother's and the fetus's health. Vitamin D deficiency can increase the possibility of fetal abnormalities, including heart abnormalities in the fetus. This descriptive cross-sectional study was carried out on 81 pregnant women who were referred to Bandar Abbas Children's Hospital in 2019 to examine the fetal heart. Individuals were classified into three groups (average reduction - mild/moderate reduction - severe reduction) considering serum vitamin D levels measured by high-performance liquid chromatography methods. Also, in terms of the echocardiographic status of the heart, examined at 18-28 weeks of gestation, they were divided into three groups: regular, heart failure, and anatomical heart abnormality (defect). Finally, the relationship between these two indicators, namely the serum vitamin D level of the pregnant woman and fetal heart status, was investigated. There was a statistically significant relationship between maternal serum vitamin D level and fetal heart status based on the Chi-square test (P=0.007). Heart problems increased in fetuses of mothers with lower serum vitamin D levels. No abnormality was also observed in the fetal heart of mothers with normal vitamin D levels. There is a significant relationship between serum vitamin D levels during pregnancy and the rate of fetal heart problems; therefore, vitamin D replacement therapy can cause reducing the cases of functional and structural abnormalities of the heart in the fetus and improve the final prognosis of pregnancy. Vitamin D deficiency in the mother can also be considered an indication of fetal echocardiography.