Relating to nuclear magnetic resonance imaging, the invention provides a multi-dimensional nuclear magnetic resonance fringe magnetic field imaging experimental device. The experimental device is equipped with a host computer, a PMAC controller, a spectrometer, an AC servo motor driver, four DC servo motor drivers, an AC servo motor, four DC servo motors, a fringe magnetic field imaging plane lifting platform, an imaging probe, two sample chamber Y axis motion system power transmission lines, five sample chamber rotation motion system power transmission lines, seven sample chamber up-and-down motion system power transmission lines, four sample chamber X axis motion system power transmission lines, a probe coil, and a sample chamber up-and-down motion system worm. The experimental device can realize arbitrary angle adjustment of the sample chamber, stable mechanical discontinuous rotation and relative motion of the sample chamber and the probe coil. Through combination of positioning algorithm and a precise mechanical structure, the experimental device realizes movement of the sample chamber relative to the coil, and solves the problem that existing multi-dimensional fringe magnetic field imaging probe experimental devices in the world cannot realize large size sample imaging under an ultrastrong gradient field.