The present invention discloses a shape memory bone repairing stent for bone defect repair. The shape memory bone repairing stent comprises the following raw materials: HA, HDI, castor oil, PCL and water, wherein mass of the HA mass is 1%-7% of a total mass of the shape memory bone repairing stent raw materials, a sum mass of the HA, the HDI and the castor oil is 17-35% of the total mass of the raw materials, a mass ratio of the castor oil, the HA to the PCL is (4.46-6):(1.1-8.4):100; a mass ratio of the water to the HDI is 1:(18-19); and the shape memory bone repairing stent has a pore diameter of 534 [mu]m-797 [mu]m, a porosity is 50%-60%, and pore interconnectivity is 95%-99%. The shape memory bone repairing stent is prepared by using a pre-polymer foaming method, has pore structure andmechanical properties similar to bone tissues, at the same time has high shape memory property, biocompatibility and biodegradability, is not limited to mold shapes, manufacturing technology and bonedefect shapes, can be highly compatible with bone defect sites, and promotes formations of new bones and new blood vessels.