Background: This study evaluated postoperative pain (incidence, degree and duration) after using Xp endoshaper and Oneshape in root canal treatment. Methods: Thirty patients with irreversible pulpitis in a single canal premolar were chosen randomly according to the inclusion and exclusion criteria. Patients were divided equally into two groups; group A (n = 15) were treated with Xp endoshaper whilst those in group B (n = 15) were treated using Oneshape both in a single visit treatment. Rating of postoperative pain after treatment was recorded using NRS which is a horizontal line of 11 marks and 10 intervals each takes numbers from 0 to 10 where 0 = no pain, 1-3 =mild pain, 4-6 = moderate pain, 7-10 = severe pain after 6hrs, 12hrs, 24hrs, 48hrs. Results: Within group A (Xp endoshaper) pain intensity showed significant reduction from the preoperative state at all the time intervals 6, 12, 24 and 48hrs (p < 0.001). Pain intensity showed no significant difference between the 24hrs and 48hrs interval (p = 0.063). Within group B (Oneshape) pain intensity showed significant reduction from the preoperative state to all the time intervals 6, 12, 24 and 48hrs. (p < 0.001). Pain intensity showed no significant difference between the 24hs and 48hrs interval (p = 0.004). Postoperative pain was lower using Xp endoshaper file than Oneshape (p < 0.05) Conclusion: XP endoshaper file showed lower postoperative pain level after 6hrs, 12hrs 24hrs 48hrs than Oneshape file, both files were found to be effective in controlling postoperative pain.