SNPs for CYP27B1 (CA & CC genotype) had statistically significant positive association (β = 1.61; 95% CI 2.79, 0.42; p-value < 0.05) and TT genotype of GC-rs7041 had negative association (β =  − 1.33; 95% CI − 0.02, − 2.64; p-value < 0.05) with vitamin-D deficiency in the surveyed children. This evidence concerns the gene CYP27B1 and vitamin D deficiency.