The invention belongs to the technical field of soil protection, and in particular relates to a repair method for farmland soil heavy metal pollution. In this method, the heavy metal passivation agent is mixed evenly with the soil. After the maintenance, the first crop is planted, and then the hyperaccumulator plant is planted. At the same time, the heavy metal activator is applied, and then the passivation agent is applied. After the second crop is planted, the heavy metal passivation is applied first. The leaching agent can effectively reduce the risk of heavy metal leaching, and at the same time avoid the accumulation of heavy metals in crops, and then apply heavy metal activators to plant hyper-accumulator plants, absorb heavy metals, reduce the content of heavy metals in the soil, and prevent the accumulation of heavy metals in the soil in the area not covered by plant roots. Heavy metals keep the risk of leaching low due to the presence of heavy metal deactivators. The invention adopts the plant enrichment technology and the method of applying the heavy metal passivation agent, which can fundamentally remove the problem of heavy metals, and can passivate the heavy metals when planting crops, thereby improving the use efficiency of the soil.