Hantzsch condensation of two equivalents of methyl-3-aminocrotonate with (m- and p)-methoxybenzaldehyde afforded the expected products 2,6-dimethyl-3,5-dimethoxycarbonyl-4-(m-methoxyphenyl)-1,4-dihydropyridine and 2,6-dimethyl-3,5-dimethoxycarbonyl-4-(p-methoxyphenyl)-1,4-dihydropyridine, whereas o-methoxy-benzaldehyde produced mainly 1-amino-2-methoxycarbonyl-3,5-bis(o-methoxy-phenyl)-4-oxa-cyclohexan-1-ene. The structure of the product, not previously reported in the literature, was determined by 1D and 2D NMR spectra and its MS fragmentation. This is the first example of cyclisation leading to a substituted pyran rather than 1,4-DHP under typical Hantzsch reaction conditions. A plausible mechanism for its formation is postulated.