The invention discloses a preparation method for an organic-inorganic composite nanometer photocatalyst. According to the invention, with nitro-substituted phthalonitrile and p-hydroxybenzoic acid asraw materials, 4-carboxyl phenoxy substituted metal phthalocyanine is prepared through a two-step reaction, and metal phthalocyanine, graphene oxide and molybdenum disulfide are compounded to obtain ametal phthalocyanine, graphene and molybdenum disulfide ternary composite photocatalyst. According to the invention, p-carboxyl phenoxy is introduced onto a branched chain of the metal phthalocyanine, so the solubility of the metal phthalocyanine can be effectively improved, and the dispersion capability of the metal phthalocyanine serving as a photocatalyst in a reaction system is improved; themetal phthalocyanine, the graphene and the molybdenum disulfide are compounded to form the organic-inorganic composite nanometer photocatalyst, and through the synergistic effect of three components,the light absorption capacity is improved, and the light absorption range is widened; meanwhile, the active sites of the catalyst can be easily increased, and the catalytic activity is improved.