Vitamin D-related genetic variations in the placenta are associated with birthweight. Infant sex-specific associations between vitamin D-related genetic variations and birthweight are observed. Findings may improve our understanding of the genetic mechanisms of vitamin D on birth size.