An efficient method for the synthesis of 4-amino-5-pyrimidinecarbonitriles by three-component reaction of malononitrile, aldehydes and N-unsubstituted amidines, under aqueous conditions, using CuO nanoparticles as catalyst is reported. The protocol offers advantages in terms of higher yields, short reaction times, and mild reaction conditions, with reusability of the catalyst.