And to provide a novel? -Galactosidase. Beta -galactosidase derived from Bacillus subtilis and genes thereof are provided. The? -Galactosidase of the present invention can be used for the production of milk, dairy products, fermented milk products, galactooligosaccharides or food supplements.신규한 β-갈락토시다제를 제공하는 것을 과제로 한다. 바실러스 서쿨란스 유래의 β-갈락토시다제 및 그 유전자가 제공된다. 본 발명의 β-갈락토시다제는, 우유, 유제품, 발효유 제품, 갈락토올리고당 또는 식사용 보충제의 제조 등에 이용 가능하다.