Disclosed is a novel ²-galactosidase. Specifically disclosed are a ²-galactosidase derived from Bacillus circulans and a gene for the ²-galactosidase. The ²-galactosidase can be used, for example, in the production of milk, dairy products, fermented dairy products, galacto-oligosaccharides or supplements for foods.