Calcitriol is an active analog of vitamin D3 and has excellent physiological activities in regulating healthy immune function. To synthesize the calcitriol compound, the concept of total synthesis is often adopted, which typically involves multiple steps and results in an overall low yield. Herein, we envisioned an enzymatic approach for the synthesis of calcitriol. Peroxygenase from Agrocybe aegerita (AaeUPO) was used as a catalyst to hydroxylate the C-H bond at the C-25 position of alfacalcidol and yielded the calcitriol in a single step. The enzymatic reaction yielded 80.3% product formation in excellent selectivity, with a turnover number up to 4000. In a semi-preparative scale synthesis, 72% isolated yield was obtained. It was also found that AaeUPO is capable of hydroxylating the C-H bond at the C-1 position of vitamin D3, thereby enabling the calcitriol synthesis directly from vitamin D3.