A polyarylether polymer containing a photoelectric functional group, a preparation method and an application thereof belong to the technical field of polymer materials. From the perspective of molecular design, the present invention introduces carbazole, triphenylamine, etc., which contain conjugated photoelectric active groups, into polymer side chains, and modifies the positions of the corresponding groups to continuously improve the performance of the material. Polyarylether polymers containing photoelectric functional groups were prepared by homopolymerization. At the same time, due to the use of nucleophilic substitution polycondensation method during polymerization, not only higher molecular weight polymers can be obtained, but also the degree of polymerization can be controlled. The 5% thermal weight loss of polyarylether polymers containing photoelectric functional groups provided by the invention is above 300°C, and can be dissolved in tetrahydrofuran, dichloromethane, chloroform, N, N'-dimethylformamide, Organic solvents such as N, N'-dimethylformamide, N-methylpyrrolidone, etc., can exhibit the photoelectric properties of corresponding photoelectrically active groups.