The invention discloses a rare-earth-containing zinc-aluminum-titanium alloy wire and a preparation method and application thereof. The zinc-aluminum-titanium alloy wire comprises, by weight, 15-40% of aluminum, 0.5-2.0% of titanium, 0.02-0.2% of rare earth element cerium and rare earth element erbium, less than or equal to 0.025% of impurities, and the balance zinc. The mass ratio of the rare earth element cerium to the rare earth element erbium is 3:7. According to the rare-earth-containing zinc-aluminum-titanium alloy wire and the preparation method and application thereof, by adding into the rare earth element cerium and the rare earth element erbium, the corrosion resistance is improved, meanwhile, the zinc-aluminum-titanium alloy wire has the advantages of being high in hardness, low in price and the like and can replace traditional zinc wires to be applied to the fields of spraying anti-corrosion engineering and the like, and in addition, a rare-earth zinc-aluminum-titanium alloy hot coating has excellent adhesion force and good physical and mechanical properties and corrosion resistance; the average annual corrosion rate of the rare-earth zinc-aluminum-titanium alloy hot coating is higher than that of a hot spraying zinc coating, a zinc-aluminum alloy coating, a zinc-aluminum pseudo-alloy coating and other coatings, and compared with aluminum and other aluminum alloy hot spraying metal layers, the anodic protection of the rare-earth zinc-aluminum-titanium alloy hot coating is obviously improved; and the whole wire machining and manufacturing process is simple, quick and low in cost.