In this paper, novel poly(esterimide)s with attached as a side group azobenzene chromophores are presented. The polymers differing in substituents on the azobenzene moieties and chromophore concentration. Azopolymers were obtained by a twostep synthetic approach. This include the preparation of a precursor poly(esterimide) with benzene moiety pendant from main chains, followed by the covalent bonding of the NLO chromophores onto the polyimide backbone by a post-azo-coupling reaction using the following coupling components: p-nitroaniline, 2-cyan-4-nitroanilin, 2,4-dinitroaniline and Disperse Orange 3. The precursor poly(esterimide) was obtained from synthesized 2,2 0 [N-phenylethyloaniline-di(4-estro-1,2-dicarboxylic)]anhydride and 4,4 0 -methylene bis(2,6-dimethylaniline). The degree of functionalization of the poly(esterimide)s was estimated by UV-vis spectroscopy. The obtained polymers were characterized and evaluated by FT-IR, 1 H NMR, X-ray, UV-vis, DSC and TGA. The results showed the azopolymers exhibited high glass transition temperatures (T g ¼ 159{224 C), high thermal stability with decomposition temperatures in the range of 311-334 C and good solubilities in common organic solvents. First time two-photon absorption (TPA) coefficient in cast films of amorphous azopoly(esterimide)s was measured using Z-scan experiment which was performed with femtosecond laser pulses 100 fs at 800 nm. The TPA coefficient was determined to be in the range of 1.54-11.69 cm/GW.