This paper pr esents an energ y-optimal trajectory planning method fo r spacecraft fo rmation reconfiguration in deep space environment using continuous lo w-thrust propulsion system. First, we emplo y the Legendre pseudospectral method (LPM) to transform the optimal reconfiguration problem to a parameter optimization nonlinear programming (NLP) problem. Then, to avoid the computational complexity for calculating the gradient information caused by traditional optimization methods, we use particle swarm optimization (PSO) algorithm to solve the NLP prob lem. Meanwhile, in order to avoid the collision between any pair of Legendre-Gauss-Lobatto (LGL) points, we insert some test point s in the r egion where collision may happen most likely. What's more, the collision avoidance constraints are also checked at these test points. Finally, numerical simulation shows that the energy-optimal trajectories for spacecraft reconfiguration could be generated by the method we proposed in a relative short time, so that it could be adopted on-board for practical spacecraft formation problems.