Thyroid cancer (TC) is one of the most common endocrine malignancies worldwide. Increasing evidence suggests that vitamin D (VD) has potential benefits in the treatment of TC. However, evidence regarding the targets and molecular mechanisms of VD in TC remains limited. In this study, we conducted network pharmacology, molecular docking, and experimental evaluation to explore the target genes, biological functions, and signaling pathways involved in this process. Network analysis revealed 77 potential target genes of VD against TC, and four hub target genes were identified: ESR1, KIT, CCND1, and PGR. Furthermore, we identified the biological processes (BP) and signaling pathways involving these potential target genes, and then determined the possible interaction between the hub targets and VD through molecular docking. Finally, through in vitro experiments, we found that VD effectively inhibits the proliferation of TC cells and downregulates the expression of the ESR1 gene. In conclusion, the effects of VD against TC involve multiple biological targets, BP, and signaling pathways. These findings provide scientific evidence for the application of VD in the treatment of TC.