These results indicated that the influence of NLRP6 on intestinal bacterial communities might partly depend on IL‐18 and IL‐18 had a protective role in DSS‐induced colitis. Here, NLRP6 is linked to colitis.