The invention discloses a method for preparing a high-temperature superconducting yttrium barium copper oxide (YBCO) twisted wire through 3D printing. The method comprises four steps of firstly, preparing a nanoscale superconducting powder precursor, then preparing printing slurry with proper viscosity and supporting characteristics, then utilizing CAD three-dimensional modeling, exporting STL format model data, and utilizing professional software for slicing, achieving one-step molding stranded wire preparation with low current loss through a twisted printing nozzle, and finally, the printedstranded wires are subjected to the processes of plastic removal, phase formation, oxygen supplementation, packaging and the like to form the practical superconducting stranded cable. The method is advantaged in that the application of the direct writing type 3D printing advanced technology in the aspect of high-temperature superconducting wires is realized for the first time, the micro-nano superconductive core wire is prepared through 3D printing, the fine wire process of the core wire is achieved, integrated design of materials and structures is achieved, the preparation process of the high-temperature superconducting wire is simplified, current-carrying performance and production efficiency of the high-temperature superconducting wire are improved, and production cost is reduced.