Bacterial lysins are potent antibacterial enzymes with potential applications in the treatment of bacterial infections. Some lysins lose activity in the growth media of target bacteria, and the underlying mechanism remains unclear. Here we use CD11, an autolysin of Clostridium difficile, as a model lysin to demonstrate that the inability of this enzyme to kill C. difficile in growth medium is not associated with inhibition of the enzyme activity by medium, or the modification of the cell wall peptidoglycan. Rather, wall teichoic acids (WTAs) appear to prevent the enzyme from binding to the cells and cleaving the cell wall peptidoglycan. By partially blocking the biosynthetic pathway of WTAs with tunicamycin, cell binding improved and the lytic efficacy of CD11 was significantly enhanced. This is the first report of the mechanism of lysin inactivation in growth medium, and provides insights into understanding the behavior of lysins in complex environments, including the gastrointestinal tract.