In the title molecular salt, C6H9N2+·C7H5O3−, the cation is protonated at the pyridine N atom and the anion is deprotonated. The pyridine ring is inclined at an angle of 24.96 (11)° to the benzene ring. In the crystal, adjacent anions and cations are linked by a pair of N—H...O hydrogen bonds, generating an R22(8) ring motif; these motifs are further connected by another N—H...O and O—H...O hydrogen bonds into a three-dimensional network. The crystal structure also features weak C—H...O interactions.