This study aimed to investigate the association of maternal first-trimester vitamin D levels and vitamin D supplementation during pregnancy with infant atopic dermatitis (AD) and to determine the effect of variables such as mode of conception on the association. This study was based on the Shanghai sub-cohort of the International Birth Cohort of China. A total of 4051 woman-infant pairs with singleton pregnancies were recruited. Vitamin D deficiency and insufficiency were defined as serum 25-hydroxyvitamin D concentrations of 25 and 50 nmol/L, respectively. AD in infants was assessed during the first six months using a standardized questionnaire based on the British Working Party criteria. Modified Poisson regression estimated the association between maternal vitamin D status and infant AD. The risk of AD in infants was higher in women with deficient 25-hydroxyvitamin D levels in the first trimester (RR: 1.77, 95% CI: 1.41-2.23). This increased risk was seen in naturally conceived pregnancies, but not in those conceived using assisted reproductive technology (ART). The incidence of AD decreased in infants of mothers who took multi-vitamin (RR: 0.79, 95% CI: 0.67-1.98) and vitamin D supplements (RR: 0.51, 95% CI: 0.37-0.71) compared to those whose mothers did not take any supplements. Maternal vitamin D deficiency had varying effects on AD risk based on passive smoking exposure and breastfeeding patterns. Our findings highlight the importance of monitoring and supplementing vitamin D during pregnancy, especially in specific maternal populations, to reduce the risk of AD in offspring.