An increase in baseline AIP levels was significantly associated with the risk of stroke in middle-aged and elderly individuals, and exhibited distinct characteristics depending on the individual’s glucose metabolism status. Here, AIP is linked to stroke disorder.