The invention relates to preparation technology for a wear-resistant and corrosion-prevention protective layer of a metal component surface, in particular to a method for modifying wear resistance and corrosion prevention of a metal component surface, which solves the problems that a valve, a pump and the like in the prior art are short in service life and the like due to serious wear and corrosion. Firstly, a component in a needed shape and of a needed size is made of foamed ceramics and fixed to the metal component surface by means of mechanical matching, connecting, welding, adhering or inlaying; and secondly, high polymer mixing castables are poured into foamed ceramic meshes by means of normal-pressure pouring, centrifugal pouring, vacuum suction pouring or injection molding, the foamed ceramic/high polymer co-continuous composite protective layer is obtained after curing, vulcanization or solidification, and the protective layer is firmly combined with the metal component surface. After the inner wall surface of a steel pipeline in a desulfurization system of a thermal power plant is protected by the method, the service life of the pipeline is five times longer than that of an existing pipeline protected by a lining rubber pipe.