A novel substrate {Galβ1,4GlcNAcβ1,4GlcNAc-β- p NP [Gal(GlcNAc)2-β- p NP]} for assaying lysozyme activity has been designed using docking simulations and enzymatic synthesis via β-1,4-galactosyltransferase-mediated transglycosylation from UDP-Gal as the donor to (GlcNAc)2-β- p NP as the acceptor. Hydrolysis of the synthesized Gal(GlcNAc)2-β- p NP and related compounds using hen egg-white lysozyme (HEWL) demonstrated that the substrate was specifically cleaved to Gal(GlcNAc)2 and p -nitrophenol ( p NP). A combination of kinetic studies and docking simulation was further conducted to elucidate the mode of substrate binding. The results demonstrate that Gal(GlcNAc)2-β- p NP selectively binds to a subsite of lysozyme to liberate the Gal(GlcNAc)2 and p NP products. The work therefore describes a new colorimetric method for quantifying lysozyme on the basis of the determination of p NP liberated from the substrate.