The gut microbiome contributes to inflammatory bowel disease (IBD), in which bacteria can be present within the epithelium. Epithelial barrier function is decreased in IBD, and dysfunctional epithelial mitochondria and endoplasmic reticulum (ER) stress have been individually associated with IBD. We therefore hypothesized that the combination of ER and mitochondrial stresses significantly disrupt epithelial barrier function. Here, we treated human colonic biopsies, epithelial colonoids, and epithelial cells with an uncoupler of oxidative phosphorylation, dinitrophenol (DNP), with or without the ER stressor tunicamycin, and assessed epithelial barrier function by monitoring internalization and translocation of commensal bacteria. We also examined barrier function and colitis in mice exposed to dextran sodium sulphate (DSS) or DNP and co-treated with DAPK6, an inhibitor of death-associated protein kinase 1 (DAPK1). Contrary to our hypothesis, induction of ER stress (i.e. the unfolded protein response) protected against decreased barrier function caused by the disruption of mitochondrial function. ER stress did not prevent DNP-driven uptake of bacteria; rather, specific mobilization of the ATF6 arm of ER stress and recruitment of DAPK-1 resulted in enhanced autophagic killing (xenophagy) of bacteria. Of note, epithelia with a Crohn's disease-susceptibility mutation in the autophagy http://www.jbc.org/cgi