In the title compound, C(15)H(13)N(5)O, the morpholine ring adopts a chair conformation. The dihedral angle between the pyrrole ring and the pyridine ring is 28.93 (14)°. In the crystal, the molecules are linked by C-H⋯O hydrogen bonds occur, and aromatic weak π-π stacking [centroid-centroid separation = 4.178 (2) Å] and C-H⋯π inter-actions consolidate the packing.