Disclosed are a 3-furyl-2-cyano-2-acrylamide derivative with epidermal growth factor receptor (EGFR) inhibitory activity and pharmaceutical acceptable salt thereof, together with preparation method thereof, pharmaceutical composition comprising the compound, and application of the compound in treating senile dementia (AD). The new compound is shown as formula I, wherein R1 is selected from the group consisting of H, C1-C6 alkyl, C2-C6 alkenyl, C2-C6 alkynyl and C3-C6 cycloalkyl R2 is selected from the group consisting of alkyl, cycloalkyl, alkenyl, alkynyl, aryl, heteroaryl, aralkyl and heteroaralkyl X is selected from the group consisting of CH2, NH, O and S m and n are all integers greater than or equal to zero.