The title compound, C4H9N5 2+·2NO3 −, crystallizes in the monoclinic crystal system, space group P21/c. The asymmetric unit, which comprises a diprotonated triaminopyrimidine dication and two nitrate anions, has an almost planar geometry with a dihedral angle of 0.92 (4)° between the mean plane of the cation and that defined by both anions. In the crystal, hydrogen-bonding interactions between the 2,4,6-triaminopyrimidine cation and the nitrate anions lead to a one-dimensional supramolecular network with weak anionic interactions forming a three-dimensional network. These interactions were investigated using Hirshfeld surface analysis, which indicates that the most important contributions for the packing arrangement are from O...H/H...O (53.2%), N...H/H...N (12.5%) and C...H/H...C (9.6%) interactions. Energy framework analysis showed that of the components of the framework energies, electrostatic repulsion (E rep) is dominant.