The present invention provides a system for the endodontic treatment of a root canal that includes (i) an endodontic instrument; (ii) an endodontic handpiece having a drive motor for rotating the endodontic instrument releasably attached to the handpiece; (iii) a control unit for controlling the rotation of the endodontic instrument according to one or more predetermined rotational sequences.