A copolymer comprising of pyrrole and 1,4-butanediol diglycidyl ether (PBDGE) was designed and synthesized as a leveler to improve the throwing power for printed circuit board (PCB) through-hole electroplating. The results of linear sweep voltammetry (LSV), galvanostatic measurements (GMs), and cyclic voltammetry (CV) reveal the strong coordination effect of PBDGE with other additives and confirm the advantageous performance of PBDGE to effectively assist the electroplating of through-hole. An increment of 35.5% in the throwing power was achieved under the addition of PBDGE in through-hole plating. Additionally, the reaction mechanism was studied by quantum chemical calculations and molecular dynamics (MD) simulations, indicating that the pyrrole rings of the PBDGE molecule are adsorbed on the copper surface as the adsorption sites to balance the copper plating regardless of the through-hole position differences.