The asymmetric unit of the title compound, C17H21N5O2, contains two crystallographically independent mol-ecules, which are linked by a C-H⋯N hydrogen bond. The morpholine rings of both mol-ecules adopt distorted chair conformations. The dihedral angles between the triazole and benzene rings are 12.8 (3)° 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)° in the second independent mol-ecule. In the crystal, mol-ecules are linked by C-H⋯N hydrogen bonds along the [100] direction. In addition, one weak C-H⋯π inter-action and two weak π-π stacking inter-actions [centroid-centroid distances = 3.840 (3) and 3.823 (2) Å] between the triazole rings of adjacent mol-ecules are observed. The atoms of the terminal propenyl groups in both mol-ecules are disordered over two sets of sites [site-occupancy ratios = 0.691 (10):0.309 (10) and 0.705 (15):0.295 (15)].