Patient description: The patient is a 57-year-old man with abdominal pain and vomiting. The pain started gradually about 20 hours ago in the epigastric and periumbilical regions, radiating to his back. He drinks around 60 units of alcohol per week and smokes 22 cigarettes per day. He is healthy with no history of allergies or using any medications. His family history is positive for type 2 diabetes (his father and sister). He lives alone and has no children. The abdomen is tender and soft. His bowel sounds are normal. His heart rate is 115/min and blood pressure 110/75 mmHg. The lab results are remarkable for leukocytosis (19.5), urea of 8.5, high CRP (145), high amylase (1200) and Glc level of 15. Cross-sectional imaging was negative for obstructive pancreatitis.

Clinical trial eligibility criteria: eligible ages (years): 18.0-65.0,  Idiopathic Chronic Pancreatitis Pain Patients will be eligible if: They are age 18 years or older They have daily abdominal pain for at least three months attributed to their chronic pancreatitis Average pain scores (VAS) in the baseline period higher than 4. The diagnosis of chronic pancreatitis will be based on the existence of chronic abdominal pain and at least one of the four following Calcifications throughout the pancreas on plain abdominal radiograph. Endoscopically derived pancreatogram showing ductal changes consistent with chronic pancreatitis. Abnormal secretin pancreatic function test with a peak bicarbonate level of less than 70 mEq/L (normal being >80 mEq/L). Tissue diagnosis of chronic pancreatitis from a surgical specimen  Other causes of chronic pancreatitis will be excluded as follows: Hereditary pancreatitis based on genetic mutations or a family history of pancreatitis; Alcohol abuse (the for "at risk" [heavy] drinking established by the National Institute on Alcohol Abuse and Alcoholism [NIAAA], which suggest that the person is at risk for adverse consequences, are greater than 14 drinks per week or 4 drinks per occasion for men, and greater than 7 drinks per week or 3 drinks per occasion for women); Medications associated with the development of pancreatitis (e.g. valproic acid, metronidazole, tetracycline, sulfonamides, nitrofurantoin, azathioprine, pentamidine), trauma, metabolic causes including hyperlipidemia and hypercalcemia, and autoimmune pancreatitis. Participants will be excluded if there are known complications of chronic pancreatitis requiring interventions including pseudocysts or pancreatic duct obstruction or if there is the presence of cancer. In addition, in order to minimize the risk of TMS, the following will be followed: Patients with a clinical diagnosis of severe depression including suicidal ideation; Prior neurosurgical procedure; Past history of epilepsy or family history of epilepsy; Previous head injury; Metal located in the head, i.e. shrapnel, surgical clips, or fragments from welding; Signs of increased intracranial pressure; Stroke; Chronic treatment with epileptogenic medications; Abnormal neurological examination other than as signs of the condition studied in the present protocol; Implanted pacemaker; Medication pump; Vagal stimulator; Deep brain stimulator; Transcutaneous electrical stimulation (TENS) unit and ventriculo-peritoneal shunt; Pregnancy; Other chronic medical conditions and history of substance abuse; History of medical and surgical therapies for pain within 3 months