In the title compound, C8H7N3O4 (systematic name: 4-nitro-benzene-1,2-dicarboxamide), each of the substituents is twisted out of the plane of the benzene ring to which it is attached [dihedral angles of 11.36 (2)° for the nitro group, and 60.89 (6) and 34.39 (6)° for the amide groups]. The amide groups are orientated to either side of the least-squares plane through the benzene ring with the amine groups being directed furthest apart. In the crystal, a three-dimensional architecture is established by a network of N-H⋯O hydrogen bonds.