Abstract The design and fabrication method of magnetic field coils with high uniformity is essential for atomic magnetometers. In this paper, a novel design strategy for cylindrical uniform coils is first proposed, which combines the target-field method (TFM) with an optimized slime mold algorithm (SMA) to determine optimal structure parameters. Then, the realization method for the designed cylindrical coil by using the flexible printed circuit (FPC) technology is presented. Compared with traditional fabrication methods, this method has advantages in excellent flexibility and bending property, making the coils easier to be arranged in limited space. Moreover, the manufacturing process of the FPC technology via a specific cylindrical uniform magnetic field coil is discussed in detail, and the successfully realized coil is well tested in a verification system. By comparing the uniformity performance of the experimental coil with the simulation one, the effectiveness of the FPC technology in producing cylindrical coils has been well validated.