The human heart is infamous for not healing after infarction in adults, prompting biomedical interest in species that can regenerate damaged hearts. In such animals as zebrafish and neonatal mice, cardiac repair relies on remaining heart tissue supporting cardiomyocyte proliferation. Natural de novo cardiogenesis in post-embryonic stages thus remains elusive. Here we show that the tunicate Ciona, an ascidian among the closest living relatives to the vertebrates, can survive complete chemogenetic ablation of the heart and loss of cardiac function, and recover both cardiac tissue and contractility. As in vertebrates, Ciona heart regeneration relies on Bone Morphogenetic Protein (BMP) signaling-dependent proliferation of cardiomyocytes, providing insights into the evolutionary origins of regenerative cardiogenesis in chordates. Remarkably, prospective lineage tracing by photoconversion of the fluorescent protein Kaede suggested that new cardiomyocytes can emerge from endodermal lineages in post-metamorphic animals, providing an unprecedented case of regenerative de novo cardiogenesis. Finally, while embryos cannot compensate for early losses of the cardiogenic lineage, forming heartless juveniles, developing animals gain their regenerative ability during metamorphosis, uncovering a fundamental transition between deterministic embryogenesis and regulative post-embryonic development.