Acrylamide forms through a chemical reaction known as the Maillard reaction. This reaction occurs when certain amino acids and sugars in food react at high temperatures, typically above 248°F (120°C).
Acrylamide forms during frying, broiling, baking, and roasting due to the high temperatures involved, which promote the Maillard reaction and acrylamide formation.