The compound 4,4′-dinitro-2,2′,6,6′-tetracarboxybiphenyl (H 4 A) was shown to produce cocrystals and salts with various N-heterocycles such as 4,4′bipyridylethylene, 4,4′-bipyridine, 4,4′-bipyridylethane, 1,10-phenanthroline, phenazine, and 2-(2-(pyridin-4-yl)vinyl)-1H-imidazo [4,5-c]pyridine in MeOH solvent. Crystal structures of all the complexes were analyzed in terms of protonation− deprotonation in the acid−base systems, hydrogen-bonded synthons, and stacking interactions. The molecule H 4 A formed a cocrystal as well as a salt with the coformer 4,4′-bipyridylethylene depending on the concentration of the methanolic solution. Among other coformers, only phenazine was found to form a cocrystal. Various hydrogen-bonded frameworks derived from the structural analyses of the complexes include a one-dimensional chain, two-dimensional herringbone and rectangular grid networks, and three-dimensional pseudodiamondoid network. The cocrystal obtained from the coformer 4,4′-bipyridylethylene was found to be photoreactive to undergo a solid state photodimerization reaction despite the criss-cross arrangement of the olefinic double bonds. Photophysical properties of all the complexes were explored through diffuse reflectance spectroscopy and solid state photoluminescence studies.