AIP and depressive symptom measurement: This study offers new evidence on the relationship between AIP levels and depression in middle-aged and older adults with varying glucose metabolic statuses.