In this review, we summarize recent insights into the mechanism and regulation of CFTR-mediated and modulated bicarbonate secretion in the pancreatic duct, including the role of the osmotic stress/chloride sensor WNK1 and the scaffolding protein IRBIT, and current knowledge about the role of CFTR in genetic and acquired forms of pancreatitis. This evidence concerns the gene CFTR and pancreatitis.