A structural weakness of the mucus barrier (MB) is thought to be a cause of ulcerative colitis (UC). This study aims to investigate the mucin (MUC) composition of MB in normal mucosa and UC. Ileocolonic biopsies were taken at disease onset and after treatment in 40 patients, including 20 with relapsing and 20 with remitting UC. Ileocolonic biopsies from 10 non-IBD patients were included as controls. Gut-specific MUC1, MUC2, MUC4, MUC5B, MUC12, MUC13, MUC15, and MUC17 were evaluated immunohistochemically. The promoters of mucin genes were also examined. Normal mucosa showed MUC2, MUC5B, and MUC13 in terminal ileum and colon, MUC17 in ileum, and MUC1, MUC4, MUC12, and MUC15 in colon. Membranous, cytoplasmic and vacuolar expressions were highlighted. Overall, the mucin expression was abnormal in UC. Derangements in MUC1, MUC4, and MUC5B were detected both at onset and after treatment. MUC2 and MUC13 were unaffected. Sequence analysis revealed glucocorticoid-responsive elements in the MUC1 promoter, retinoic-acid-responsive elements in the MUC4 promoter, and butyrate-responsive elements in the MUC5B promoter. In conclusion, MUCs exhibited distinct expression patterns in the gut. Their expression was disrupted in UC, regardless of the treatment protocols. Abnormal MUC1, MUC4, and MUC5B expression marked the barrier dysfunction in UC.