The present invention has a purpose of providing a novel ²-galactosidase enzyme useful for the production of oligosaccharides. Disclosed is a ²-galactosidase enzyme comprising the amino acid sequence of any one of SEQ ID NOs: 1 to 4 or an amino acid sequence that is 80% or more identical to said amino acid sequence.