The title compound, C18H16N4O, is built up from fused six- and five-membered rings linked to a five-membered isoxazole ring and to a six-membered pyridine ring through a CH2 group. The fused-ring system is essentially planar, with a maximum deviation of 0.019 (1) Å. It forms interplanar angles of 70.03 (7)° with the isoxazole ring and 81.68 (7)° with the pyridine ring; the two latter rings are also planar, the maximum deviations from the mean planes being 0.0028 (15) and 0.0047 (12) Å, respectively. In the crystal, weak intermolecular non-classical C—H⋯N hydrogen bonds link the molecules, forming a zigzag-like chain parallel to the b axis. A weak intramolecular C—H⋯N hydrogen bond may help to define the conformation of the molecule