Knoevenagel reaction of 2-cyanoacetylpyrrole with aromatic aldehydes afforded 2-(3-aryl-2-cyanopropenoyl)-1-methylpyrrole in 81–94% yields in ethanol catalysed by KF/Al2O3 under microwave irradiation. This method has the advantages of simplicity, good yields and low costs.