In the title compound, C20H22N2O3, the 4H-pyran ring adopts a boat conformation. The dihedral angle between the phenyl and pyran rings is 87.8 (18)°. In the crystal, mol-ecules are linked by N-H⋯O and N-H⋯N hydrogen bonds. The allyl side chain is disordered... ...