A turret device used for turret-type cleaning machines for deburring or cleaning workpieces with a nozzle or a rotary tool, comprising: a spindle mounting the nozzle or the rotary tool; a turret having a plurality of turret faces, the turret faces mounting the spindle; a spindle drive device having a function of indexing a rotation angle of the spindle; a turret drive device turning and indexing the turret; a turret drive shaft as a hollow shaft disposed coaxially with a turning center shaft of the turret and journaled in a quill, the turret drive shaft transmitting power of the turret drive device; a drive shaft coaxially journaled within the turret drive shaft, the drive shaft transmitting rotation of the spindle drive device; a first transmission portion transmitting rotation of the turret drive shaft to the turret; a second transmission portion having an output shaft, the second transmission portion transmitting rotation of the drive shaft through the output shaft to the spindle specified by the index of the turret; and an engaging portion realizing engagement between the output shaft and the spindle when the turret is indexed and releasing the engagement when the turret is turning, characterized in that the turret device further comprises: a clamping member clamping the turret; a clamping member moving portion moving the clamping member between two positions, i.e., a clamping position where the turret is clamped and an unclamping position where the turret is released; and a detector detecting whether the clamping member is in a position retracted from a turning region of the turret a groove of generally V-shaped cross section moving in conjunction with the turret, wherein said clamping member is a plunger that includes a protrusion of generally V-shaped cross section having a shape corresponding to the groove, and said plunger clamps the turret, with the protrusion abutting against and urging the groove in the clamping position. a spindle mounting the nozzle or the rotary tool; a turret having a plurality of turret faces, the turret faces mounting the spindle; a spindle drive device having a function of indexing a rotation angle of the spindle; a turret drive device turning and indexing the turret; a turret drive shaft as a hollow shaft disposed coaxially with a turning center shaft of the turret and journaled in a quill, the turret drive shaft transmitting power of the turret drive device; a drive shaft coaxially journaled within the turret drive shaft, the drive shaft transmitting rotation of the spindle drive device; a first transmission portion transmitting rotation of the turret drive shaft to the turret; a second transmission portion having an output shaft, the second transmission portion transmitting rotation of the drive shaft through the output shaft to the spindle specified by the index of the turret; and an engaging portion realizing engagement between the output shaft and the spindle when the turret is indexed and releasing the engagement when the turret is turning, a clamping member clamping the turret; a clamping member moving portion moving the clamping member between two positions, i.e., a clamping position where the turret is clamped and an unclamping position where the turret is released; and a detector detecting whether the clamping member is in a position retracted from a turning region of the turret a groove of generally V-shaped cross section moving in conjunction with the turret, wherein said clamping member is a plunger that includes a protrusion of generally V-shaped cross section having a shape corresponding to the groove, and said plunger clamps the turret, with the protrusion abutting against and urging the groove in the clamping position.