The invention relates to a 1,3,5,7-tetramethyl-8-triphenylamine base pyrrole methane-boron difluoride complex compound and a preparation method thereof, which belong to the technical field of organic synthesis. The existing photocatalysts have few varieties and low conversion rate, and the existing bodipy dye has low infrared fluorescent efficiency and small Stokes displacement. The invention provides the 1,3,5,7-tetramethyl-8-triphenylamine base pyrrole methane-boron difluoride complex compound. The preparation method comprises the steps that: 4-formoxyl tetramethyl and 2,4-dimethyl pyrrole are dissolved in organic solvents, trifluoroacetic acid or monoprop is used as catalysts, and a reaction system is formed; 2,3-dichloro-5,6-dicyan-1,4-para-benzoquinone with the same mol ratio as the 4-formoxyl tetramethyl is taken, is dissolved in the methylene dichloride and is added into the reaction system; and one of triethylamine, triisopropyl amine and N,N-diisopropylethylamine is added into the reaction system, boron trifluoride etherate is added under the ice bath, and final products are generated.