Diabetes mellitus is a heterogeneous disease characterized by hyperglycemia due to impaired insulin secretion and/or action. All diabetes types have a strong genetic component. The most frequent forms, type 1 diabetes (T1D), type 2 diabetes (T2D) and gestational diabetes mellitus (GDM), are multifactorial syndromes associated with several genes’ effects together with environmental factors. Conversely, rare forms, neonatal diabetes mellitus (NDM) and maturity onset diabetes of the young (MODY), are caused by mutations in single genes. Large scale genome screenings led to the identification of hundreds of putative causative genes for multigenic diabetes, but all the loci identified so far explain only a small proportion of heritability. Nevertheless, several recent studies allowed not only the identification of some genes as causative, but also as putative targets of new drugs. Although monogenic forms of diabetes are the most suited to perform a precision approach and allow an accurate diagnosis, at least 80% of all monogenic cases remain still undiagnosed. The knowledge acquired so far addresses the future work towards a study more focused on the identification of diabetes causal variants; this aim will be reached only by combining expertise from different areas. In this perspective, model organism research is crucial. This review traces an overview of the genetics of diabetes and mainly focuses on Drosophila as a model system, describing how flies can contribute to diabetes knowledge advancement.