To assess the effects of short-term continuous positive airway pressure (CPAP) upon un-treatment hour glucose control via a continuous glucose monitoring system (CGMS) in patients with obstructive sleep apnea hypopnea syndrome and type 2 diabetes (OWD). A total of 23 case of hospitalized OWD were recruited. CGMS was applied for 2 days before and 4 days during CPAP treatment. The treatment hour (6 h, 0:00 - 6:00) and un-treatment hour (14 h, 6:00 - 22:00) glucose level and glucose variability were analyzed. Insulin resistance was assessed with fasting plasma blood glucose (FPG), plasma insulin (FINS) and homeostatic model assessment of insulin resistance index (HOMA-IR). The short-term CPAP treatment corrected sleep-disordered breathing and induced significant decreases of treatment and un-treatment hour glucose level ((7.07 ± 2.02) mmol/L vs (6.34 ± 1.57) mmol/L, (8.04 ± 1.99) mmol/L vs (7.64 ± 1.81) mmol/L, both P < 0.05). Glucose variability of treatment and un-treatment hours significantly decreased after CPAP treatment (0.41 ± 0.24 vs 0.29 ± 0.18, 1.02 ± 0.50 vs 0.78 ± 0.45, all P < 0.05). Short-term treatment also induced an increase of insulin sensitivity, as indicated by a significant decrease of HOMA-IR (4.02 ± 2.07 vs 3.08 ± 1.58, P < 0.05). Short-term CPAP treatment in OWD may improve not only insulin resistance but also blood glucose and glucose variability during treatment and un-treatment hours.