Gallstones are the main cause of acute pancreatitis. For chronic pancreatitis, the main cause is heavy, daily alcohol use.