Background: Semaglutide, a GLP-1 receptor agonist, reduces the risk of major adverse cardiovascular events (MACE) in people with overweight or obesity, but the effects of this drug on outcomes in patients with atherosclerotic cardiovascular disease and heart failure are unknown. We report a prespecified analysis of the effect of once-weekly subcutaneous semaglutide 2·4 mg on ischaemic and heart failure cardiovascular outcomes. We aimed to investigate if semaglutide was beneficial in patients with atherosclerotic cardiovascular disease with a history of heart failure compared with placebo; if there was a difference in outcome in patients designated as having heart failure with preserved ejection fraction compared with heart failure with reduced ejection fraction; and if the efficacy and safety of semaglutide in patients with heart failure was related to baseline characteristics or subtype of heart failure., Methods: The SELECT trial was a randomised, double-blind, multicentre, placebo-controlled, event-driven phase 3 trial in 41 countries. Adults aged 45 years and older, with a BMI of 27 kg/m 2 or greater and established cardiovascular disease were eligible for the study. Patients were randomly assigned (1:1) with a block size of four using an interactive web response system in a double-blind manner to escalating doses of once-weekly subcutaneous semaglutide over 16 weeks to a target dose of 2·4 mg, or placebo. In a prespecified analysis, we examined the effect of semaglutide compared with placebo in patients with and without a history of heart failure at enrolment, subclassified as heart failure with preserved ejection fraction, heart failure with reduced ejection fraction, or unclassified heart failure. Endpoints comprised MACE (a composite of non-fatal myocardial infarction, non-fatal stroke, and cardiovascular death); a composite heart failure outcome (cardiovascular death or hospitalisation or urgent hospital visit for heart failure); cardiovascular death; and all-cause death. The study is registered with ClinicalTrials.gov, NCT03574597., Findings: Between Oct 31, 2018, and March 31, 2021, 17 604 patients with a mean age of 61·6 years (SD 8·9) and a mean BMI of 33·4 kg/m 2 (5·0) were randomly assigned to receive semaglutide (8803 [50·0%] patients) or placebo (8801 [50·0%] patients). 4286 (24·3%) of 17 604 patients had a history of investigator-defined heart failure at enrolment: 2273 (53·0%) of 4286 patients had heart failure with preserved ejection fraction, 1347 (31·4%) had heart failure with reduced ejection fraction, and 666 (15·5%) had unclassified heart failure. Baseline characteristics were similar between patients with and without heart failure. Patients with heart failure had a higher incidence of clinical events. Semaglutide improved all outcome measures in patients with heart failure at random assignment compared with those without heart failure (hazard ratio [HR] 0·72, 95% CI 0·60-0·87 for MACE; 0·79, 0·64-0·98 for the heart failure composite endpoint; 0·76, 0·59-0·97 for cardiovascular death; and 0·81, 0·66-1·00 for all-cause death; all p interaction >0·19). Treatment with semaglutide resulted in improved outcomes in both the heart failure with reduced ejection fraction (HR 0·65, 95% CI 0·49-0·87 for MACE; 0·79, 0·58-1·08 for the composite heart failure endpoint) and heart failure with preserved ejection fraction groups (0·69, 0·51-0·91 for MACE; 0·75, 0·52-1·07 for the composite heart failure endpoint), although patients with heart failure with reduced ejection fraction had higher absolute event rates than those with heart failure with preserved ejection fraction. For MACE and the heart failure composite, there were no significant differences in benefits across baseline age, sex, BMI, New York Heart Association status, and diuretic use. Serious adverse events were less frequent with semaglutide versus placebo, regardless of heart failure subtype., Interpretation: In patients with atherosclerotic cardiovascular diease and overweight or obesity, treatment with semaglutide 2·4 mg reduced MACE and composite heart failure endpoints compared with placebo in those with and without clinical heart failure, regardless of heart failure subtype. Our findings could facilitate prescribing and result in improved clinical outcomes for this patient group., Funding: Novo Nordisk., Competing Interests: Declaration of interests JD declares having received consulting honoraria from Amgen, Boehringer Ingelheim, Merck, Pfizer, Aegerion, Novartis, Sanofi, Takeda, Novo Nordisk, and Bayer, and research grants from British Heart Foundation, Medical Research Council (UK), National Institute for Health and Care Research, Public Health England, MSD, Pfizer, Aegerion, Colgate, and Roche. BMS declares having received institutional research grants to Brigham and Women's Hospital from Better Therapeutics, Merck, Novo Nordisk, and Pfizer, and consulting fees from Allergan, Boehringer Ingelheim, Better Therapeutics, Elsevier PracticeUpdate Cardiology, Esperion, Hanmi, Lexicon, Novo Nordisk, and equity in health at Scale and Doximity. SV reports speaking honoraria or consulting fees from Abbott, Amarin, AstraZeneca, Bayer, Boehringer Ingelheim, Canadian Medical and Surgical Knowledge Translation Research Group, Eli Lilly, HLS Therapeutics, Janssen, Merck, Novartis, Novo Nordisk, Pfizer, PhaseBio, and TIMI. DR declares having received consulting honoraria from Altimmune, Amgen, Biohaven, Boehringer Ingelheim, Calibrate, Carmot Therapeutics, CinRx, Eli Lilly, Epitomee, Gila Therapeutics, Ifa Celtic, Novo Nordisk, Pfizer, Rhythm, Scientific Intake, Wondr Health, and Zealand. DR also declares having received stock options from Calibrate, Epitomee, Scientific Intake, and Xeno Bioscience. IL declares having received research funding (paid to institution) from Novo Nordisk, Sanofi, Mylan, and Boehringer Ingelheim. IL received advisory or consulting fees or other support from Altimmune, AstraZeneca, Bayer, Biomea, Boehringer Ingelheim, Carmot, Cytoki Pharma, Eli Lilly, Intercept, Janssen/Johnson & Johnson, Mannkind, Mediflix, Merck, Metsera, Novo Nordisk, Pharmaventures, Pfizer, Regeneron, Sanofi, Shionogi, Structure Therapeutics, Target RWE, Terns Pharma, The Comm Group, Valeritas, WebMD, and Zealand Pharma. HMC declares being a stockholder and serving on an advisory panel for Bayer; receiving research grants from Chief Scientist Office, Diabetes UK, European Commission, IQVIA, Juvenile Diabetes Research Foundation, and Medical Research Council; serving on an advisory board and speakers bureau for Novo Nordisk; and holding stock in Roche Pharmaceuticals. SEK declares having received consulting honoraria from Anii Pharmaceuticals, Boehringer Ingelheim, Eli Lilly, Merck, Novo Nordisk, and Oramed and stock options from Altpep. JP declares having received consulting honoraria from Altimmune, Amgen, Esperion Therapeutics, Merck, MJH Life Sciences, Novartis, and Novo Nordisk; he has received a grant, paid to his institution, from Boehringer Ingelheim, and holds the position of Director, Preventive Cardiology, at Brigham and Women's Hospital. MNK declares having served as a consultant or on an advisory board for 35Pharma, Alnylam, Amgen, Applied Therapeutics, AstraZeneca, Bayer, Boehringer Ingelheim, Cytokinetics, Dexcom, Eli Lilly, Esperion Therapeutics, Imbria Pharmaceuticals, Janssen, Lexicon Pharmaceuticals, Merck (Diabetes and Cardiovascular), Novo Nordisk, Pharmacosmos, Pfizer, Sanofi, scPharmaceuticals, Structure Therapeutics, Vifor Pharma, and Youngene Therapeutics; has received research grants from AstraZeneca, Boehringer Ingelheim, and Pfizer; holds stocks in Artera Health and Saghmos Therapeutics; and has received honoraria from AstraZeneca, Boehringer Ingelheim, and Novo Nordisk. MNK has also received other research support from AstraZeneca. SSE declares having received consulting honoraria from Amylyx, AstraZeneca, Avillion, Ayala, Bayer, BeiGene, Boehringer Ingelheim, 89 Bio, BioAge, BioAtla, Bristol Myers Squibb, BridgeBio, Daiichi Sankyo, Denovo, Fore Therapeutics, GlaxoSmithKline, Inovio, Insmed, Ipsen, Karuna, Lilly, Lundbeck, Mirati, Moderna, Novartis, Novavax, Novo Nordisk, National Surgical Adjuvant Breast and Bowel Project, Pfizer, Principia, Reata, Rebiotx, Roche, Sanofi, Solvd, Sutro Biopharma, and TG Therapeutics. AG declares having received honoraria from Novo Nordisk, AstraZeneca, Novartis, Boehringer Ingelheim, and Bayer. CCL declares having received consulting and research honoraria from Amarin, Applied Therapeutics, AstraZeneca, Boehringer Ingelheim, Bristol Myers Squibb, Moderna, Novartis, Novo Nordisk, Pfizer, and Roche Diagnostics. MU-T declares having received consulting and research honoraria from Abbott, AstraZeneca, Bayer, Boehringer Ingelheim, Bristol Myers Squibb, Frosst Laboratories, Johnson and Johnson, Menarini, Novartis, Novo Nordisk, Pfizer, Procaps, Sanofi-Aventis, Servier, and Tecnofarma. MP declares having received honoraria from Novo Nordisk. AML declares having received honoraria from Novo Nordisk, Eli Lilly, Akebia, Amgen, Ardelyx, Becton Dickson, Endologix, Fibrogen, GlaxoSmithkline, Medtronic, Neovasc, Provention Bio, ReCor, Brainstorm Cell, Alnylam, and Intarcia for consulting activities and research funding to his institution from AbbVie, Esperion, AstraZeneca, CSL Behring, Novartis, and Eli Lilly. 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.)