Diabetes according to the different types of diabetes, its causes are different, the specific pathogenesis of diabetes is not completely clear. 1 type of diabetes causes may be autoimmune, infections, heredity and other factors, 2 type of diabetes caused by a combination of genetic, environmental and other factors, special types of diabetes causes more, gestational diabetes due to the glucose and glucose-lowering hormone secretion disorders. 1. Genetic factors: Whether it is type 1 diabetes or type 2 diabetes, its cause is related to genetic factors. If an immediate family member has a history of diabetes, the risk of developing diabetes is greatly increased. Therefore, the cause of diabetes is related to genetic susceptibility. 2. Environmental factors: The most important environmental factor leading to an increased risk of type 2 diabetes is an unhealthy lifestyle. Viral infections can also be one of the environmental factors leading to type 1 diabetes, such as rubella virus, mumps virus, and coxsackie virus. These viruses can directly damage the cells of the pancreatic islets, thus increasing the risk of type 1 diabetes. 3. Autoimmune factors: Under the combined effect of environmental and genetic factors, the immune system attacks the islet cells that produce insulin. Autoimmunity leads to damage to the islet cells, which ultimately leads to a decrease or lack of insulin secretion, and is one of the factors that contribute to the development of diabetes. Diabetes may also have other causes. If you feel unwell, you should go to the hospital for checkups and be treated aggressively under the guidance of your doctor.