Although we found a negative correlation between AF and AIP, this relationship was not observed in the cardioembolic stroke subgroup. Here, AIP is linked to cardioembolic stroke.