The patient was a male with generalized skin and sclera yellowing for 1 month, with progressive deepening of jaundice, without complaints of pain or other discomfort. Physical examination: jaundice. Laboratory examination: obstructive jaundice. B ultrasound: dilated intra- and extra-hepatic bile ducts. CT: dilated intra- and extra-hepatic bile ducts and occupancy of the head of the pancreas. ERCP: pancreatic head occupancy was considered. Dissection under general anesthesia, whole pancreas nodule-like, hard, no obvious isolated mass. Chronic pancreatitis was considered. Multiple puncture biopsies were performed, and the frozen pathology was chronic pancreatitis. Idiopathic immune pancreatitis was considered postoperatively. The development of idiopathic immune pancreatitis is related to the autoimmunity of the body. Diagnostically, it is sometimes difficult to distinguish from pancreatic cancer. Protein electrophoresis immunoglobulin G is often elevated. Definitive diagnosis depends on puncture pathology. Treatment with hormone application is effective, but there is a possibility of recurrence.