A pair potential for Ta-He system fitted to the results obtained from ab initio calculations. The potential model proposed by Juslin and Nordlund was employed to describe the Ta-He interaction. The formation energies of single He atom at different sites were utilized as the fitting targets. Particle swarm optimization scheme was adopted to determine the parameters.