organic compounds
In the title compound, C6H9N3·2C9H8O2, an aminopyrimidine–cinnamic acid 1:2 cocrystal, the 2-amino-4,6-dimethylpyrimidine molecule forms two eight-membered hydrogen-bonded rings [R22(8) motif] with the carboxylic acid groups from two independent cinnamic acid molecules via N—HO and O—HN hydrogen bonds. The cinnamic acid molecules are linked by C—HO hydrogen bonds to form chains along two axes.