Mahonia is an important genus of the Berberidaceae family. Most species of Mahonia plants are traditional herbal medicines with various active components, and Mahonia is reported to be rich in alkaloids and essential oils. This study aimed to investigate the content of alkaloids and the chemical composition of the essential oils in five Mahonia species. Roots and stems of five Mahonia species showed higher jatrorrhizine, palmatine and berberine. The sum contents of the palmatine and berberine were all far more over 0.8% both in roots and stems of five Mahonia species. The leaves had higher oil yields than the stems of all species. Ethyl linoleate, phytol isomer, 4-terpineol and a-terpineol were the predominant component in both the stem and leaf oils of the five Mahonia species. Cedrol (2.09-4.33%) was abundant compound in the essential oil of five Mahonia species stems. The phytol content in the leaf oil was markedly higher than that measured in the stems. The essential oil composition from these Mahonia species demonstrated strong tissue and organ specificity. The roots and stems could be considered a good source of alkaloids, and the leaves could be considered a good source of essential oils of five Mahonia species. This work benefits the extensive development of this important and widely used medicinal herb. Keywords Chemical components Á Quality evaluation Á Resource utilization Á Chemometrics 1 Introduction Mahonia Nuttall belongs to the Berberidaceae family of evergreen shrubs or small trees. The family Berberidaceae contains nine genera and 590 species native to the northern hemisphere and South America. The genus Mahonia, which is the second largest genus in Berberidaceae, contains approximately 60 species and is native to East and Southeast Asia, Western North America, Central America and Western South America (He and Mu 2015). It has been recorded that approximately 35 species of the Mahonia genus are distributed in China, growing primarily in southwest China, 23 of which are endemic to China (Flora of China Editorial Committee 2001). The roots, stems and leaves of most of Mahonia species have been used as Chinese herbs for a long history (Ji et al. 2000; Liu and He 2010). These herbs are beneficial for clearing heat, dry dampness, dysentery, hepatitis, jaundice, toothache caused by stomach fire, swelling and abscesses because of their rich alkaloid and volatile oil content (Chung et al. 1999; Zeng et al. 2006; Wong et al. 2009). However, only the roots and stems of Mahonia bealei (Fort.) Carr and Mahonia fortunei (Lindl.) Fedde have been widely used as the raw material ''GongLaoMu'' listed in the Chinese Pharmacopoeia (China Pharmacopeia Commission 2010). The dry leaves from M. bealei and M. fortunei have been used as the raw material ''GongLaoYe'' in traditional Chinese medicine (Zhejiang Food and Drug Administration 2005; Ye 2009). Alkaloids are considered the major bioactive constituents of Mahonia species. Notably, jatrorrhizine, Yanqun Li and Dexin Kong contributed equally to this work.