Siegesbeckiae Herba, a traditional Chinese medicine, originates from Siegesbeckia orientalis, S. glabrescens, and S. pubescens in the Pharmacopoeia of the People's Republic of China. However, accurate identification of decoction pieces from the three plants remains a challenge. In this study, 26 batches of Siegesbeckiae Herba were identified by deoxyribonucleic acid barcoding, and their chemical compositions were determined using ultra-performance liquid chromatographyelectrospray ionization-quadrupole time of flight-mass spectrometry. The results showed that the internal transcribed spacer 2 and internal transcribed spacer 1-5.8 S-internal transcribed spacer 2 sequences could distinguish three species. In total, 48 compounds were identified including 12 marker compounds screened for three species using the partial least square discriminant analysis. Among these, two diterpenoids 16-O-malonylkirenol and 15-O-malonylkirenol, and a novel diterpenoid 15,16-di-O-malonylkirenol were isolated and identified. A convenient method for the identification of Siegesbeckiae Herba was established using kirenol and 16-O-acetlydarutoside as control standards by thin-layer chromatography. Unexpectedly, none of the batches of S. orientalis contained kirenol, which did not meet the quality standards of Siegesbeckiae Herba, suggesting that the rationality of kirenol as a quality marker for S. orientalis should be further investigated. The results of this study will contribute to the quality control of Siegesbeckiae Herba.