Vitamin D (Vitamine D), classically recognized as an important player in bone and phosphocalcic metabolism, has shown, through recent studies, its involvement in the pathogenesis of insulin resistance in case of deficiency. The aim of this work is to describe the profile of vitamin D in a type 2 diabetic population and to correlate the vitamin D status with the different metabolic parameters in this population admitted in the University Hospital of Marrakech. It is a descriptive crosssectional study of a population of type 2 diabetic patients, coming for a follow-up assessment of diabetes and having performed an evaluation of the level of 25 hydroxy vitamin D3 in blood. Demographic, clinical, evolutionary and biological data were collected. The mean of 25 (OH) vitamin D3 was 12.55 ± 8.14 ng / ml for the group, and was 13.15 ± 8.93 ng / ml for women and 11.82 ± 7.31 ng / ml for men. These patients were classified into three groups: Group 1: 25 (OH) D < 10 ng / ml objectified in 37 patients (44%); group 2: 25 (OH) D between 10 and < 29 ng / ml in 43 patients (51.2%) and group 3: 25 (OH) D > 30 ng / ml present in 4 patients in this population (4, 8%). Several studies have reported an association between vitamin D status and the development of type 2 diabetes. Experimental studies have suggested that vitamin D deficiency decreases insulin sensitivity, carbohydrate tolerance and β-pancreatic function. The data of this work underline the high frequency of vitamin D deficiency in the Moroccan population suffering from type 2 diabetes.