Functional enrichment analysis revealed that these DEGs were mainly involved in immune response, chemokine signaling, IL−17 signaling, cytokine receptor interactions, inflammatory bowel disease, etc. ABCG2, HSPB3, SLC6A14, and VNN1 were identified as potential biomarkers for UC and validated in the GSE13367 dataset (AUC = 0.889, 95% CI: 0.797~0.961). This evidence concerns the gene IL17A and inflammatory bowel disease.