Di(2-ethylhexyl) phthalate (DEHP) is a plasticizer that can damage various organizations and physiques through oxidative stress. Quercetin (Que) is a rich polyphenol flavonoid with good anti-inflammatory and antioxidant effects. However, the protection mechanism of Que against DEHP exposure-induced IPEC-J2 cell injury and the implication of autophagy, apoptosis and immunity are still unclear. In this experiment, we looked into the toxicity regime of DEHP exposure on IPEC-J2 cells and the antagonistic function of Que on DEHP. In the experiment, 135 μM DEHP and/or 80 μM Que were used to treat the IPEC-J2 cells for 24h. Experiments indicated that DEHP exposure can cause increased reactive oxygen species (ROS) levels leading to oxidative stress, decreased CAT, T-AOC and GSH-Px activities, increased MDA and H2O2 accumulation, activated the ASK1/JNK signalling pathway, and further increases in the levels of apoptosis markers Bax, Caspase3, Caspase9, and Cyt-c, while reduced the Bcl-2 expression. DEHP also increased the expression of genes linked to autophagy (ATG5, Beclin1, LC3), while decreasing the expression of P62. Additionally, DEHP exposure led to elevated levels of IL1-β, IL-6, MCP-1, and TNF expression. When exposed to Que alone, there were no significant changes in cellular oxidative stress level, ASK1/JNK signalling pathway expression level, apoptosis, autophagy and cellular immune function. The combination of DEHP and Que treatment remarkably decreased the proportion of autophagy and apoptosis, and recovered cellular immunity. In summary, Que can attenuate DEHP-induced apoptosis and autophagy in IPEC-J2 cells by regulating the ROS/ASK1/JNK signalling pathway and improving the immune dysfunction of IPEC-J2 cells.