Molecular docking studies were carried out to understand the mechanism of action of some 2-alkoxycarbonylallyl esters against pancreatic cancer (MiaPaCa-2) cell line targeting the epidermal growth factor receptor (EGFR). The gene discussed is EGFR; the disease is familial pancreatic carcinoma.