We first investigated the association between TNF inhibitor use and acute pancreatitis across the entire population and duration of study. Here, TNF is linked to acute pancreatitis.