The invention discloses a conjugated polymer containing cyclopentadienyl diene dithiophene-naphthalene tetracarboxylic diimide, which is characterized by being a compound with the formula shown as below, wherein R1 is C1-C20 alkyl, R2 is C1-C20 alkyl or substituted phenyl, R3, R4 and R5 are identically or differently expressed as hydrogen, C1-C20 alkyl or alkoxy, x is greater than or equal to 1 and less than 2, y is greater than 0 and less than or equal to 1, the sum of x and y is 2 and n is an integer from 1 to 120. The conjugated polymer containing cyclopentadienyl diene dithiophene-naphthalene tetracarboxylic diimide is prepared via Stille with a simple reactive synthesis route and low processing requirements and has better film-forming properties, better thermal stability, high carrier mobility, higher molar absorption coefficient and wide optical absorption range, the degree of matching with solar transmission spectrum is improved, the photoelectric conversion efficiency is increased, and the conjugated polymer has a wide scope of application.