The invention discloses a high-melting-point environment-friendly superfine solder wire applied to automatic welding and a preparation method thereof. The high-melting-point environment-friendly superfine solder wire comprises 96.1%-98.0% of tin alloy and 2.0%-3.9% of soldering flux, wherein the tin alloy is prepared from tin, silver, copper, indium, cerium, vanadium and yttrium; the melting pointof added trace element vanadium is 1890 +/-10 DEG C, the added trace element vanadium belongs to high-melting-point rare metal, the heat resistance of the tin alloy can be enhanced, meanwhile, the abrasion resistance and bursting resistance of the solder wire are extremely good, the strength, hardness and heat resistance of the tin alloy can be obviously improved through adding yttrium, the melting point of the solder wire is increased, and meanwhile, the oxidation resistance and ductility of the tin alloy are enhanced; and the added cerium can change structure of a solder, thereby refining grains, reducing solder joint bridges, changing the surface wettability of the tin alloy, and enhancing the creep property and tensile property. The solder wire is high in melting point, excellent in tensile strength, free of lead and environmentally friendly, and when the solder wire is applied to the high-end application fields of intelligent mechanical arm welding and the like, high weldabilityand lead-free environmental protection development of products are achieved.