The invention discloses the application of a supported single-atom noble metal catalyst in the esterification reaction of unsaturated hydrocarbon carboxymethyl. The active component is any one or more of Ru, Rh, Ir, Pt, Pd, Ag, Au. The load of metal is 0.05%-1.5%, the carrier is any one of chromium sulfide, manganese sulfide, iron sulfide, cobalt sulfide, nickel sulfide, copper sulfide, zinc sulfide, molybdenum sulfide, tungsten sulfide, titanium sulfide, the catalyst Preparation: After mixing the carrier and the active metal, calcining at a certain temperature. The catalyst is used for methyl esterification of unsaturated hydrocarbon carboxymethyl to prepare methyl ester compound, and has good activity and selectivity. Compared with the system in which homogeneous nickel carbonyl or palladium-phosphine complexes are used as catalysts and highly corrosive sulfuric acid or sulfonic acid is added as auxiliary agents, the heterogeneous reaction process provided by the invention is environmentally friendly, simple to operate, and recyclable Take advantage of other advantages.