Arylmethylenemalonitriles were synthesized in the presence of melamine through the Knoevenagel condensation of aldehydes with malononitrile in ethanol. Two strategies such as the conventional stirring and ultrasound-assisted method were performed in this work, and improvements were observed by carrying out the reactions under ultrasound irradiation. The effect of frequency and power of ultrasound on the yields was investigated, and the optimum frequency and power was 45 kHz and 240 W, respectively. The Knoevenagel reaction was carried out smoothly under the optimum conditions with the yields of 80–99% within short time. The melamine catalyst showed high activity and reusability, and exhibited no substantial loss of activity over up to four reaction cycles. This work demonstrated that short reaction times and high yields of arylmethylenemalonitriles can be obtained with the facile operation in the presence of the low-toxic, cheap and reusable melamine catalyst.