BACKGROUND: The adult mammalian heart has limited ability to repair itself after injury. Zebrafish, newts, and neonatal mice can regenerate cardiac tissue, largely by cardiac myocyte (CM) proliferation. It is unknown whether hearts of young large mammals can regenerate. METHODS: We examined the regenerative capacity of the pig heart in neonatal animals (ages 2, 3, or 14 days postnatal) after myocardial infarction or sham procedure. Myocardial scar and left ventricular function were determined by cardiac magnetic resonance imaging and echocardiography. Bromodeoxyuridine pulse-chase labeling, histology, immunohistochemistry, and Western blotting were performed to study cell proliferation, sarcomere dynamics, and cytokinesis and to quantify myocardial fibrosis. RNA-sequencing was also performed. RESULTS: After myocardial infarction, there was early and sustained recovery of cardiac function and wall thickness in the absence of fibrosis in 2-day-old pigs. In contrast, older animals developed full-thickness myocardial scarring, thinned walls, and did not recover function. Genome-wide analyses of the infarct zone revealed a strong transcriptional signature of fibrosis in 14-day-old animals that was absent in 2-day-old pigs, which instead had enrichment for cytokinesis genes. In regenerating hearts of the younger animals, up to 10% of CMs in the border zone of the myocardial infarction showed evidence of DNA replication that was associated with markers of myocyte division and sarcomere disassembly. CONCLUSIONS: Hearts of large mammals have regenerative capacity, likely driven by cardiac myocyte division, but this potential is lost immediately after birth.