A case-control study of diet and stomach cancer was conducted during 1979-1982 in Toronto, Winnipeg, and St. John's Canada. Two hundred forty-six histologically verified cancer cases were individually matched by age, sex, and area of residence to 246 randomly selected population controls. Daily nutrient consumption values were calculated from quantitative diet history questionnaire data through use of the US Department of Agriculture Food Composition Data Bank, which was extended and modified for Canadian items. For the analysis, continuous conditional logistic regression methods were used. It was found that consumption of dietary fiber was associated with decreased risk of gastric cancer; the odds ratio estimate of trend was 0.40/10 g average daily intake of fiber (i.e., 0.40(1.5)/15 g, etc.) (p less than 10(-8)). Also, average daily consumption of nitrite, chocolate, and carbohydrate was associated with increasing trends in risk, with odds ratio estimates, respectively, 2.6/mg (p less than 10(-4)), 1.8/10 g (p less than 10(-4)), and 1.5/100 g (p = 0.015). While citrus fruit intake appeared to be somewhat protective (odds ratio = 0.75/100 g daily average, p = 0.0056), vitamin C intake was less so, and vitamin E not at all. Thus, a number of dietary components seem to be implicated in the pathogenesis of stomach cancer.