In the zwitterionic title compound, C(17)H(14)N(2)O, the dihedral angle between the naphthalene and pyridine ring systems is 3.56 (9)° and an intra-molecular N-H⋯O hydrogen bond generates an S(6) ring. In the crystal, mol-ecules are linked by C-H⋯O inter-actions.