A root canal length measurement device configured for detachable support on a neck of a dental handpiece and having a generally cylindrical electrical contact element that, in use, is resiliently biased by a spring toward an endodontic file rotatably mounted in the handpiece so that a flat surface of the contact element maintains a steady electrical connection with a shank portion of the endodontic file proximate its point of attachment to the handpiece.