The compound Sophora flavescenes (Kushen) decoction was found to reduce the inflammatory symptom of Ulcerative Colitis (UC). However, there exists a very limited understanding of the molecular pharmacological mechanisms. This study aimed to explore the mechanism of compound Sophora flavescens (Kushen) decoction in treating ulcerative colitis from the perspective of network pharmacology. Active components and potential targets of compound Sophora flavescens (Kushen) decoction were obtained through the Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform (TCMSP) database. GeneCards and other databases were used to predict and screen ulcerative colitis-related genes. Cytoscape software was applied to construct the "drugactive component-disease-target" network. GO function and KEGG pathway enrichment analyses revealed the potential pathway of the compound Sophora flavescenes (Kushen) decoction for UC. After the screening, a total of 124 active ingredients and 163 potential therapeutic targets for UC were obtained from the compound Sophora flavescens (Kushen) decoction. Protein interaction network analysis showed that 15 key targets could be identified for the possible treatment of UC. GO and KEGG analyses showed that the active ingredients in the compound Sophora flavescens (Kushen) decoction were mainly enriched in 2556 biological processes and 172 signaling pathways. The study showed that the compound Sophora flavescens (Kushen) decoction has therapeutic effects on UC through multi-component, multi-target, and multi-pathway.