Objective To excavate the small complex prescriptions for the treatment of ulcerative colitis (UC) with syndrome of spleen deficiency and dampness accumulation based on medication rule of Traditional Chinese Medicine compound patents, and to analyze their potential mechanism through network pharmacology. Methods Traditional Chinese Medicine compound patents for the treatment of UC was retrieved from the official website of China National Intellectual Property Administration. The drug flavor, drug property, meridians, frequency of effect classification were analyzed, and the association rule analysis and cluster analysis were conducted for excavating small complex prescriptions for treating UC with syndrome of spleen deficiency and dampness accumulation. The Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform and SwissADME databases were adopted to search the chemical components of drugs of small complex prescriptions. The SwissTargetPrediction database was employed to predict effect targets of chemical components. The databases such as GeneCards® were used to obtain targets related to UC and intersection as potential effect targets. The potential effect targets were imported into the STRING database, and the top 50 potential effect targets with Degree value were used to establish a protein⁃protein interaction network, and the associated chemical components were used as potential active components. The Gene Ontology functional enrichment analysis and Kyoto Encyclopedia of Genes and Genomes pathway enrichment analysis were performed on potential effect targets. The Cytoscape software was adopted to establish drug⁃potential active component⁃potential effect targets network. Results A total of 308 patents of Traditional Chinese Medicine compound were obtained, including 525 categories of drugs, among which drugs such as licorice, Atractylodes macrocephala, Coptidis rhizoma, Paeoniae radix alba, Aucklandiae radix, Codonopsis radix, Poria cocos, Hedysarum multijugum were frequently used. A total of 525 categories of drugs were mainly bitter and warm, mostly belonged to spleen meridian, and most of them were tonifying deficiency drugs and heat clearing drugs. The cluster analysis combined with clinical experience revealed that the small complex prescriptions for the treatment of UC with syndrome of spleen deficiency and dampness accumulation was composed of Atractylodes macrocephala, Poria cocos, Codonopsis radix, Paeoniae radix alba, licorice, Hedysarum multijugum, and Aucklandiae radix. There were 149 chemical components, 1008 corresponding effect targets, 1918 UC⁃related targets, and 347 intersection targets (potential targets) of the small complex prescriptions, including estrogen receptor 1 (ESR1), poly ADP ribose polymerase 1 (PARP1), prostaglandin endoperoxide synthase 2 (PTGS2), etc. A total of 105 potential active components were identified, including glabridin, astragalopteroside, and medipteroidin, etc. Enrichment analysis indicated that the effect targets of small complex prescriptions for the treatment of UC with syndrome of spleen deficiency and dampness accumulation were involved in biological processes such as protein phosphorylation, inflammatory response, and negative regulation of apoptosis, in cellular components such as plasma membrane and its components, cytoplasm, and in molecular functions such as ATP binding, protein serine/threonine/tyrosine kinase activity, and protein kinase activity, as well as in signaling pathways such as cancer pathway, phosphatidylinositol 3⁃kinase (PI3K)/protein kinase B (AKT) signaling pathway, mitogen⁃activated protein kinase (MAPK) signaling pathway. Conclusion The small complex prescriptions for the treatment of UC with syndrome of spleen deficiency and dampness accumulation excavated from the official website of China National Intellectual Property Administration contain 7 flavors of medicinal materials, which conforms to the clinical treatment principle of UC. The potential active components are glabridin, astragalopteroside, and medipteroidin, etc., and their mechanism may be related to their involvement in regulating targets such as ESR1, PARP1, PTGS2, mediating cancer pathway, PI3K/AKT signaling pathway, and MAPK signaling pathway.