Cardiac aging is defined as mitochondrial dysfunction of the heart. Vitamin D (VitD) is an effective agent in ameliorating cardiovascular disorders. In this study, we indicated the protective effects of VitD against cardiac aging. Male Wistar rats were randomly divided into four groups: control (CONT), D-galactose (D-GAL): aged rats induced by D-galactose (D-GAL), D-GAL+ ethanol: aged rats treated with ethanol, and D-GAL+ VitD aged rats treated with VitD. Aging was induced by D-GAL at 150 mg/kg via intraperitoneal injection for eight weeks. Aged rats were treated with VitD (D-GAL+ VitD) by gavage for eight weeks. The serum samples were used to evaluate biochemical factors and heart tissues were assessed to determine oxidative stress and gene expression. The D-GAL rats exhibited cardiac hypertrophy, which was associated with decreased antioxidant enzyme activity, enhanced oxidative marker, and changes in the expression of mitochondrial genes in comparison with the control rats. Co-treatment with VitD ameliorated all these changes. In conclusion, VitD could protect the heart against D-GAL-induced aging via enhancing antioxidant effects, and the expression of mitochondrial genes.