A variable-stiffness actuator is to be installed into a flexible member and provide different degrees of stiffness to the flexible member. The actuator includes two hard members located apart from each other, and a shape-memory member connecting the hard members. The shape-memory member has a property of transitioning in phase between a first phase and a second phase. The shape-memory member is in a low stiffness state when in the first phase, and is in a high stiffness state when in the second phase. The actuator also includes a inducing member configured to cause a portion of the shape-memory member between the hard members to transition in phase between the first and second phases, and a urging member configured to urge the hard members in directions away from each other.