Endodontic device (1), comprising: - a file (3) apt to remove by abrasion the dental material by a rotary working motion; - a AC or DC motor (2), apt to drive the file (3) in said working motion according to two opposite verses of rotation; - a pair of optical or magnetic encoders controlling the position (4) mounted in quadrature on the driving shaft, to evaluate the angular position of the file (3) and consequently control the motor (2) (Fig. 1A).