In conclusion, the diversity and composition of the gut microbiota in CRC patients with KRAS mutations have changed significantly, which Bacteroides positively correlated with KRAS mutations. Here, KRAS is linked to colorectal carcinoma.