Background The aim of this study was to evaluate the strategy and efficacy of a hyperglycemia treatment program supervised by Endocrinology. Methods All patients with type 2 diabetes hospitalized at the vascular surgery department over a 12 month period were retrospectively reviewed. Clinical characteristics and hyperglycemia treatment during hospitalization, at discharge and 2–6 month after discharge were collected. Glycemic control was assessed using capillary blood glucose profiles and HbA1c at admission and 2–6 months post-discharge. Results A total of 140 hospitalizations of 123 patients were included. The protocol to choose the insulin regimen was applied in 96.4% of patients (22.8% correction dose, 23.6% basal-correction dose and 50% basal-bolus-correction dose [BBC]). Patients with BBC had higher HbA1c (7.7±1.5% vs. 6.7±0.8%; P Conclusions The hyperglycemia treatment protocol applied by an endocrinologist in the hospital, allows the identification of the appropriate therapy and the improvement of the glycemic control during hospitalization and discharge, supporting its efficacy in clinical practice.