Our data demonstrate that the two principal immune pathways in Drosophila, the Toll and Imd pathways, upregulate the expression of CrebA in response to bacterial challenge and that loss of CrebA in the fat body triggers ER stress upon infection. This evidence concerns the gene TLR4 and infection.