In this study, both the intestinal bacterial community and the infection of S. typhimurium had effects on the NF-κB gene’s expression and performed differently between 0–14 and 14–21 days. This evidence concerns the gene NFKB1 and infection.