Our analysis reveals a positive correlation between elevated AIP levels and the risk of depression, characterized by a nonlinear association. Here, AIP is linked to major depressive disorder.