Genomic imprinting requires the differential marking by DNA methylation of genes in male and female gametes. In the female germline, acquisition of methylation imprint marks depends upon the de novo methyltransferase Dnmt3a and its cofactor Dnmt3L, but the reasons why specific sequences are targets for Dnmt3a and Dnmt3L are still poorly understood. Here, we investigate the role of transcription in establishing maternal germline methylation marks. We show that at the Gnas locus, truncating transcripts from the furthest upstream Nesp promoter disrupts oocyte-derived methylation of the differentially methylated regions (DMRs). Transcription through DMRs in oocytes is not restricted to this locus but occurs across the prospective DMRs at many other maternally marked imprinted domains, suggesting a common requirement for transcription events. The transcripts implicated here in gametic methylation are protein-coding, in contrast to the noncoding antisense transcripts involved in the monoallelic silencing of imprinted genes in somatic tissues, although they often initiate from alternative promoters in oocytes. We propose that transcription is a third essential component of the de novo methylation system, which includes optimal CpG spacing and histone modifications, and may be required to create or maintain open chromatin domains to allow the methylation complex access to its preferred targets.