The title compound, C33H35N3O5, is the product of the multicomponent condensation of 1-benzyl-4- ethoxycarbonylpiperidin-3-one with 1,5-bis(2-formylphenoxy)-3-oxapentane and ammonium acetate. The molecule comprises a pentacyclic system containing the aza-14-crown-4-ether macrocycle, tetrahydropyrimidine, tetrahydropyridine and two benzene rings. The aza-14-crown-4-ether ring adopts a bowl conformation with a dihedral angle of 62.37 (5)° between the benzene rings. The tetrahydropyrimidine ring has an envelope conformation with the chiral C atom as the flap, whereas the tetrahydropyridine ring adopts a distorted chair conformation. Two amino groups are involved in intramolecular N-H⋯O hydrogen bonds. In the crystal, weak C-H⋯O hydrogen bonds link the molecules into layers parallel to the ab plane.