The conventional magnetic resonance imaging (MRI) equipment cannot measure large volume samples nondestructively in the engineering site for its heavy weight and closed structure. In order to realize the mobile MRI, this study focuses on the design of gradient coil of unilateral magnet. The unilateral MRI system is used to image the local area above the magnet. The current density distribution of the gradient coil cannot be used as a series of superconducting nuclear magnetic resonance gradient coils, because the region of interest (ROI) and the wiring area of the unilateral magnet are both cylindrical side arc surfaces. Therefore, the equivalent magnetic dipole method is used to design the gradient coil, and the algorithm is improved for the special case of the wiring area and the ROI, so the X and Y gradient coils are designed. Finally, a flexible printed circuit board (PCB) is used to fabricate the gradient coil, and the magnetic field distribution of the ROI is measured by a Gauss meter, and the measured results match with the simulation results. The gradient linearities of x and y coils are 2.82% and 3.56%, respectively, less than 5% of the commercial gradient coil requirement.