In this study, the 10-year dietary habits of patients diagnosed with cancer (n = 1155) were retrospectively analyzed, and the relationships between dietary (red meat, white meat, fish meat, French fries, bread, instant coffee, ready-to-drink coffee, Turkish coffee, and black tea) heterocyclic amines, polycyclic aromatic hydrocarbons, acrylamide, and N-nitrosamine-based risk scores and cancer types were statistically evaluated. The foods with the highest and lowest mean dietary heat-treatment contaminant risk scores were red meat and ready-to-drink coffee, respectively. There were statistically significant differences in the dietary heat-treatment contamination risk scores based on the cancer patients’ demographic characteristics (sex, age, smoking, and body mass index) (p < 0.05). According to the cancer types, the systems with the highest and lowest dietary heat-treatment contaminant risk scores were determined as other (brain, thyroid, lymphatic malignancies, skin, oro- and hypopharynx, and hematology) and the reproductive (breast, uterus, and ovary) system, respectively. The relationship between instant coffee consumption and respiratory system cancer types, the frequency of consumption of French fries and urinary system cancer types and the consumption of meat products and gastrointestinal system cancer types were determined. It is thought that this study contains important findings regarding the relationship between dietary habits and cancer and will be a good source for other studies to be conducted in this context.