To withstand their internal turgor pressure and external threats, most bacteria have a protective peptidoglycan (PG) cell wall. The growth of this PG polymer relies on autolysins, enzymes that create space within the structure. Despite extensive research, the regulatory mechanisms governing these PG-degrading enzymes remain poorly understood. Here, we unveil a novel and widespread control mechanism of lytic transglycosylases (LTs), a type of autolysin responsible for breaking down PG glycan chains. Specifically, we show that LD-crosslinks within the PG sacculus act as an inhibitor of LT activity. Moreover, we demonstrate that this regulation controls the release of immunogenic PG fragments and provides resistance against predatory LTs of both bacterial and viral origin. Our findings address a critical gap in understanding the physiological role of the LD-crosslinking mode in PG homeostasis, highlighting how bacteria can enhance their resilience against environmental threats, including phage attacks, through a single structural PG modification.