In the title compound, C(18)H(20)N(3)O(2), the pyridine and phenyl rings are coplanar [dihedral angle = 3.5 (3)°]. The phenyl ring makes a dihedral angle of 29.6 (1)° with the imidazole ring. The crystal structure is stabilized by inter-molecular C-H⋯O hydrogen bonds.