The title molecular salt, consists of a sulfamethoxazolium (SMZ) cation and a 3,5-dinitrosalicylate (DNS) anion, which are linked by an N—H⋯O hydrogen bond. In the crystal, the cations and anions are linked via N—H⋯O, N—H⋯N and C—H⋯O hydrogen bonds, forming a three-dimensional framework.
In the crystal structure of the title compound, C6H10N3
+·C7H2I3O2
−·C7H3I3O2, two R
2
2(8) motifs are observed. One is generated by the interaction of the 2-amino-4,6-dimethylpyrimidin-1-ium cation with the carboxylate group of the 2,3,5-triiodobenzoate anion via N—H⋯O hydrogen bonds. The other R
2
2(8) motif is formed by the interaction of two centrosymmentrically related pyrimidine moieties through N—H⋯N hydrogen bonds. The two motifs combine to form a linear heterotetrameric unit. Heterotetrameric units are linked by a carboxyl–carboxylate O—H⋯O hydrogen bond (involving the O—H group of neutral 2,3,5-triiodobenzoic acid and an O atom of the anion), forming a supramolecular chain along the a axis. In addition, components are held by weak I⋯O interactions in the range 3.023 (5) to 3.382 (5) Å and I⋯I interactions in the range 3.6327 (7) to 4.0025 (8) Å.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.