Robot-assisted pedicle screw placement is prone to guide wire migration, and the related influencing factors have not yet been discussed. Therefore, this study aimed to investigate and analyze the causes of robot-assisted spinal pedicle guide wire displacement and summarize the relevant treatment strategies. The surgical outcomes of 82 patients who underwent robotic-assisted pedicle screw spinal placement at our hospital between July 2022 and June 2023 were retrospectively analyzed. A total of 342 screws were placed in 82 patients; 47 guide wires were offset, 47 guide wires were replaced, and 295 guide wires were not significantly offset, with a first guide wire offset rate of 13.7% and a total guide wire offset rate of 12.1%. Univariate analysis showed that Screw placement level, whether respiration was controlled during guide wire placement, Hu value of CT, the position of needle insertion point, and operation time had a significant effect on guide wire deviation (P < 0.05). Multivariate logistic regression analysis showed that the inclusion of screw placement segments, whether breathing was controlled during guide wire placement, and Hu value of CT had a significant effect on guide wire offset (P < 0.05). Whether the guide wire was offset had no significant effect on the accuracy of subsequent pedicle screw implantation (P > 0.05). The level of screw placement, whether breathing was controlled during guide wire placement, and Hu value of CT were independent risk factors for guide wire deviation. When causing an excursion, screw orientation can be adjusted during intraoperative screw placement, and guide wire excursion has no significant impact on the accuracy of subsequent pedicle screw placement.