Taking the hexapod bionic robot developed by the team as the research object,in order to improve the strength and rigid-ity of the leg mechanism and realize the design goal of light weight of the leg,the dynamic and static characteristics of the leg and the first 4 solid-state frequencies are analyzed using finite element.The Six Sigma research method combined with the finite element topology optimization idea is used to optimize the key factors that affect the weight of the leg.Comparing the optimized leg with the pre-optimized leg,the optimized leg structure reduces weight by 47.00%,the maximum stress is reduced by 47.24%,the maximum deformation is reduced by 84.61%,the first 4 natural frequencies are improved,and the weight of the leg is im-proved.Reduced and improved performance.The optimization effect provides a certain reference for the lightweight design of other engineering structures.