Therefore, this study aimed to analyze the relationship between the TyG index, AIP, and AF, and compare their ability to predict AF risk. This evidence concerns the gene AIP and atrial fibrillation.