Resveratrol pre-treatment alleviated caerulein-induced acute pancreatitis in high-fat diet-feeding mice via suppressing the NF-κB proinflammatory signaling and improving the gut microbiota. Here, NFKB1 is linked to acute pancreatitis.