During embryo development, DNA methylation is established by DNMT3A/3B and subsequently maintained by DNMT1. While much research has been done in this field, the functional significance of DNA methylation in embryogenesis remains unknown. Here, we establish a system of simultaneous inactivation of multiple endogenous genes in zygotes through screening for base editors that can efficiently introduce a stop codon. Embryos with mutations inDnmtsand/orTetscan be generated in one step with IMGZ.Dnmt-null embryos display gastrulation failure at E7.5. Interestingly, although DNA methylation is absent, gastrulation-related pathways are down-regulated inDnmt-null embryos. Moreover, DNMT1, DNMT3A, and DNMT3B are critical for gastrulation, and their functions are independent of TET proteins. Hypermethylation can be sustained by either DNMT1 or DNMT3A/3B at some promoters, which are related to the suppression of miRNAs. The introduction of a single mutant allele of six miRNAs and paternalIG-DMR partially restores primitive streak elongation inDnmt-null embryos. Thus, our results unveil an epigenetic correlation between promoter methylation and suppression of miRNA expression for gastrulation and demonstrate that IMGZ can accelerate deciphering the functions of multiple genes in vivo.