A fluorinated hyperbranched polyimide (HBPI) is synthesized by using a triamine monomer, 1,3,5-tris(2-trifluoromethyl-4-aminophenoxy)benzene (TFAPOB) (B 3 ), as a ''core'' molecule, 4,4 0 -oxydiphthalic anhydride (ODPA) as a A 2 monomer, and 4-aminophthalonitrile as an end-capping reagent. After that, a series of novel fluorinated hyperbranched polyimides end-capped with metallophthalocyanines were prepared by the reactions of dicyanophenyl end-capped hyperbranched polyimide with excessive amounts of 1,2-dicyanobenzene and the corresponding metal salt in quinoline. The resulting polyimides containing metallophthalocyanine unites shows optical absorption in the visible region. The absorption bands of the polymers in chloroform solution are in the range of 665-701 nm. These polyimides show glass transition temperatures between 216 and 225 C, and the 5 wt % weight loss temperature of the polymers varied from 440 to 543 C under nitrogen.