The utility model relates to an experimental device for nuclear magnetic resonance edge magnetic field imaging, which relates to nuclear magnetic resonance imaging. Equipped with servo motor, voice coil motor, coarse adjustment non-magnetic lifting platform, fine adjustment non-magnetic lifting platform, nuclear magnetic resonance edge magnetic field imaging probe, sample chamber, probe coil and sample relative movement / stationary conversion pin, coarse adjustment and fine adjustment non-magnetic Lifting table grating ruler and control system; the control system is equipped with a host computer, PMAC controller, servo motor driver and voice coil motor controller. Combining the two-stage lifting high-precision mechanical structure of coarse adjustment and fine adjustment with advanced closed-loop control algorithm, it can realize the high-precision movement of the sample with the highest precision of 1 μm, and complete the high-precision and high-resolution nuclear magnetic resonance edge magnetic field imaging. Two experimental methods, namely, the relative moving imaging between the probe coil and the sample and the relatively static imaging between the probe coil and the sample, can be realized without any secondary modification on an experimental device, which ensures that the strong magnetic environment is not affected to the greatest extent; the closed-loop control makes the sample The more precise the displacement, the more accurate the result.