Inflammatory bowel disease (IBD) is an inflammatory disease of the intestine whose primary pathological presentation is the destruction of the intestinal epithelium. The intestinal epithelium, located between the lumen and lamina propria, transmits luminal microbial signals to the immune cells in the lamina propria, which also modulate the intestinal epithelium. In IBD patients, intestinal epithelial cells (IECs) die dysfunction and the mucosal barrier is disrupted, leading to the recruitment of immune cells and the release of cytokines. In this review, we describe the structure and functions of the intestinal epithelium and mucosal barrier in the physiological state and under IBD conditions, as well as the patterns of epithelial cell death and how immune cells modulate the intestinal epithelium providing a reference for clinical research and drug development of IBD. In addition, according to the targeting of epithelial apoptosis and necroptotic pathways and the regulation of immune cells, we summarized some new methods for the treatment of IBD, such as necroptosis inhibitors, microbiome regulation, which provide potential ideas for the treatment of IBD. This review also describes the potential for integrating AI-driven approaches into innovation in IBD treatments.