The invention relates to a method for preparing a biodegradable polymer self-expansion type intravascular stent based on 3D printing technology.The method includes the specific steps of synthesizing polylactic acid-based shape-memory polyurethane/Fe304 nanocomposite material with good biocompatibility and biodegradability, and making the composite material into the intravascular stent through the Fused Deposition Modeling technology.In addition, in order to increase the blood vessel endothelium repair speed, sirolimus, heparin, endothelial growth factors or the like are selectively introduced to the stent surface through electrostatic spinning.A 'time'dimension is added for the shape-memory function of the base material, and combined with the 3D printing technology, a 4D forming concept is given to the stent.By means of the magnetocaloric effect of Fe304, shape recovery of the shape-memory polymer can be remotely excited, so that the intravascular stent expands automatically, balloon dilatation is not required during stent implantation, axial shortening during balloon dilatation and radial resilience during withdraw of the stent are avoided, and damage of blood vessels is reduced to a minimum level.In addition, the introduction of Fe304 solves the problem that a polymer stent has poor development.