1-Amino-5-(4-methylbenzoyl)-4-(4-methylphenyl)pyrimidin-2(1H)-one

In the title compound, C19H17N3O2, the dihedral angles between the pyrimidine ring and the two benzene rings are 34.87 (12) (for the directly-bonded ring) and 69.57 (12)°. An intramolecular N—H⋯O hydrogen bond occurs. The crystal packing features intermolecular N–H⋯O hydrogen bonds.