Yanlishuang Pills is a kind of traditional Chinese medicine used to treat pharyngitis widely. In this study, we used gas chromatography tandem mass spectrometry (GC-MS) to establish a method for the fingerprint and quantitative analysis of the four major components of Yanlishuang Pills, which can provide a more reliable method for its quality control. We used the software "Chromatographic Fingerprint Similarity Evaluation System for Traditional Chinese Medicine", version A, 2004, to obtain fingerprint using the averaging method with a time width of 0.1. The peak with the largest peak area was used as the reference peak to determine the shared peaks and generate the common pattern. Then the main components of the Yanlishuang Pills were identified and their contents were determined in GC-MS SIM mode using internal standard method.The fingerprint established by GC-MS were reproducible, and a total of 18 common peaks were identified in the fingerprint of 13 batches of samples, and the similarity of the fingerprint of each batch of samples was above 0.99. The concentrations of camphor, menthone, borneol and menthol of the four main ingredients of the Yanlishuang Pills were linearly well within the range of 25.13-150.78 μg/mL (r = 0.9995), 28.77-172.62 μg/mL (r = 0.9991), 299.70-1798.20 μg/mL (r = 0.9997), 121.98-731.88 μg/mL (r = 0.9997), and the average recoveries were 102.02% (RSD of 1.3%), 96.10% (RSD of 1.0%), 102.71% (RSD of 1.3%), 102.58% (RSD of 1.1%), respectively, with good precision, reproducibility, and stability within 16 h. The camphor content of the 13 batches of samples was 5.6025-8.3662 mg/g, menthone content was 4.7871-5.8936 mg/g, borneol content was 88.0034-133.0969 mg/g and menthol was 40.2017-61.9466 mg/g. The fingerprints of the Yanlishuang Pills established by GC-MS were characterized by a common pattern, and the simultaneous determination of camphor, menthone, borneol and menthol in the Yanlishuang Pills was rapid, simple and accurate. In conclusion, the determination of the content of multiple ingredients combined with fingerprinting can provide a more comprehensive control of the quality of Yanlishuang Pills.