Foraminoplasty is an important step in transforaminal endoscopic lumbar discectomy (TELD). A trephine is widely used in foraminoplasty. However, foraminoplasty using a trephine alone sometimes fails to remove the resected bone, resulting in the bone remaining in the foramen or spinal canal, which can potentially cause neurological irritation or injury. The objective of this study is to introduce a self-designed tool, referred to as an anchoring drill, for use with a trephine in foraminoplasty in TELD and to evaluate its advantages. A retrospective review was performed to identify patients who underwent L4-5 TELD between January 2019 to January 2022. Foraminoplasty was performed in all patients. Depending on whether the anchoring drill was used or not, patients were divided into two groups. Surgery-related parameters and complications were reviewed. Visual analog scale (VAS) and Japanese Orthopaedic Association (JOA) scores were also assessed for all patients. SPSS statistical software was used for statistical calculation. A total of 100 patients were included (55 in the anchoring drill group and 45 in the trephine group). The incidence of residual bone fragments after foraminoplasty of the anchoring drill group was 9.09%, which was lower than that of the trephine group, at 33.33% (p < 0.05). The mean endoscopic operation time of the anchoring drill group was shorter than that of the trephine group (p < 0.05). The mean fluoroscopy time and duration of foraminoplasty showed no significant differences between the two cohorts. The total perioperative complication incidence was lower in the anchoring drill group, in which the neural irritation incidence showed a significant difference (anchoring drill group: 3.64%, trephine group: 17.78%, p < 0.05). VAS and JOA scores were significantly improved after the operation for all patients (p < 0.001), however, no statistical differences were found between the two groups at each follow-up visit. The combination of a trephine with an anchor drill was demonstrated to be safe and effective in foraminoplasty in TELD, improving the success rate of foraminoplasty and reducing neurological complications compared to using trephine alone.