The triazole ring of the title compound, C20H20N4O, is normal to the central benzene ring, making a dihedral angle of 90.0 (3)degrees, and forms a dihedral angle of 69.2 (3)degrees with the terminal phenyl ring. The dihedral angle between the phenyl and benzene rings is 88.2 (3)degrees. 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 center dot center dot center dot N contacts lead to the formation of a layer structure extending parallel to (011). Two weak C-H center dot center dot center dot pi interactions are also observed.