A novel β-glucosidase BglD2 with glucose and ethanol tolerant properties was screened and cloned from the deep-sea bacterium Bacillus sp. D1. The application potential of BglD2 toward polydatin-hydrolyzing was also evaluated.