In vivo, deletion of FXR resulted in a more severe impairment of autophagic flux, whereas the FXR agonists GW4064 significantly stimulated the autophagic flux and reduced the accumulation of autophagic vesicles in the pancreatic tissues of mice with pancreatitis. This evidence concerns the gene NR1H4 and pancreatitis.