In the title compound, C6H8N+·C7H4NO4−·C7H5NO4, the cation is protonated at its pyridine N atom and makes a dihedral angle of 74.14 (12)° with the benzene ring of the anion. The benzene ring of the neutral molecule and the pyridine ring are inclined at an angle of 79.20 (12)°. The two benzene rings form a dihedral angle of 6.00 (12)° with each other. In the crystal, N—H...O, O—H...O and C—H...O hydrogen bonds link the cations, anions and neutral molecules to form layers parallel to the ac plane, which enlose R44(18) ring motifs. The layers are linked by further C—H...O hydrogen bonds and C—H...π interactions, forming a three-dimensional supramolecular architecture.