The triazole ring of the title compound, C20H20N4O, is normal to the central benzene ring, making a dihedral angle of 90.0 (3)°, and forms a dihedral angle of 69.2 (3)° with the terminal phenyl ring. The dihedral angle between the phenyl and benzene rings is 88.2 (3)°. The atoms of the terminal propenyl group are disordered over two sets of sites, with a site-occupancy ratio of 0.663 (13):0.337 (13). In the crystal, C-H⋯N contacts lead to the formation of a layer structure extending parallel to (011). Two weak C-H⋯π inter-actions are also observed.