The invention discloses a polymer semiconductor containing a quinoid-donor-receptor unit, and a preparation method and application thereof. The synthesis method comprises the following steps: mixing (3Z, 6Z)-3, 6-bis((5-bromothiophen-2-yl)methylene)piperazine-2, 5-dione, potassium carbonate and alkyl bromide or alkyl iodide in N, N-dimethylformamide, reacting under inert gas, cooling, performing suction filtration, performing evaporative concentration on the obtained filtrate, performing silica gel column chromatography, recrystallizing with absolute ethyl alcohol to obtain a product, dissolving the product in a dry tetrahydrofuran solution, cooling, dropwise adding n-butyllithium, stirring for reaction, adding trimethyltin chloride, slowly raising the temperature to room temperature, stirring, quenching with water for reaction, extracting with dichloromethane, drying, filtering and spin-drying, and recrystallizing to obtain an oily product M; and carrying out Stille coupling polymerization reaction by taking the product M as a raw material to prepare the polymer. The polymer disclosed by the invention has the characteristics of high carrier mobility, simplicity in synthesis and relatively high yield, and has great development prospects and potential in the field of organic photoelectricity.