Polymer matrices with aromatic main chain and side chain linked units (polystyrene, polysulfone) were employed to construct thin films containing maleimidoazobenzene molecules in order to develop new materials with responsive properties. The photochromic behavior of the active compound was studied both in the solid and solution state for comparison. The thermal cis-trans isomerization of azobenzene chromophores in polymer films follows two different kinetic pathways. A double-exponential relaxation process (fast and slow) took place in polystyrene matrix under 70 oC while the thermal isomerization at 70 oC and higher follows a first-order kinetics. The cis isomer content corresponding to the photostationary state was found to be lower in polymer films than in solution.