The annual increase in myopia prevalence poses a significant economic and health challenge. Our study investigated the effect of calcitriol role in myopia by inducing the condition in guinea pigs through form deprivation for four weeks. Untargeted metabolomics methods were used to analyze the differences in metabolites in the vitreous body, and the expression of vitamin D receptor (VDR) in the retina was detected. Following form deprivation, the guinea pigs received intraperitoneal injections of calcitriol at different concentrations. We assessed myopia progression using diopter measurements and biometric analysis after four weeks. Results indicated that form deprivation led to a pronounced shift towards myopia, characterized by reduced choroidal and scleral thickness, disorganized collagen fibers, and decreased scleral collagen fiber diameter. Notably, a reduction in calcitriol expression in vitreous body, diminished vitamin D and calcitriol levels in the blood, and decreased VDR protein expression in retinal tissues were observed in myopic guinea pigs. Calcitriol administration effectively slowed myopia progression, preserved choroidal and scleral thickness, and prevented the reduction of scleral collagen fiber diameter. Our findings highlight a significant decrease in calcitriol and VDR expressions in myopic guinea pigs and demonstrate that exogenous calcitriol supplementation can halt myopia development, enhancing choroidal and scleral thickness and scleral collagen fiber diameter.