Ethyl 6‐amino‐5‐cyano‐2‐methyl‐4‐phenyl‐4H‐pyran‐3‐carboxyl­ate

The title compound, C16H16N2O3, was synthesized by the reaction of phenyl­methyl­idene­malono­nitrile and ethyl aceto­acetate in the presence of triethyl­benzyl­ammonium chloride in an aqueous medium. The pyran ring adopts a boat conformation. The phenyl ring and the basal plane of the pyran ring make a dihedral angle of 94.5 (2)°. Intermolecular N—H⋯O and N—H⋯N hydrogen bonds link the mol­ecules into ribbons along the a axis.