In the anion of the title molecular salt, C7H7N2+.C4H3O4−, an O—H...O hydrogen bond generates an S(7) graph-set motif while a pair of intermolecular N—H...O and C—H...O hydrogen bonds generate an R44(10) ring-motif. Adjacent anions and cations are further connected through N—H...O hydrogen bonds into infinite chains along [101] and these chains are linked by C—H...O hydrogen bonds, forming a three-dimensional network.