A powerful microwave-assisted three-component Knoevenagel-nucleophilic aromatic substitution reaction of 4-halobenzaldehydes, cyanoacetatic acid esters/cyanoacetamides, and cyclic secondary amines has been developed. (C) 2008 Elsevier Ltd. All rights reserved.