Nitrated benzothiadiazole (BT) is the promising acceptor units in constructing D-A-D electrochromic polymers, but its researches in the electrochromic field was very limited so far. In this work, four kinds of nitrated polymer precursors (Th-NO2-BT, EDOT-NO2-BT, Th-2NO2-BT, and EDOT-2NO2-BT) were synthesized by Stille coupling reaction with EDOT and thiophene units as the end groups (electron donor units) and mono-nitrated benzothiadiazole and di-nitrated benzothiadiazole as the core groups (electron acceptor units). The chemical structure and optical properties of the precursor were investigated by means of 1H NMR, UV–vis absorption and fluorescence spectra; the corresponding mono-nitrated polymer films were obtained in CH2Cl2-Bu4NPF6 system by electrochemical deposition method. The optical band gap of di-nitrated polymer precursor is obviously larger than the corresponding mono-nitrated polymer precursor (both ultraviolet and fluorescence spectra are obviously blue-shifted), accompanied with the obvious increased initial oxidation potential. Due to the fluorescence quenching effect of -NO2 group, their absolute quantum yields are all very low (0.0006–0.015). The spectroelectrochemistry and electrochromic kinetics of mono-nitrated polymer films (P(Th-NO2-BT) and P(EDOT-NO2-BT)) were studied. It was found that P(EDOT-NO2-BT) can show better electrochromic performance than P(Th-NO2-BT), with dark green in the neutral state and more obvious electrochromic performance in the near-infrared region (optical contrast: 38.4 %, coloration efficiency: 129.1 cm2/C, and fast response time: 1.4 s). This systematically study about the effects of nitro substitution effect on the properties of D-A electrochromic polymers, which will further expand the selection of the new acceptor units and the application prospect of nitrated electrochromic materials.