Vitamin B12 (B12) is necessary for the proper functioning of the central and peripheral nervous systems. Although there is no exact definition for B12 levels, a value of 200 pg/mL is compatible with deficiency, 200–299 pg/mL is considered borderline, and 300 pg/mL is considered normal. In population studies, the prevalence of B12 deficiency ranges between 2.9% and 35%. Furthermore, many medications, such as metformin [for type 2 diabetes mellitus (T2DM)], can cause B12 deficiency. The objectives of this study were to determine the population status of B12 in southwestern Colombia (and the status of B12 in subjects with T2DM). In the total population (participants with and without T2DM), the prevalence of B12 deficiency was 17.8%; that of borderline was 19.3%; and that of normal levels was 62.9%. The prevalence of deficiency increased with age and was significantly higher in those aged ≥60 years (p= 0.000). In T2DM subjects, the prevalence of deficiency was significantly higher concerning those without T2DM (p= 0.002) and was significantly higher in those who received >1 gm/day of metformin (p= 0.001). Thus, the prevalence of deficiency and borderline levels of B12 in our population was high, particularly in those >60 years of age. B12 deficiency was significantly higher in individuals with T2DM than in individuals without T2DM, especially among those receiving high doses of metformin.