In conclusion, our study demonstrated that PA induces ERS in HepG2 cells and subsequently activates downstream NLRP3 inflammasome-mediated cellular injury, while PCB2 inhibits NLRP3/caspase 1/IL-1β pathway, inflammation, and apoptosis with the presence of ERS, thereby promoting cell survival, which may provide pharmacological evidence for clinical approaches on NAFLD. This evidence concerns the gene NLRP3 and metabolic dysfunction-associated steatotic liver disease.