A magnetically anchored pulmonary nodule positioning device for thoracoscopic surgery, comprising: two target magnets, used to clamp the target nodule on both sides of the target nodule; two coaxial puncture needles, both of which are hollow, The hollow dimensions are respectively larger than the outer dimensions of the two target magnets, so that the two target magnets can pass through; the positioning plate has a plurality of holes, and two coaxial puncture needles penetrate the two holes to realize the target nodule. Preliminary positioning; the anchor magnet is used to attract the target magnet on the surface of the lung through magnetic force, and the positioning range is confirmed according to the magnitude of the magnetic force. The invention completes the positioning of the nodular focus through magnetic attraction. Suitable for thoracoscopic lobectomy. At the same time, the probability of falling off, shifting, and wandering of positioning markers is reduced, and the stimulation of foreign bodies to the pleura can be reduced, and the corresponding discomfort and complications can be reduced. At the same time, direct contact between markers and nodules can be avoided to prevent affecting pathology during surgery. Judgment to meet the needs of more patients for high-precision thoracoscopic surgery.