The invention discloses a method for synthesizing 2,5-dihydroxymethylfuran by selective hydrogenation of 5-hydroxymethylfurfural. The method is characterized in that a magnetic metal-organic coordination polymer is used as an acid and base bifunctional catalyst, low-price and easily-obtained low carbon alcohol is used as an in-situ hydrogen donor, and the 5-hydroxymethylfurfural is efficiently transformed into the 2,5-dihydroxymethylfuran by a selective transfer hydrogenation reaction under mild operation conditions and the maximum yield of the 2,5-dihydroxymethylfuran can be up to 98.6 percent. The magnetic metal organic coordination polymer used in the method disclosed by the invention has the advantages of relatively-high acid-base strength, more acid-base sites, relatively-large specific surface area and suitable pore size; in addition, the magnetic metal organic coordination polymer is simple in preparation process, is easy to separate and recover and shows excellent catalytic activity and catalytic stability. Furthermore, the low carbon alcohol is used as the in-situ hydrogen donor in the invention, so that the use of molecular hydrogen is avoided and the safety of the reaction process is improved; besides, the low carbon alcohol can be used as a reaction solvent and the introduction of exogenous substances is reduced, and thereby the production cost can be further reduced.