Cell shape and cell-envelope integrity of bacteria are determined by the peptidoglycan 12 cell wall. In rod-shaped Escherichia coli, two conserved sets of machinery are essential for cell-wall 13 insertion in the cylindrical part of the cell, the Rod complex and the class-A penicillin-binding 14 proteins (aPBPs). While the Rod complex governs rod-like cell shape, aPBP function is less well 15 understood. aPBPs were previously hypothesized to either work in concert with the Rod complex 16 or to independently repair cell-wall defects. First, we demonstrate through modulation of enzyme 17 levels that class-A PBPs do not contribute to rod-like cell shape but are required for mechanical 18 stability, supporting their independent activity. By combining measurements of cell-wall stiffness, 19 cell-wall insertion, and PBP1b motion at the single-molecule level we then demonstrate that PBP1b, 20 the major class-A PBP, contributes to cell-wall integrity by localizing and inserting peptidoglycan in 21 direct response to local cell-wall defects. 22 23 adjacent glycan strands. To avoid the formation of large pores in the cell wall during growth, cell-wall 29 insertion and cell-wall cleavage must be tightly coordinated (Vollmer et al., 2008). 30 Cell-wall insertion involves two kinds of enzymatic reactions: transglycosylase (TGase) activity to 31 extend the glycan strands, and transpeptidase (TPase) activity to create cross-links between glycan 32 strands. During side-wall elongation these two activities are carried out by two sets of machinery 33 (Cho et al., 2016). First, the Rod complex comprises the Penicillin-Binding Protein PBP2, an essential 34 transpeptidase (TPase), and RodA, an essential transglycosylase (TGase) and member of the SEDS 35 (shape, elongation, division and sporulation) family of proteins (Meeske et al., 2016; Emami et al., 36 2017). Together with the MreB cytoskeleton these and other Rod-complex components persistently 37 rotate around the cell (Lee et al., 2014; Cho et al., 2016) and are responsible for rod-like cell shape. 38 Second, bi-functional and essential class-A PBPs (aPBP's) PBP1a and PBP1b carry out both TPase and 39 TGase activities. PBP1a and PBP1b are activated by the outer-membrane lipoprotein cofactors LpoA 40 1 of 34 and LpoB, respectively (Typas et al., 2010; Paradis-Bleau et al., 2010; Typas et al., 2012). Mutants 41 in either PBP1a-LpoA or PBP1b-LpoB are viable and don't show any strong phenotype during 42 regular growth, but mutants in components from both pairs are synthetically lethal (Yousif et al., 43 1985; Typas et al., 2010; Paradis-Bleau et al., 2010). aPBPs also interact with cell-wall cleaving lytic 44 transglycosylases and DD-endopeptidases (Banzhaf et al., 2019), consistent with the possibility that 45 they form multi-enzyme complexes responsible for both cell-wall expansion and insertion. 46 In the past, aPBPs have been suggested to work in close association with the MreB-based 47 Rod complex (Pazos et al., 2017), motivated by biochemical interactions...