CRISPR-Cas9 has been used successfully to introduce indels in somatic cells of rodents; however, precise editing of single nucleotides has been hampered by limitations of flexibility and efficiency. Here, we report technological modifications to the CRISPR-Cas9 vector system that now allows homology-directed repair-mediated precise editing of any proto-oncogene in murine somatic tissues to generate tumor models with high flexibility and efficiency. Somatic editing of either Kras or Pik3ca in both normal and hyperplastic mammary glands led to swift tumorigenesis. The resulting tumors shared some histological, transcriptome, and proteome features with tumors induced by lentivirus-mediated expression of the respective oncogenes, but they also exhibited some distinct characteristics, particularly showing less intertumor variation, thus potentially offering more consistent models for cancer studies and therapeutic development. Therefore, this technological advance fills a critical gap between the power of CRISPR technology and high-fidelity mouse models for studying human tumor evolution and preclinical drug testing.