Methicillin-resistant Staphylococcus aureus (MRSA) infections are a global public health problem. MRSA strains have acquired a non-native penicillin-binding protein called PBP2a that crosslinks peptidoglycan when the native S. aureus PBPs are inhibited by β-lactams. If assembly of the pentaglycine branch on the cell wall precursor Lipid II is genetically blocked, MRSA strains become susceptible to β-lactams. Therefore, it has been proposed that PBP2a can only crosslink peptidoglycan strands bearing a complete pentaglycine branch. This hypothesis has never been tested because the necessary substrates have not been available. Here, we obtained S. aureus Lipid II variants having shorter glycine branches and have tested whether PBP2a and two other S. aureus transpeptidases, PBP2 and PBP4, can crosslink peptidoglycan strands made from the variants. There are striking differences in enzymatic activity among these enzymes depending on the length of the glycine branch, but we find that PBP2a can, in fact, crosslink glycan strands bearing triglycine. We report experiments in cells that are consistent with our in vitro findings about the crosslinking preferences of these PBPs. In addition to providing insights into the cell wall physiology of a major pathogen, our studies identify the best target for β-lactam potentiators to treat MRSA.