Atrial fibrillation (AF) can be difficult to diagnose because it often occurs intermittently and may not be captured on an electrocardiogram (ECG), and many patients are unaware that they have an irregular heartbeat. Retinal imaging, already widely available in optometry practices and hospital eye clinics, may offer a non-invasive way to identify patients who could benefit from further cardiac assessment. In a cross-sectional and longitudinal analysis published in PLOS Digital Health,¹ investigators analysed macular optical coherence tomography (OCT) scans and colour retinal photographs from more than 90,000 people in two cohorts: AlzEye, a Moorfields Eye Hospital cohort of more than 50,000 patients, 5735 of whom had AF, and UK Biobank, with approximately 40,000 participants, 526 of whom had AF. AF was associated with narrower retinal venular calibre and thinner macular retinal layers, including the macular ganglion cell–inner plexiform layer (mGCIPL) and the macular inner nuclear layer (mINL). After adjustment for sociodemographic, clinical and lifestyle factors, each standard deviation decrease in mGCIPL thickness was associated with a 27% increased hazard of AF, and in participants who later developed AF, mGCIPL thinning was detectable on average four years before diagnosis.