BACKGROUND: Diabetes is a significant contributor to dyslipidemia, which can contribute in cardiovascular complications. Vitamin D is crucial in preventing chronic metabolic diseases such as diabetes and heart disease (cardiovascular disease [CVD]). AIM: The objective of this study was to determine the relationship between Vitamin D levels and cardiovascular risk in type 2 diabetes mellitus. MATERIALS AND METHODS: This study is cross-sectional in nature. The study sampled 89 diabetic patients who met the study’s inclusion and exclusion criteria. After a 10 h fast, a venous blood test is performed to determine Vitamin D levels, apolipoprotein-A levels, total cholesterol (TC), low-density lipoprotein cholesterol (LDL-C), high-density lipoprotein cholesterol (HDL-C), and triglyceride levels. The data are analyzed using SPSS. The Pearson correlation test (p > 0.05) was used to determine the connection. RESULT: Vitamin D levels were found to correlate with Apo-A1, TC, HDL-C, and triglyceride levels (p = 0.05), but not with LDL-C levels (p > 0.05). CONCLUSION: Vitamin D supplementation may assist DMT2 patients minimize their chance of developing CVD problems.