The present study aimed to investigate the regulatory effect of probiotics on the expression of Toll-like receptors (TLRs) in an ulcerative colitis (UC) rat model, and to determine the role of probiotics in the underlying mechanisms through which UC develops and progresses in rat models. Rats were randomly allocated to one of the four following groups: i) The healthy control, ii) the model, iii) the Golden bifid treatment group, and iv) the TLR4 monoclonal antibody (TLR4mAb) intervention group. The UC rat model was established using 2,4,6-trinitro-benzene sulfonic acid. The general status and histological changes of rats were scored using the disease activity index and the histopathological scoring method, respectively. In these rats, the expression of TLR4 and TLR2 was measured using reverse transcription-quantitative polymerase chain reaction. The expression of TLR4 and TLR2 in the model group was significantly higher than that in the healthy control group. However, when compared with the model rats, those that received either Golden bifid treatment or TLR4mAb intervention exhibited significantly decreased mRNA expression levels of TLR4 and TLR2 (P < 0.05). The development of UC is characterized by an abnormal immune response in the intestines. Probiotics alleviated inflammatory reactions in rats with UC. The underlying mechanism of UC may be associated with the expression of TLRs and the subsequent release of inflammatory cytokines.