A device for producing a multi-component compound, in particular for dental purposes, by mixing its components after they have been pressed out of cartridges which open into a dynamic mixer and are arranged exchangeably in the device, with a first motor for advancing all of the pistons assigned to the cartridges, and with a second motor for rotary driving of mixing elements in the mixer via a shaft, which is held in engagement with the mixer by spring pretensioning and can be pulled back from the mixer counter to the spring pretensioning, is characterized in that the shaft is provided with a radially extending projection which, by the spring pretensioning, is pressed onto a ramp-like upwardly sloping cam surface, which is provided on its foot with an abutment surface, of a toothed wheel, which is provided with saw-like teeth and is coaxial to the shaft, which toothed wheel, in a first angle direction in which the cam surface slopes upwards, is prevented from rotating by a catch and, in the second angle position opposite thereto, is rotatable, the mixer drive shaft being pulled back during rotation in the first direction of rotation.