Can anxiety disorder, panic attacks, or major depressive disorder cause type 2 diabetes?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: March 24, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Can Anxiety Disorder, Panic Attacks, or Major Depressive Disorder Cause Diabetes?

Yes, depression and anxiety symptoms are established risk factors for developing type 2 diabetes, particularly when combined with prediabetes, though they are not listed among the primary causative factors in diabetes classification guidelines.

The Evidence for Mental Health as a Risk Factor

Depression as a Risk Factor

The American Diabetes Association guidelines explicitly state that "history of depression, current depression, and antidepressant medication use are risk factors for the development of type 2 diabetes, especially if the individual has other risk factors such as obesity and family history of type 2 diabetes" 1. This represents a clear acknowledgment that depression contributes to diabetes risk, though it operates synergistically with traditional metabolic risk factors rather than as an independent cause.

The most compelling recent evidence comes from large prospective cohort studies:

  • In individuals with prediabetes and elevated depressive symptoms, the risk of progressing to type 2 diabetes increases dramatically (OR=8.29-10.65) compared to prediabetes alone 2, 3. This represents nearly double the risk compared to prediabetes without depression.

  • The joint effect of prediabetes and depressive symptoms appears to be synergistic rather than simply additive (Synergy Index=2.57), meaning the combination creates greater risk than would be expected from adding the individual risks together 3.

  • A large Norwegian population study (N=37,291) found that symptoms of depression and anxiety at baseline predicted onset of type 2 diabetes at 10-year follow-up, independent of established risk factors including socioeconomic factors, lifestyle factors, and markers of metabolic syndrome 4.

Anxiety as a Risk Factor

The evidence for anxiety is somewhat more nuanced but still significant:

  • High anxiety symptoms in people with prediabetes are associated with a 3-fold increased risk of progression to type 2 diabetes (OR=2.82) even after accounting for sociodemographic, lifestyle, and metabolic risk factors 5.

  • In the Lifelines Cohort Study (N=72,428), individuals with combined prediabetes and anxiety symptoms had increased diabetes risk (OR=6.57) compared to prediabetes alone (OR=6.09), though the effect was smaller than for depression 2.

  • The population attributable risk analysis suggests that 52% of incident type 2 diabetes in people with prediabetes could be attributed to having anxiety in addition to prediabetes 5.

However, one important caveat: The Baltimore Epidemiologic Catchment Area Study found no significant association between anxiety disorders and incident diabetes after controlling for depression and health behaviors (OR=1.00) 6. This suggests that when depression is present alongside anxiety (which is common), depression may be the primary driver of diabetes risk.

Understanding the Mechanisms

Why Mental Health Disorders Don't Appear in Primary Classification

The ADA classification guidelines list the established risk factors for type 2 diabetes as: age, obesity, lack of physical activity, prior gestational diabetes, hypertension, dyslipidemia, polycystic ovary syndrome, and racial/ethnic factors 7. Mental health conditions are notably absent from this primary list because:

  • The "specific etiologies are not known" for type 2 diabetes, and it develops through multiple pathways 7.
  • Mental health conditions likely operate through behavioral and biological mediators rather than as direct causes 4, 8.

Behavioral Mechanisms

Depression and anxiety increase diabetes risk through:

  • Reduced physical activity and poor dietary habits that lead to weight gain and insulin resistance 9, 8.
  • Medication non-adherence - approximately 40% of patients with diabetes and depression report medication non-adherence 10.
  • Avoidance of diabetes self-management behaviors due to anxiety about hypoglycemia, injections, or monitoring 1.

Biological Mechanisms

The biological pathways include:

  • Chronic activation of the hypothalamic-pituitary-adrenal axis leading to elevated cortisol, which promotes insulin resistance 8.
  • Inflammatory processes with elevated cytokines that impair insulin signaling 8.
  • Autonomic nervous system dysregulation affecting glucose metabolism 8.

Clinical Implications and Screening Recommendations

Who Should Be Screened

Based on the 2023 ADA guidelines:

  • Consider at least annual screening of depressive symptoms in all people with diabetes, especially those with a self-reported history of depression, using age-appropriate validated depression screening measures 1, 11.

  • Consider screening people with diabetes for anxiety symptoms or diabetes-related worries, with referral to a qualified mental health professional if symptoms interfere with self-management or quality of life 1, 11.

  • Annually screen people who are prescribed atypical antipsychotic medications for prediabetes or diabetes, as these medications (particularly olanzapine) significantly increase diabetes risk 12.

The Bidirectional Relationship

It's critical to understand that the relationship between mental health and diabetes is bidirectional 8, 13:

  • Mental health conditions increase diabetes risk (as discussed above).
  • Diabetic complications significantly increase the risk of developing depression and anxiety (HR=1.77 overall, with amputation carrying the highest risk at HR=2.16) 13.
  • However, baseline diabetes diagnosis alone does not predict subsequent symptoms of anxiety or depression 4, suggesting complications and disease burden are the key factors.

Practical Clinical Approach

For Patients Without Diabetes

In patients with prediabetes and depression or anxiety:

  • Recognize this as a very high-risk subgroup requiring intensive intervention 2, 5, 3.
  • Address both conditions simultaneously - treating mental health may improve diabetes prevention efforts through better adherence to lifestyle modifications 4.
  • Screen for prediabetes more frequently (potentially annually rather than every 3 years) in patients with significant mental health conditions 7.

For Patients With Diabetes

  • Integrate mental health screening into routine diabetes care rather than waiting for deterioration in metabolic or psychological status 14.
  • Use collaborative care models that have demonstrated efficacy in improving both depression/anxiety and glycemic outcomes 1.
  • Refer to qualified behavioral health professionals when screening is positive, particularly for evidence-based treatments like cognitive behavioral therapy which has shown benefits for diabetes distress, A1C, and depressive symptoms 1, 11.

Important Caveats

  • Comorbidity between depression and anxiety may be the most important factor - when both are present, the risk appears highest 4.
  • The progression rate from prediabetes to diabetes is 31% overall, but this increases substantially with mental health comorbidity 5.
  • Not all studies show independent effects of anxiety when depression is controlled for, suggesting depression may be the primary driver 6.

References

Research

Diabetic complications and risk of depression and anxiety among adults with type 2 diabetes.

Diabetic medicine : a journal of the British Diabetic Association, 2024

Related Questions

How should I document a SOAP note and management plan, including appropriate CPT and ICD‑10 codes, for a 35‑year‑old female with type 2 diabetes mellitus, worsening generalized anxiety disorder and major depressive disorder, increased fatigue, sleep disturbances (longer nighttime sleep and daytime napping), and irregular/heavy menstrual cycles?
In a 21-year-old woman with a history of anxiety and depressive mood who previously took fluoxetine (Prozac) as an adolescent but has been medication-free for over a year, what is the first-line pharmacologic treatment and appropriate starting dose?
In a 36-year-old woman with hypertension, generalized anxiety disorder, pre‑diabetes (BMI 33, fasting glucose 105 mg/dL, HbA1c 6 %), who is taking chlorthalidone, losartan, duloxetine, citalopram, and metformin, which medication should be discontinued when counseling about diet and exercise?
In a 48-year-old woman with lupus who is taking 5 mg escitalopram (half of 10 mg) due to sedation and has moderate‑severe depression and anxiety, is it appropriate to switch to sertraline, and should the escitalopram be tapered rather than stopped?
What medication treatment is recommended for a 17-year-old with major depressive disorder and adjustment disorder?
What is the appropriate treatment for a 5 mm prolactin‑secreting pituitary microadenoma causing galactorrhea?
Is it safe for an adult on lithium therapy for bipolar disorder to take magnesium supplements, and what precautions should be taken?
How do the sensitivity and specificity of tuberculosis testing change when using three sputum acid‑fast bacilli (AFB) smears compared with adding two Mycobacterium tuberculosis PCR (nucleic‑acid amplification) tests?
Do the cortisol results of a cosyntropin (ACTH) stimulation test—baseline 6.0 µg/dL, 30‑minute 14.5 µg/dL, and 60‑minute 19.2 µg/dL—indicate adrenal insufficiency?
What are the differences between Registered Nurse (RN)-level assessment and Advanced Practice Registered Nurse (APRN)-level assessment?
What are the recommended guidelines for initiating Apretude (cabotegravir) injectable PrEP in a patient, including baseline HIV and hepatitis B testing, renal/hepatic labs, pregnancy testing, oral lead‑in, injection schedule, and contraception requirements?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.