DNA primases are template-dependent RNA polymerases that synthesize oligoribonucleotide primers that can be extended by DNA polymerase. The bacterial primases consist of zinc binding and RNA polymerase domains that polymerize ribonucleotides at templating sequences of single-stranded DNA. We report a crystal structure of bacteriophage T7 primase that reveals its two domains and the presence of two Mg2+ ions bound to the active site. NMR and biochemical data show that the two domains remain separated until the primase binds to DNA and nucleotide. The zinc binding domain alone can stimulate primer extension by T7 DNA polymerase. These findings suggest that the zinc binding domain couples primer synthesis with primer utilization by securing the DNA template in the primase active site and then delivering the primed DNA template to DNA polymerase. The modular architecture of the primase and a similar mechanism of priming DNA synthesis are likely to apply broadly to prokaryotic primases.