This paper reports a series of ab initio, density functional theory (DFT), and semiempirical molecular orbital (MO) calculations concerning the reaction between the ultimate carcinogen of acrylamide and guanine. Acrylamide--a product of the Maillard reaction--is present in a variety of fried and oven-cooked food. After intake, it is epoxidized by cytochrome P450 2E1 to yield the ultimate carcinogen--glycidamide. Effects of solvation were considered using the Langevin dipoles (LD) model of Florian and Warshel and the solvent reaction field (SCRF) model of Tomasi and co-workers. In silico activation free energies are in very good agreement with the experimental value of 22.8 kcal/mol. This agreement presents strong evidence in favor of the validity of the proposed S N2 reaction mechanism and points to the applicability of quantum chemical methods to studies of reactions associated with carcinogenesis. In addition, insignificant stereoselectivity of the studied reaction was predicted. Finally, the competing reaction of glycidamide with adenine was simulated, and the experimentally observed regioselectivity was successfully reproduced.