Cinnamon bark (Rou Gui in Chinese), cinnamon twig (Gui Zhi) and shaved cinnamon bark (Gui Sin) have been widely used as spices and in traditional Chinese medicine since ancient times. On-going issues related to quality and authenticity necessitate the development of analytical methods capable of providing an objective evaluation of samples. In this study, chemical fingerprints of cinnamon bark, cinnamon twigs and shaved cinnamon bark were established using liquid chromatography quadruple time-of-flight mass spectrometry in conjunction with principal component analysis (PCA). From 125 samples of cinnamon, we identified the following eight compounds and their the detection ratios: coumarin, cinnamaldehyde, cinnamyl alcohol, cinnamic acid, 2-hydroxycinnamaldehyde, 2-hydroxycinnamic acid, 2-methoxycinnamaldehyde and 4-methoxycinnamaldehyde. Of these, 4-methoxycinnamaldehyde presented the largest variations in detection ratio, making up 64.0, 97.4 and 50.0% in cinnamon bark, cinnamon twig, and shaved cinnamon bark, respectively. The quantities of cinnamyl alcohol, coumarin and cinnamaldehyde also varied between the three parts of the plant. Chemical fingerprints of the three cinnamon samples were established using principal component analysis, the results of which indicate that cinnamon bark and shaved cinnamon bark could be easily differentiated, despite a marked similarity in outward appearance. Cinnamon twig was also shown to depart from the other clusters. The proposed method provides a fast and efficient means of identifying cinnamon herbs for quality control purposes. Copyright © 2016 John Wiley & Sons, Ltd.