Second messenger (p)ppGpp (collectively guanosine tetraphosphate and guanosine pentaphosphate) mediates bacterial adaptation to nutritional stress by modulating transcription initiation. More recently, ppGpp has been implicated in coupling transcription and DNA repair; however, the mechanism of ppGpp engagement remained elusive. Here we present structural, biochemical and genetic evidence that ppGpp controlsEscherichia coliRNA polymerase (RNAP) during elongation via a specific site that is nonfunctional during initiation. Structure-guided mutagenesis renders the elongation (but not initiation) complex unresponsive to ppGpp and increases bacterial sensitivity to genotoxic agents and ultraviolet radiation. Thus, ppGpp binds RNAP at sites with distinct functions in initiation and elongation, with the latter being important for promoting DNA repair. Our data provide insights on the molecular mechanism of ppGpp-mediated adaptation during stress, and further highlight the intricate relationships between genome stability, stress responses and transcription.