Objective To investigate the effect of short level pedicle screw fixation on spinal function in patients with spinal fracture. Methods The relevant data of fracture patients admitted to our hospital were retrospectively analyzed, and 102 cases of spinal patients were selected as research objects. The selected time range was from September 2021 to September 2022. The 102 patients were divided into comparison group and treatment group according to random number table method, with 51 patients in each group. Long level pedicle screw posterior internal fixation (comparison group) and short level pedicle screw fixation (treatment group) were performed respectively. The spinal function, height ratio of injured vertebral front and Cobb Angle were compared between the two groups. Results Before treatment, there was no significant difference in the ratio of anterior vertebra height and Cobb Angle between the two groups (P>0.05). After treatment, the height ratio of injured vertebral front in the treatment group was higher than that in the control group, and the Cobb Angle was lower than that in the control group, and the data difference between the groups was statistically significant (P<0.05). Before treatment, there was no significant difference in the proportion of each grade of neurological function between the two groups (P>0.05). After treatment, there was no statistical significance in the proportion of grade C and Grade D nerve function between the two groups (P>0.05), while the proportion of grade E nerve function in the treatment group was higher than that in the comparison group, and the proportion of grade A and grade B nerve function in the treatment group was lower than that in the comparison group, and the data difference between the two groups was statistically significant (P<0.05). Conclusion The patients with spinal fracture need to actively cooperate with the treatment. After short-level pedicle screw fixation, the height ratio of the injured vertebral front can be improved, the scoliosis can be reduced, and the degree of spinal functional injury can be significantly improved.