The invention discloses a preparation method of Ni-B/B4C nano composite plating through pulse electrodeposition. The preparation method comprises the steps that S1, a steel sheet base body is pretreated; S2, an electroplating solution is prepared, wherein the electroplating solution comprises the following components according to the concentration: 240 g/L of nickel sulfate, 45 g/L of nickel chloride, 30 g/L of boric acid, 0.5 g/L of saccharin, 3 g/L of dimethylamine borane, 0.1 g/L of a surfactant and 1-5 g/L of B4C nano particles; S3, an electrodeposition process is conducted, specifically, the pretreated base body is put into the prepared electroplating solution to be subjected to electrodeposition; the technological parameters in the pulse electroplating process are as follows: the pulse frequency is 1000 Hz, the duty ratio is 40%, the time is 30 min, and the magnetic stirring rate is 400 rmp; and S4, after electrodeposition is finished, the surface of a plated part is subjected to ultrasonic cleaning through ethyl alcohol and pure water in sequence. The Ni-B/B4C nano composite plating prepared by the method has excellent corrosion resistance, higher microhardness and lower friction coefficient, and the comprehensive performance of the Ni-B/B4C nano-composite plating is remarkably improved.