A case of a mature anterior mediastinal teratoma with a predominance of the pancreatic component (80% of the tumor) and signs of nesidioblastosis in a 46-year-old woman is presented. During histological examination, all components of the pancreatic parenchyma were determined - acini with interlobular and intralobular ducts, endocrine cells and islets of Langerhans of various sizes and shapes, as well as islet-duct complexes scattered in the acinar tissue. In addition to pancreatic tissue, cartilage, bronchial respiratory epithelium, small intestine tissue, hair follicles, and sebaceous glands were found in the neoplasm.