Our findings reveal that TLR7-deficiency promotes the development of LP CD8+ TRM cells under steady-state condition and exacerbates susceptibility to dextran sulfate sodium (DSS)-induced colitis. This evidence concerns the gene TLR7 and colitis.