A novel infinite coordination polymer (DAE-ICP) based on zinc nitrite and a diarylethene photoswitch, with reversible photochromic properties in solution and the solid state upon applying photostimuli, was synthesized and characterized by FT-IR, EDX, FE-SEM and FE-TEM.