Overweight and obesity are associated with increased risk of type 2 diabetes. Limited evidence exists regarding the effect of excess weight on years lived with and without diabetes. We aimed to determine the association of overweight and obesity with the number of years lived with and without diabetes in a middle-aged and elderly population.