The presence of vitamin D deficiency in patients with type 2 diabetes mellitus (T2DM) is associated with an increased risk of cardiovascular disease (CVD). We aim to see whether supplementation of vitamin D in these patients helps to improve the endothelial function (EF) a surrogate marker of CVD risk.