Nonhomologous end joining (NHEJ) is a critical DNA double-strand break (DSB) repair pathway required to maintain genome stability. Many prokaryotes possess a minimalist NHEJ apparatus required to repair DSBs during stationary phase, composed of two conserved core proteins, Ku and ligase D (LigD). The crystal structure of Mycobacterium tuberculosis polymerase domain of LigD mediating the synapsis of two noncomplementary DNA ends revealed a variety of interactions, including microhomology base pairing, mismatched and flipped-out bases, and 3' termini forming hairpin-like ends. Biochemical and biophysical studies confirmed that polymerase-induced end synapsis also occurs in solution. We propose that this DNA synaptic structure reflects an intermediate bridging stage of the NHEJ process, before end processing and ligation, with both the polymerase and the DNA sequence playing pivotal roles in determining the sequential order of synapsis and remodeling before end joining.