A device for dispensing a dental material comprises a plunger for extruding a component of the dental material, and a motor for driving the plunger. The device has two electric circuits for powering the motor to drive the plunger forward or backward. A selector switch is arranged in the device for alternately selecting between the first electric circuit and the second electric circuit for powering the motor. The device further has switches for interrupting the first and/or second electric circuits when the plunger is positioned at certain positions. The device provides automatic functionality for facilitating dispensing of dental materials, and further is preferably relatively robust and relatively inexpensive to manufacture.