Background: Mineralocorticoid receptor antagonists (MRAs) reduce hospitalisations and death in patients with heart failure and reduced ejection fraction (HFrEF), but the benefit in patients with heart failure and mildly reduced ejection fraction (HFmrEF) or heart failure and preserved ejection fraction (HFpEF) is unclear. We evaluated the effect of MRAs in four trials that enrolled patients with heart failure across the range of ejection fraction., Methods: This is a prespecified, individual patient level meta-analysis of the RALES (spironolactone) and EMPHASIS-HF (eplerenone) trials, which enrolled patients with HFrEF, and of the TOPCAT (spironolactone) and FINEARTS-HF (finerenone) trials, which enrolled patients with HFmrEF or HFpEF. The primary outcome of this meta-analysis was a composite of time to first hospitalisation for heart failure or cardiovascular death. We also estimated the effect of MRAs on components of this composite, total (first or repeat) heart failure hospitalisations (with and without cardiovascular deaths), and all-cause death. Safety outcomes were also assessed, including serum creatinine, estimated glomerular filtration rate, serum potassium, and systolic blood pressure. An interaction between trials and treatment was tested to examine the heterogeneity of effect in these populations. This study is registered with PROSPERO, CRD42024541487., Findings: 13 846 patients were included in the four trials. MRAs reduced the risk of cardiovascular death or heart failure hospitalisation (hazard ratio 0·77 [95% CI 0·72-0·83]). There was a statistically significant interaction by trials and treatment (p for interaction=0·0012) due to the greater efficacy in HFrEF (0·66 [0·59-0·73]) compared with HFmrEF or HFpEF (0·87 [0·79-0·95]). We observed significant reductions in heart failure hospitalisation in the HFrEF trials (0·63 [0·55-0·72]) and the HFmrEF or HFpEF trials (0·82 [0·74-0·91]). The same pattern was observed for total heart failure hospitalisations with or without cardiovascular death. Cardiovascular death was reduced in the HFrEF trials (0·72 [0·63-0·82]) but not in the HFmrEF or HFpEF trials (0·92 [0·80-1·05]). All-cause death was also reduced in the HFrEF trials (0·73 [0·65-0·83]) but not in the HFmrEF or HFpEF trials (0·94 [0·85-1·03]). With an MRA, the risk of hyperkalaemia was doubled compared with placebo (odds ratio 2·27 [95% CI 2·02-2·56]), but the incidence of serious hyperkalaemia (serum potassium >6·0 mmol/L) was low (2·9% vs 1·4%); the risk of hypokalaemia (potassium <3·5 mmol/L) was halved (0·51 [0·45-0·57]; 7% vs 14%)., Interpretation: Steroidal MRAs reduce the risk of cardiovascular death or heart failure hospitalisation in patients with HFrEF and non-steroidal MRAs reduce this risk in patients with HFmrEF or HFpEF., Funding: None., Competing Interests: Declaration of interests PSJ reports speakers fees from AstraZeneca, Novartis, Alkem Metabolics, ProAdWise Communications, and Sun Pharmaceuticals; advisory board fees from AstraZeneca, Boehringer Ingelheim, and Novartis; and research funding from AstraZeneca, Boehringer Ingelheim, Analog Devices, and Roche Diagnostics; and is a director of Global Clinical Trial Partners. PSJ's employer, the University of Glasgow, has been remunerated for clinical trial work from AstraZeneca, Bayer, Novartis, and Novo Nordisk. BLC has received personal consulting fees from Alnylam, Bristol Myers Squibb (BMS), Cardior, Cardurion, Corvia, CVRx, Eli Lilly, Intellia, and Rocket, and has served on a data safety monitoring board for Novo Nordisk. MV has received research grant support, served on advisory boards, or had speaker engagements with American Regent, Amgen, AstraZeneca, Bayer, Baxter Healthcare, BMS, Boehringer Ingelheim, Chiesi, Cytokinetics, Fresenius Medical Care, Idorsia Pharmaceuticals, Lexicon Pharmaceuticals, Merck, Milestone Pharmaceuticals, Novartis, Novo Nordisk, Pharmacosmos, Relypsa, Roche Diagnostics, Sanofi, and Tricog Health, and participates on clinical trial committees for studies sponsored by AstraZeneca, Galmed, Novartis, Bayer, Occlutech, and Impulse Dynamics. ASD has received institutional research grants (to Brigham and Women's Hospital) from Abbott, Alnylam, AstraZeneca, Bayer, Novartis, and Pfizer, and personal consulting fees from Abbott, Alnylam, AstraZeneca, Bayer, Biofourmis, Boston Scientific, Medpace, Medtronic, Merck, Novartis, Parexel, Porter Health, Regeneron, River2Renal, Roche, Veristat, Verily, and Zydus. CSPL has received research support from NovoNordisk and Roche Diagnostics; consulting fees from Alleviant Medical, Allysta Pharma, AnaCardio, Applied Therapeutics, AstraZeneca, Bayer, Biopeutics, Boehringer Ingelheim, Boston Scientific, BMS, CardioRenal, CPC Clinical Research, Eli Lilly, Impulse Dynamics, Intellia Therapeutics, Ionis Pharmaceutical, Janssen Research & Development, Medscape/WebMD Global, Merck, Novartis, Novo Nordisk, Prosciento, Quidel Corporation, Radcliffe Group, Recardio, ReCor Medical, Roche Diagnostics, Sanofi, Siemens Healthcare Diagnostics, and Us2.ai; and is a cofounder and non-executive Director of Us2.ai. BP is a consultant for Bayer, AstraZeneca, Boehringer Ingelheim, Lexicon, BMS, KBP Biosciences, Sarfez Pharmaceuticals, Pharmaceuticals, SQ Innovation, G3 Pharmaceuticals, Sea Star Medical, Vifor, Prointel, and Brainstorm Medical; and holds stock or stock options in KBP Biosciences, Sarfez Pharmaceuticals, SQ Innovation, Sea Star Medical, Vifor, Prointel, and Brainstorm Medical. He holds US Patent 9931412 on site specific delivery of eplerenone to the myocardium, and US Patent pending 63/045,783 on histone modulating agents for the prevention and treatment of organ failure. MS has served on advisory boards for and has received consultancy fees and honoraria from Novartis, Abbott, Merck, MSD, Vifor, AstraZeneca, Cardurion, Novo Nordisk, Bayer, and Boehringer Ingelheim. SJS has received research grants from the US National Institutes of Health (NIH; U54 HL160273, X01 HL169712, R01 HL140731, and R01 HL149423), the American Heart Association (24SFRNPCN1291224), AstraZeneca, Corvia, and Pfizer, and consulting fees from Abbott, Alleviant, AstraZeneca, Amgen, Aria CV, Axon Therapies, Bayer, Boehringer Ingelheim, Boston Scientific, BMS, Cyclerion, Cytokinetics, Edwards Lifesciences, Eidos, Imara, Impulse Dynamics, Intellia, Ionis, Lilly, Merck, MyoKardia, Novartis, Novo Nordisk, Pfizer, Prothena, Regeneron, Rivus, Sardocor, Shifamed, Tenax, Tenaya, and Ultromics. AAV's employer received consultancy fees or research support from Adrenomed, Anacardio, AstraZeneca, Bayer, BMS, Boehringer Ingelheim, Corteria, Eli Lilly, Merck, Moderna, Novartis, Novo Nordisk, Roche Diagnostics, and SalubrisBio. FZ reports personal fees from 89Bio, Abbott, Acceleron, Applied Therapeutics, Bayer, Betagenon, Boehringer, BMS, CVRx, Cambrian, Cardior, Cereno Pharmaceutical, Cellprothera, CEVA, Inventiva, KBP, Merck, Novo Nordisk, Owkin, Otsuka, Roche Diagnostics, Northsea, and USa2; stock options at G3Pharmaceutical and equities at Cereno, Cardiorenal, and Eshmoun Clinical Research; and being the founder of Cardiovascular Clinical Trialists. SDS has received research grants from Alexion, Alnylam, AstraZeneca, Bellerophon, Bayer, BMS, Boston Scientific, Cytokinetics, Edgewise, Eidos, Gossamer, GSK, Ionis, Lilly, MyoKardia, NIH/National Heart, Lung, and Blood Institute (NHLBI), Novartis, Novo Nordisk, Respicardia, Sanofi Pasteur, Theracos, and Us2.ai, and has consulted for Abbott, Action, Akros, Alexion, Alnylam, Amgen, Arena, AstraZeneca, Bayer, Boeringer-Ingelheim, BMS, Cardior, Cardurion, Corvia, Cytokinetics, Daiichi-Sankyo, GSK, Lilly, Merck, Myokardia, Novartis, Roche, Theracos, Quantum Genomics, Janssen, Cardiac Dimensions, Tenaya, Sanofi-Pasteur, Dinaqor, Tremeau, CellProThera, Moderna, American Regent, Sarepta, Lexicon, Anacardio, Akros, and Valo. JJVM reports payments through the University of Glasgow for work on clinical trials, consulting, and grants from Amgen, AstraZeneca, Bayer, Cardurion, Cytokinetics, GSK, and Novartis; personal consultancy fees from Alynylam Pharmaceuticals, Amgen, AnaCardio, AstraZeneca, Bayer, Berlin Cures, BMS, Cardurion, Cytokinetics, Ionis Pharmaceuticals, Novartis, Regeneron Pharmaceuticals, River 2 Renal, British Heart Foundation, NIH/NHLBI, Boehringer Ingelheim, SQ Innovation, and Catalyze Group; personal lecture fees from Abbott, Alkem Metabolics, AstraZeneca, Blue Ocean Scientific Solutions, Boehringer Ingelheim, Canadian Medical and Surgical Knowledge, Emcure Pharmaceuticals, Eris Lifesciences, European Academy of CME, Hikma Pharmaceuticals, Imagica Health, Intas Pharmaceuticals, J B Chemicals & Pharmaceuticals, Lupin Pharmaceuticals, Medscape/Heart.org, ProAdWise Communications, Radcliffe Cardiology, Sun Pharmaceuticals, The Corpus, Translation Research Group, and Translational Medicine Academy; served on a data safety monitoring board for WIRB-Copernicus Group Clinical; and is a director of Global Clinical Trial Partners. All other authors declare no competing interests., (Copyright © 2024 The Author(s). Published by Elsevier Ltd. This is an Open Access article under the CC BY 4.0 license. Published by Elsevier Ltd.. All rights reserved.)