The utility model relates to a magnetic coupling transmission numerical control plug. Including lower plug, plug body, titanium alloy plug, permanent magnet fixing sleeve, coupling, valve sleeve, valve core, rubber ring, transmission shaft, permanent magnet, reducer, absolute encoder and permanent magnet Shaft; the main body of the plug uses the first O-ring group to achieve static sealing; the permanent magnet mounting holes of the permanent magnet fixing sleeves are respectively equipped with a permanent magnet piece in turn, and one end of the permanent magnet fixing sleeve passes through the coupling It is connected with the output shaft of the reducer; the titanium alloy plug sleeve is placed in the hole of the permanent magnet fixing sleeve, and the two are clearance fit; the permanent magnet shaft and the transmission shaft are connected by a mortise and tenon structure, and the permanent magnet shaft is strong in the permanent magnet fixing sleeve. The upper part of the transmission shaft is provided with a transmission thread, which is matched with the thread of the main body of the plug; the output end of the high-torque DC motor is connected to the reducer, and the absolute encoder is installed at the tail of the high-torque DC motor for The number of rotations of the high-torque DC motor is recorded to indirectly determine the position of the spool.