Optically pumped magnetometers (OPMs) are a promising sensor technology for non-invasive measurement of human electrophysiological signals, in particular the magnetoencephalogram (MEG). OPMs do not need cryogenic cooling and can be placed conformal to the subject's scalp, thus greatly reducing the sensor-to-source distance and improving signal sensitivity. OPMs, however, require near-zero background magnetic field to achieve linearity and minimize signal distortion. Prior work has proposed the use of biplanar field nulling coils to remove the uniform and gradient components of the background magnetic field. Biplanar coils have been expensive to construct, involving tedious error-prone manual winding of over 1000 m of copper wire. In this work, we designed and fabricated background field nulling coils (three uniform and three gradient components) on two-layer Printed Circuit Boards (PCBs). We used an open-source software (bfieldtools) to determine the current loops needed to produce the target magnetic field in a 50-cm-diameter spherical volume. We developed a software-based approach to connect the discrete current loops into a continuous conducting path traversing the two layers of the PCB. For ease of manufacture, the designed (1.5 × 1.5 m