Objective: The poor quality of sleep and the deprivation thereof have been associated with disruption of metabolic homeostasis, favoring the development of obesity and type 2 diabetes (T2DM). We aimed to evaluate the influence of biliopancreatic diversion (BPD) surgery on sleep quality and excessive daytime sleepiness of obese patients with T2DM, comparing them with two control groups consisting of obese and normal weight individuals, both normal glucose tolerant. Subjects and methods: Forty-two women were divided into three groups: LeanControl (n = 11), ObeseControl (n = 13), and ObeseT2DM (n = 18). The LeanC and ObeseC groups underwent all tests and evaluations once. The ObeseT2DM underwent BPD and were reassessed after 12 months. Pittsburgh Sleep Quality Index (PSQI) and Epworth Sleepiness Scale (ESS) were applied before and 12 months after BPD. Results: Before surgery, there was less daytime sleepiness in LeanC group (p = 0.013) compared with ObeseC and T2DMObese groups. The two obese groups did not differ regarding daytime sleepiness, demonstrating that the presence of T2DM had no influence on daytime sleepiness. After surgery, the daytime sleepiness (p = 0.002) and the sleep quality (p = 0.033) improved. The score for daytime sleepiness of operated T2DMObese group became similar to LeanC and lower than ObeseC (p = 0.047). Conclusion: BPD surgery has positively influenced daytime sleepiness and sleep quality of obese patients with T2DM, leading to normalization of daytime sleepiness 12 months after surgery. These results reinforce previously identified associations between sleep, obesity and T2DM in view of the importance of sleep in metabolic homeostasis, quality of life and health. Arch Endocrinol Metab.2017;61(6):623-7