No, candy alone isn't a direct cause of diabetes, but overeating can contribute to elevated blood sugar levels, increasing the risk of insulin resistance and type 2 diabetes (4, 9). For example, one bar or a typical 40-gram serving of candy contains approximately 20 grams of sugar (52, 56).