The forward genetic screen is a powerful, unbiased method to gain insights into biological processes, yet this approach has infrequently been used in vivo in mammals because of high resource demands. Here, we use in vivo somatic Cas9 mutagenesis to perform an in vivo forward genetic screen in mice to identify regulators of cardiomyocyte (CM) maturation, the coordinated changes in phenotype and gene expression that occur in neonatal CMs. We discover and validate a number of transcriptional regulators of this process. Among these are RNF20 and RNF40, which form a complex that monoubiquitinates H2B on lysine 120. Mechanistic studies indicate that this epigenetic mark controls dynamic changes in gene expression required for CM maturation. These insights into CM maturation will inform efforts in cardiac regenerative medicine. More broadly, our approach will enable unbiased forward genetics across mammalian organ systems.