Based on the principle and IPM test, the causes of pinhole failure in fixed position during electrophoresis painting of automobiles were analyzed. The pinhole problem was solved by temporary measures to stop part of the anode and permanent measures to adjust the position of a power off switch.