Chronic inflammation is a continuous low-grade activation of the systemic immune response. Whereas downstream inflammatory markers are associated with atrial fibrillation (AF), upstream inflammatory effectors including eicosanoids are less studied. To examine the association between eicosanoids and incident AF. We used a liquid chromatography-mass spectrometry for the non-targeted measurement of 161 eicosanoids and eicosanoid-related metabolites in the Framingham Heart Study. The association of each eicosanoid and incident AF was assessed using Cox proportional hazards models and adjusted for AF risk factors, including age, sex, height, weight, systolic/diastolic blood pressure, current smoking, antihypertensive medication, diabetes, history of myocardial infarction and heart failure. False discovery rate (FDR) was used to adjust for multiple testing. Eicosanoids with FDR < 0.05 were considered significant. In total, 2676 AF-free individuals (mean age 66 ± 9 years, 56% females) were followed for mean 10.8 ± 3.4 years; 351 participants developed incident AF. Six eicosanoids were associated with incident AF after adjusting for multiple testing (FDR < 0.05). A joint score was built from the top eicosanoids weighted by their effect sizes, which was associated with incident AF (HR = 2.72, CI = 1.71–4.31, P = 2.1 × 10–5). In conclusion, six eicosanoids were associated with incident AF after adjusting for clinical risk factors for AF.