Abstract Background To explore the impact of preoperative 3D printing on the fixation of posterior rib fractures utilizing a memory alloy embracing device of rib under thoracoscopy. Methods The enrolled patients were divided into the 3D printing (11 patients) and the non-3D printing (18 patients) groups, based on whether a 3D model of ribs was prepared prior to surgery. Analysis was conducted comparing the average fixation time per fracture, postoperative fixation loss, and poor reduction of fractured end between the two groups. Results The average fixation time of each fracture was 27.2 ± 7.7 min in the 3D printing group and 29.3 ± 8.2 min in the non-3D printing group, with no statistically significant difference observed between the two groups (P > 0.05). The incidence of poor fracture fixation in the 3D printing group was statistically lower than that in the non-3D printing group (12.9% vs. 44.7%, P 0.05), and the dislocation rate of the fractured end was (9.7% vs. 31.9%, P