Atrial fibrillation (AF) is the most common sustained arrhythmia and carries an increased risk of stroke and heart failure. Here, we investigate how the immune infiltrate of human epicardial adipose tissue (EAT), which directly overlies the myocardium, contributes to AF. Flow cytometry analysis revealed an enrichment of tissue-resident memory T (TRM) cells in AF patients. Cellular indexing of transcriptomes and epitopes by sequencing (CITE-Seq) and single-cell TCR sequencing, identified two transcriptionally distinct CD8+ TRM cells that are modulated in AF. Spatial transcriptomic analysis of EAT and atrial tissue identified the border region between the tissues to be a region of intense inflammatory and fibrotic activity, while the addition of TRM populations to atrial cardiomyocytes demonstrated their ability to differentially alter calcium flux as well as activate inflammatory and apoptotic signalling pathways. This study identified EAT as a novel reservoir of TRM cells that can directly modulate vulnerability to cardiac arrhythmia.