Acrylamide forms from free asparagine and sugars during cooking, and products derived from the grain of cereals, including rye, contribute a large proportion of total dietary intake. In this study, free amino acid and sugar concentrations were measured in the grain of a range of rye varieties grown at locations in Hungary, France, Poland, and the United Kingdom and harvested in 2005, 2006, and 2007. Genetic and environmental (location and harvest year) effects on the levels of acrylamide precursors were assessed. The data showed free asparagine concentration to be the main determinant of acrylamide formation in heated rye flour, as it is in wheat. However, in contrast to wheat, sugar, particularly sucrose, concentration also correlated both with asparagine concentration and with acrylamide formed. Free asparagine concentration was shown to be under genetic (G), environmental (E), and integrated (G x E) control. The same was true for glucose, whereas maltose and fructose were affected mainly by environmental factors and sucrose was largely under genetic control. The ratio of variation due to varieties (genotype) to the total variation (a measure of heritability) for free asparagine concentration in the grain was 23%. Free asparagine concentration was closely associated with bran yield, whereas sugar concentration was associated with low Hagberg falling number. Rye grain was found to contain much higher concentrations of free proline than wheat grain, and less acrylamide formed per unit of asparagine in rye than in wheat flour.