The effect of P or B predoping on As diffusion in polycrystalline Si was investigated by atom probe tomography. In all samples, a high concentration of As was found at grain boundaries, indicating that such boundaries are the main diffusion path. However, As grain-boundary diffusion was suppressed in the B-doped sample and enhanced in the P-doped sample. In a sample codoped with both P and B, As diffusion was somewhat enhanced, indicating competition between the effects of the two dopants. The results suggest that As grain-boundary diffusion can be controlled by varying the local concentration of P or B.