Type 1 diabetes are unknown and it have been identified several risk factor. This type of diabetes increased by variants of the HLA-DQA1, HLA-DQB1, and HLA-DRB1 genes. These genes provide instructions for making proteins that play a critical role in the immune system.

Insulin resistance is the most common cause of type 2 diabetes and Type 2 diabetes can be hereditary.