Here, the authors show that cystatin C (CST3) regulates the activity of cathepsin B during pancreatitis in a pH dependent manner. Here, CTSB is linked to pancreatitis.