The asymmetric unit of the title compound, C17H21N5O2, contains two crystallographically independent molecules, which are linked by a C-H center dot center dot center dot N hydrogen bond. The morpholine rings of both molecules adopt distorted chair conformations. The dihedral angles between the triazole and benzene rings are 12.8 (3)degrees in the first independent molecule in which the -N=C- group between the morpholine and benzene rings is disordered [site -occupancy ratio = 0.576 (7):0.424 (7)] and 88.1 (2)degrees in the second independent molecule. In the crystal, molecules are linked by C-H center dot center dot center dot N hydrogen bonds along the  direction. In addition, one weak CH center dot center dot center dot pi interaction and two weak pi-pi stacking interactions [centroid-centroid distances = 3.840 (3) and 3.823 (2) angstrom] between the triazole rings of adjacent molecules are observed. The atoms of the terminal propenyl groups in both molecules are disordered over two sets of sites [site occupancy ratios = 0.691 (10):0.309 (10) and 0.705 (15):0.295 (15)].