Heterotopic pancreas in the stomach is a relatively common congenital condition, but the risk of malignant transformation is extremely low. In this study, we describe a case of adenocarcinoma arising from a gastric heterotopic pancreas and we consider its morphological and immunohistochemical features and genetic analysis, in order to examine its histogenesis. This unusual sequela was seen in a 57-year-old woman. Image studies showed a protruding lesion with a central ulcer located in the lesser curvature from the angle to the body of the stomach. A biopsy specimen confirmed this lesion as adenocarcinoma before total gastrectomy. The tumor showed mixed patterns of solid neoplastic-cell proliferation and moderately differentiated glandular structures, and also showed transitional lesions to obvious malignancy, that is, dysplasia, or adenocarcinoma in situ. Neoplastic cells had positive immunoreactivity for carbohydrate antigen (CA) 19-9, mucin (MUC) 1, and insulin, and the mutant allele-specific amplification method revealed a point mutation at K-ras codon 12 (GGT [Gly]-->GAT [Asp]), which is the most common mutational change observed in patients with pancreatic carcinoma. The features of the present case provide clear evidence that this tumor originated from heterotopic pancreatic tissue rather than from gastric epithelium.