Berberine is a traditional medicine that has multiple medicinal and agricultural applications. However, little is known about whether berberine can be a bioactive molecule toward carbohydrate-active enzymes, which play numerous vital roles in the life process. In this study, berberine and its analogs were discovered to be competitive inhibitors of glycoside hydrolase family 20 -N-acetyl-D-hexosaminidase (GH20 Hex) and GH18 chitinase from both humans and the insect pest Ostrinia furnacalis. Berberine and its analog SYSU-1 inhibit insect GH20 Hex from O. furnacalis (OfHex1), with K i values of 12 and 8.5 M, respectively. Co-crystallization of berberine and its analog SYSU-1 in complex with OfHex1 revealed that the positively charged conjugate plane of berberine formsstacking interactions with Trp 490 , which are vital to its inhibitory activity. Moreover, the 1,3-dioxole group of berberine binds an unexplored pocket formed by Trp 322 , Trp 483 , and Val 484 , which also contributes to its inhibitory activity. Berberine was also found to be an inhibitor of human GH20 Hex (HsHexB), human GH18 chitinase (HsCht and acidic mammalian chitinase), and insect GH18 chitinase (OfChtI). Besides GH18 and GH20 enzymes, berberine was shown to weakly inhibit human GH84 O-GlcNAcase (HsOGA) and Saccharomyces cerevisiae GH63 ␣-glucosidase I (ScGluI). By analyzing the published crystal structures, berberine was revealed to bind with its targets in an identical mechanism, namely viastacking and electrostatic interactions with the aromatic and acidic residues in the binding pockets. This paper reports new molecular targets of berberine and may provide a berberine-based scaffold for developing multitarget drugs. Berberine is an isoquinoline quaternary alkaloid widely distributed in the root, stem, and bark of plants from the Berberis and Coptis families, such as Berberis aristata, Berberis aquifolium, Berberis vulgaris, Coptis chinesis, Coptis japonica, and Coptis rhizome (1-3). Berberine has been used for more than 3,000 years in Ayurvedic, Chinese, and Middle-Eastern folk medicine for its antimicrobial, antiprotozoal, antidiarrheal, and antitrachomatic activities (1-3). With the development of modern biomedicine, berberine has been revealed to have a very wide range of pharmacological properties, including anticancer, antidiabetic, antidepressant, antihyperlipidemic, and antihypertensive activities (4-8). Moreover, berberine has also been revealed to have potential applications in agriculture for its antifungal, insecticidal, and herbicidal activities (9-11). Corresponding to its multispectrum activities, several molecular targets of berberine, such as glycogen synthase kinase, calmodulin kinase, matrix metalloprotease, acetylcholinesterase, butyrylcholinesterase, monoamine oxidase, DNA topoisomerase, cyclin, and transcriptional factor p53 (12-18), have been discovered. Glycoside hydrolase family 20 -N-acetyl-D-hexosaminidase (GH20 Hex) 3 catalyzes the removal of N-acetyl-D-glucosamine (GlcNAc) or N-acetyl-D-galactosamine (GalNAc) fr...