Utilising a fast and sensitive screening method based on imidazolium-tagged probes, we report unprecedented reversible activity of bacterial β1,4-galactosyltransferases to catalyse the transgalactosylation from lactose to N-acetylglucosamine to form N-acetyllactosamine in the presence of UDP. The process is demonstrated by the preparative scale synthesis of pNP-β-LacNAc from lactose using β1,4-galactosyltransferase NmLgtB-B as the only biocatalyst.