sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Questions  ›  Is diabetes genetic?

Question · Diabetes

Is diabetes genetic?

Yes, genes can affect the risk of diabetes, but they are not the only cause. The role of genes and other factors differs by diabetes type.

QuestionReviewed 2026-11-28sofidex editorial standards

Type 1 diabetes
Genes affect risk, but the trigger is usually unknown
Type 2 diabetes
Family history is one of several associated factors
Other types
Some diabetes can result directly from genetic changes
Not a personal failure
Type 1 diabetes is not caused by eating sugar or personal choices

How genes affect different types

In type 1 diabetes, genes affect the chance of developing the condition. However, type 1 is an autoimmune condition, meaning the immune system mistakenly attacks the cells that make insulin. The trigger is usually unknown.

Type 2 diabetes develops through a combination of genetic, metabolic and environmental factors. Family history can raise risk, but it does not mean diabetes is certain.

Some less common types of diabetes can result directly from genetic changes. Diabetes can also be caused by pancreatic conditions, hormone disorders or certain medicines.

Other factors that affect risk

Factors associated with type 2 diabetes include increasing age, prediabetes, previous gestational diabetes, some ethnic backgrounds, physical inactivity, sleep problems, polycystic ovary syndrome and certain medicines. Excess body fat, particularly around the abdomen, can raise risk, but diabetes can occur at any body size.

Gestational diabetes develops when pregnancy hormones make insulin less effective and the pancreas cannot produce enough extra insulin. It can occur without known risk factors.

What you can do

Type 1 diabetes cannot currently be prevented through food, exercise or other routine lifestyle measures. Not every case of type 2 diabetes can be prevented, but regular activity, a sustainable eating pattern and weight loss when appropriate may reduce risk or delay diagnosis.

People with a family history or other strong risk factors should have regular glucose testing. Diabetes is confirmed with blood tests.

When to get help. Arrange a routine appointment if you have persistent thirst, frequent urination, unexplained weight loss, blurred vision, recurrent infections or slow-healing wounds. Testing is also appropriate if you have risk factors without symptoms.

Sources

  1. 1American Diabetes Association. Standards of Care in Diabetes—2025 . Diabetes Care, 2025
  2. 2National Institute of Diabetes and Digestive and Kidney Diseases. Diabetes Overview
  3. 3Centers for Disease Control and Prevention. About Diabetes
  4. 4World Health Organization. Diabetes
  5. 5National Institute for Health and Care Excellence. Type 1 diabetes in adults: diagnosis and management , NG17
  6. 6National Institute for Health and Care Excellence. Type 2 diabetes in adults: management , NG28

Health information, not medical advice. Nothing here replaces talking to your own doctor about your own situation.