Pharmacological inhibitor (Brilliant Blue G, BBG) or genetic deficiency of P2X7R significantly mitigated depressive-like behaviours; ameliorated electrophysiological deterioration and autonomic dysfunction; improved ion channel expression and atrial fibrosis; and prevented atrial NLRP3 inflammasome activation in the pathophysiological process of AF in depression models. This evidence concerns the gene NLRP3 and major depressive disorder.