3,4‐Di‐(2′‐hydroxyethoxy)‐4′‐nitrostilbene was prepared and condensed with terephthaloyl chloride, adipoyl chloride, and sebacoyl chloride to yield novel Y‐type polyesters containing NLO‐chromophore dioxynitrostilbenyl groups, which constituted parts of the polymer backbone. Polymers were found soluble in common organic solvents such as acetone and N,N‐dimethylformamide. They showed thermal stability up to 300 °C in thermogravimetric analysis with glass‐transition temperatures obtained from differential scanning calorimetry in the range 110–152 °C. The second harmonic generation (SHG) coefficients (d33) of poled polymer films at a 1064 cm−1 fundamental wavelength were around 3.51 × 10−8 esu. The dipole alignment exhibited high thermal stability even at 10 °C higher than the glass‐transition temperature, and there was no SHG decay below 120 °C for one of these polymers due to the partial main‐chain character of polymer structure, which was acceptable for NLO device applications. Copyright © 2005 Society of Chemical Industry