In the title molecular salt, C6H9N2+·C8H7O3−, the cation is protonated at its pyridine N atom and is inclined by 3.39 (9)° to the benzene ring of the anion, which is deprotonated at the carboxyl group. The methoxy group is twisted with respect to the benzene ring to which it is attached, the methyl C atom deviating from the ring plane by 0.023 (2) Å. In the crystal, the anions and cations are linked by two N—H...O hydrogen bonds, forming an R22(8) ring motif. They are also linked by a weak offset π–π interaction [centroid-to-centroid distance = 3.890 (1) Å]. The anions and cations are further connected through N—H...O and C—H...O hydrogen bonds, forming slabs parallel to (001).