Purpose The purpose of this paper is to actively calibrate power density to match the application requirements with as small an actuator as possible. So, this paper introduces shape memory alloy to design variable stiffness elements. Meanwhile, the purpose of this paper is also to solve the problem of not being able to install sensors on shape memory alloy due to volume limitations. Design/methodology/approach This paper introduces the design, modeling and control process for a variable stiffness passive ankle exoskeleton, adjusting joint stiffness using shape memory alloy (SMA). This innovative exoskeleton aids the human ankle by adapting the precompression of elastic components by SMA, thereby adjusting the ankle exoskeleton’s integral stiffness. At the same time, this paper constructs a mathematical model of SMA to achieve a dynamic stiffness adjustment function. Findings Using SMA as the driving force for stiffness modification in passive exoskeletons introduces several distinct advantages, inclusive of high energy density, programmability, rapid response time and simplified structural design. In the course of experimental validation, this ankle exoskeleton, endowed with variable stiffness, proficiently executed actions like squatting and walking and it can effectively increase the joint stiffness by 0.2 Nm/Deg. Originality/value The contribution of this paper is to introduce SMA to adjust the stiffness to actively calibrate power density to match the application requirements. At the same time, this paper constructs a mathematical model of SMA to achieve a dynamic stiffness adjustment function.