This study aimed to construct a multi-segment lumbar finite element model (FEM) of PTED surgery to analyze the changes in stress and ROM after visible trephine-based foraminoplasty. The CT scans of a 35-year-old healthy male were used to develop a multi-segment lumbar FEM with Mimic, Geomagic Studio, Hypermesh and MSC.Patran. Different foraminoplasty was performed on the model, and these were grouped into normal group (A), the ventral resection group (B), the apex resection group (C), the ventral + apex + isthmus resection group (D), and the SAP + isthmus + lateral recess resection group (E). A vertical load of 500N and a torque of 10N·M were applied to the upper surface of the L3 vertebral body to simulate the biomechanical characteristics under the motion of flexion, extension, lateral bending, and rotation. The von Mises stress maps of the intervertebral f, vertebral body, facet joints, and the ROM of the L3-S1 intervertebral disk were calculated and analyzed. The changes of peak stress on the vertebral body for each group were not significant in the same motion state. Significant stress differences were observed in the L4/5 intervertebral disks, while no obvious stress changes were observed for the L3/4 and L5/S1 intervertebral disks. The stress of the L3/4 and L5/S1 facet joints decreased after L4/5 foraminoplasty, while the stress of L4/5 facet joints displayed an overall increasing trend. Significant asymmetrical stress changes of bilateral facet joints were observed in all three segments, particularly during bilateral rotation movements. The ROM of L3-S1 gradually increased from Group A to Group E, especially during flexion, left lateral bending, and right rotation, with the highest elevation observed for the L45 ROM. Our FEM indicated that enlarged resection and exposure of the articular surface could lead to significant asymmetrical stress changes in the bilateral facet joints and ROM instability of the surgical and adjacent segments. These findings suggested that unnecessary and excessive resection should be avoided in PTED to reduce the incidence of low back pain and the risk of postsurgical degeneration.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13018-023-03916-0.