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