In this study, we demonstrate that the ATF3-Raw module buffers excessive activation of JNK signalling and thereby restrains epithelial cell death, a function that is essential for normal gut homeostasis and optimal survival following infection. This evidence concerns the gene MAPK8 and infection.