The invention discloses a shimming coil optimization design and manufacturing method and a structure thereof, and relates to the technical field of the nuclear magnetic resonance gyroscope. The designflow is as follows: S1, determining to-be-optimized parameters r0, L0, D, m and e; S2, establishing an optimization model, and determining r0, L0, D, m and e; S3, designing a shimming coil satisfyingthe minimum constraint condition volume; the manufacturing method comprises the following steps: S1, determining a substrate; S2, selecting electrifying conductors; S3, mounting the electrifying conductors on the substrate; S4, communicating each line of electrifying conductor; and S5, plugging a male connector and in a female connector. The shimming coil manufactured through the method can control the coil volume when the coil magnetic field amplitude and the uniformity constraint are satisfied; the current direction of the electrifying conductor is vertical to a central axis of the substrate, and the stray magnetic field is reduced; the output conductor and the connecting line are arranged with the same current size and opposite directions, the stray magnetic field produced by the connecting line can be counteracted, and the coil magnetic field precision is guaranteed.