The invention discloses an erbium and ytterbium containing aluminum alloy welding wire which is prepared from the following components in percentage by mass: 2-3.5 percent of Mg, 0.12-0.2 percent of Ti, 0.15-0.3 percent of Cr, 0.08-0.2 percent of Mn, 0.01-0.05 percent of Ce, 0.05-0.15 percent of Te, 0.01-0.1 percent of B, 0.05-0.2 percent of Er, 0.05-0.2 percent of Yb, 0.2-0.5 percent of Zr, 0.05-0.15 percent of Ge, 0.1-0.8 percent of Sn, 0.5-2.5 percent of Mo, 1-3 percent of W, 0.5-1.5 percent of V, 4-5.8 percent of Cu, smaller than or equal to 0.3 percent of Fe plus Si, smaller than or equal to 0.2 percent of Zn, smaller than or equal to 0.05 percent of single content of other purity elements, smaller than or equal to 0.15 percent of total content of other purity elements and the balance of Al.