The invention discloses a preparation method of an impact-resistant and wear-resistant pipe. Raw materials are heated to a molten state, kept warm to obtain material a; material a is taken out of the furnace for pouring, cooled to 450-480°C, and subjected to surface machine treatment to obtain material b; b warming up to T 1 ℃ for austenitization, keep it warm for 3-4 hours, take it out and place it in a nitrate bath with a temperature of 220-230 ℃, and raise the temperature to T 2 ℃, keep warm for 4~5h, air cool to 140~155℃, then heat up to T 3 ℃ for tempering, heat preservation t 3 h, air-cooled to room temperature to obtain impact-resistant wear-resistant pipe; where, T 1 980~1040, t 1 2~2.6, T 2 280-295, t 2 2.2~2.5, T 3 175-190, t 3 4.5~5, 3.4≤T 1 / T 2 ≤3.6, 0.66≤(T 2 ×t 2 ) / (T 3 ×t 3 )≤0.93, 0.45≤t 1 / t 3 ≤0.55.