Research into traditional Chinese medicine metabolism in feces is one of the key avenues to understanding the fate of traditional Chinese medicines in vivo. In this study, we used ultraperformance liquid chromatography–quadrupole time‐of‐flight MS in combination with a post‐targeted screening strategy to identify the prototype components and metabolites in rat feces after oral administration. Based on our group's previous research, the component database of Qi‐Yu‐San‐Long decoction (QYSLD) was established. Prototype components were screened from the fecal samples based on summarized chromatographic and MS behaviors. According to the chemical structure characteristics of related compounds, the possible metabolic pathways were inferred, and the metabolites related to QYSLD were predicted. We extracted ion chromatograms by predicting the m/z values of metabolite excimer ions and identified related metabolites based on their retention time and fragmentation behavior. A total of 93 QYSLD‐related xenobiotics were confirmed or tentatively identified in rat fecal samples, and the results indicated that the main metabolic pathways of QYSLD were hydrolysis, deglycosylation, oxidation, reduction, decarboxylation, methylation and acetylation. This study presents a rapid method for identifying the prototype components and metabolites, and offers valuable insights into the biotransformation profiling of QYSLD in rat feces.