Our work uncovers a central role of epithelium-autonomous NAIP/NLRC4 in eliciting a fine-tuned early response to the infection, thereby preventing the demise of the epithelial barrier, due to an overshooting pro-inflammatory TNF response in the intestinal mucosa. This evidence concerns the gene NLRC4 and infection.