This study aims to investigate in depth the mechanism of acrylamide formation in coffee during roasting. For this purpose, a comprehensive kinetic model including the elementary steps for acrylamide formation was proposed. The changes in sucrose, reducing sugars, free amino acids, asparagine, acrylamide, 3-deoxyglucosone, methylglyoxal, glyoxal, and 5-hydroxymethylfurfural were monitored in coffee during roasting at 200, 220 and 240 degrees C. Dominant pathways of complex reactions leading to acrylamide were unravelled by means of multiresponse kinetic modelling approach. The results of the model indicated that sucrose degrades into glucose and a reactive fructofuranosyl cation. Interestingly, glucose takes part mostly in the formation of intermediates, glyoxal and especially 3-deoxyglucosone rather than acrylamide formation. On the other hand, fructofuranosyl cation contributed mostly to the formation of 5-hydroxymethylfurfural which was found to be the most important intermediate precursor of acrylamide formed in coffee during roasting.