DNA methylation is a well-characterized epigenetic modification involved in gene regulation and transposon silencing in mammals. It mainly occurs on cytosines at CpG sites but methylation at non-CpG sites is frequently observed in embryonic stem cells, induced pluriotent stem cells, oocytes and the brain. The biological significance of non-CpG methylation is unknown. Here, we show that non-CpG methylation is also present in male germ cells, within and around B1 retrotransposon sequences interspersed in the mouse genome. It accumulates in mitotically arrested fetal prospermatogonia and reaches the highest level by birth in a Dnmt3l-dependent manner. The preferential site of non-CpG methylation is CpA, especially CpApG and CpApC. Although CpApG (and CpTpG) sites contain cytosines at symmetrical positions, hairpin-bisulfite sequencing reveals that they are hemimethylated, suggesting the absence of a template-dependent copying mechanism. Indeed, the level of non-CpG methylation decreases after the resumption of mitosis in the neonatal period, whereas that of CpG methylation does not. The cells eventually lose non-CpG methylation by the time they become spermatogonia. Our results show that non-CpG methylation accumulates in non-replicating, arrested cells but is not maintained in mitotically dividing cells during male germ-cell development.