The present application provides a kind of particle swarm optimization method based on optimal loading contact area of planetary modified gear, mainly including the steps of establishing planetary gear comprehensive modified gear surface equation, calculating modified gear surface contact area and establishing optimization model and solving etc.The present application is based on particle swarm algorithm, and the tooth profile design of planetary gear mechanism is optimized to improve its gear surface contact area, and then improve carrying capacity.Particle swarm algorithm can provide efficient, accurate and easy-to-implement design method for the tooth profile modification of planetary mechanism, so as to improve the quality and performance of gear products, meet the demand of modern mechanical transmissionsystem for high-performance gears.