In logistic regression, apart from young age, poor education, long disease duration, tobacco use, high body mass index, use of insulin, depression was independently associated with failure to attain HbA1c target (Odds Ratio [OR] = 1.56, 95%CI:1.05–2.32, P = 0.028). The gene discussed is INS; the disease is major depressive disorder.