While the heart regenerates poorly in mammals, efficient heart regeneration occurs in zebrafish. Studies in zebrafish have resulted in a model in which preexisting cardiomyocytes dedifferentiate and reinitiate proliferation to replace the lost myocardium. To identify which processes occur in proliferating cardiomyocytes we have used a single-cell RNA-sequencing approach. We uncovered that proliferating border zone cardiomyocytes have very distinct transcriptomes compared to the nonproliferating remote cardiomyocytes and that they resemble embryonic cardiomyocytes. Moreover, these cells have reduced expression of mitochondrial genes and reduced mitochondrial activity, while glycolysis gene expression and glucose uptake are increased, indicative for metabolic reprogramming. Furthermore, we find that the metabolic reprogramming of border zone cardiomyocytes is induced by Nrg1/ErbB2 signaling and is important for their proliferation. This mechanism is conserved in murine hearts in which cardiomyocyte proliferation is induced by activating ErbB2 signaling. Together these results demonstrate that glycolysis regulates cardiomyocyte proliferation during heart regeneration.