Over 3000 patients, treated surgically for peptic ulcers, were assigned to a Social Class and Occupation Group using information obtained either from their death certificates or from their hospital notes. An analysis of the relationship of socioeconomic status and occupation with the site of original ulcer and the risk of cancer is reported. The major observations were: (a) an association of gastric ulcer with manual and of duodenal ulcer with non-manual Social Class; (b) an association of gastric cancer with dusty occupation and colorectal cancer with professional and managerial workers; and (c) no association between post-surgery gastric cancer risk and social class. This implies that the early stages of gastric carcinogenesis are related to poor socioeconomic conditions but the progression from the precursor lesion (in this case gastric ulcer) to gastric cancer is not, and is consistent with the multistage hypothesis of gastric carcinogenesis proposed by Correa [Diet and Human Carcinogenesis (Edited by Joosens, J. V., Hill, M. J. and Geboers, J.), pp. 109-115. Excerpta Medica, Amsterdam (1985)].