Vitamin D supplementation led to a significant reduction in serum AMH (− 0.7 ± 1.2 vs. − 0.1 ± 0.5 ng/mL, P = 0.02), insulin levels (− 1.4 ± 1.6 vs. -0.3 ± 0.9 μIU/mL, P = 0.007), homeostatic model of assessment for insulin resistance (− 0.3 ± 0.3 vs. -0.1 ± 0.2, P = 0.008), and a significant increase in quantitative insulin sensitivity check index (+ 0.009 ± 0.01 vs. + 0.001 ± 0.004, P = 0.04), compared with the placebo. This evidence concerns the gene AMH and Insulin resistance.