Importance: Despite the availability of disease-modifying therapies, scalable strategies for heart failure (HF) risk stratification remain elusive. Portable devices capable of recording single-lead electrocardiograms (ECGs) can enable large-scale community-based risk assessment. Objective: To evaluate an artificial intelligence (AI) algorithm to predict HF risk from noisy single-lead ECGs. Design: Multicohort study. Setting: Retrospective cohort of individuals with outpatient ECGs in the integrated Yale New Haven Health System (YNHHS) and prospective population-based cohorts of UK Biobank (UKB) and Brazilian Longitudinal Study of Adult Health (ELSA-Brasil). Participants: Individuals without HF at baseline. Exposures: AI-ECG-defined risk of left ventricular systolic dysfunction (LVSD). Main Outcomes and Measures: Among individuals with ECGs, we isolated lead I ECGs and deployed a noise-adapted AI-ECG model trained to identify LVSD. We evaluated the association of the model probability with new-onset HF, defined as the first HF hospitalization. We compared the discrimination of AI-ECG against the pooled cohort equations to prevent HF (PCP-HF) score for new-onset HF using Harrel's C-statistic, integrated discrimination improvement (IDI), and net reclassification improvement (NRI). Results: There were 194,340 YNHHS patients (age 56 years [IQR, 41-69], 112,082 women [58%]), 42,741 UKB participants (65 years [59-71], 21,795 women [52%]), and 13,454 ELSA-Brasil participants (56 years [41-69], 7,348 women [55%]) with baseline ECGs. A total of 3,929 developed HF in YNHHS over 4.5 years (2.6-6.6), 46 in UKB over 3.1 years (2.1-4.5), and 31 in ELSA-Brasil over 4.2 years (3.7-4.5). A positive AI-ECG screen was associated with a 3- to 7-fold higher risk for HF, and each 0.1 increment in the model probability portended a 27-65% higher hazard across cohorts, independent of age, sex, comorbidities, and competing risk of death. AI-ECG's discrimination for new-onset HF was 0.725 in YNHHS, 0.792 in UKB, and 0.833 in ELSA-Brasil. Across cohorts, incorporating AI-ECG predictions in addition to PCP-HF resulted in improved Harrel's C-statistic (delta=0.112-0.114), with an IDI of 0.078-0.238 and an NRI of 20.1%-48.8% for AI-ECG vs. PCP-HF. Conclusions and Relevance: Across multinational cohorts, a noise-adapted AI model with lead I ECGs as the sole input defined HF risk, representing a scalable portable and wearable device-based HF risk-stratification strategy.