In the title compound, C11H11N3O, the aromatic rings at either ends of the –CH2–NH– link are twisted by 72.58 (8)°; the hydroxy substituent is a hydrogen-bond donor to an N atom of the pyrimidine ring. The other N atom of the pyrimidine ring is a hydrogen-bond acceptor to the amino group of an inversion-related molecule.