Both conditional ablation and overexpression of Ubc9 in pancreatic β cells impair β cell function and subsequently lead to diabetes. This evidence concerns the gene UBE2I and diabetes mellitus.