The invention discloses a conjugated polymer containing dithiophene thiazole-thiophene-quinoxaline and its preparation method and application. The general formula of its molecular structure is (I), where x+y+z=2, and x≥1, 0<z<1, 0<y<1; n is an integer, and 1<n≤150; R1 is selected from C1~C20 alkyl; R2, R3 are selected from -H, C1~C20 alkane group, C1~C20 alkoxy group, alkyl group or alkoxy benzene ring group, alkyl fluorene group or alkyl carbazole group; R4, R5 are selected from -H, C1~C20 alkane group or C1-C20 alkoxy group. The copolymer has high crystallization properties, good charge transport properties, thermal stability and environmental stability, and excellent electrochemical reduction properties, which can weaken bimolecular recombination, increase carrier mobility, and broaden the spectrum. Response, at the same time, its preparation process is simple, the yield is high, and it is easy to operate and control.