•Tannic acid reduces production of IL-17 in DSS-induced colitis. This evidence concerns the gene IL17A and colitis.