A transfer machine (1, 10, 100) comprising: - a frame, - a table which is supported on the frame and can rotate with respect to the frame about a main vertical axis, - a plurality of work holding assemblies mounted on the table, each work holding assembly being provided with at least one collet assembly for retaining a workpiece being machined, said collet assembly being able to rotate with respect to the table about a vertical workpiece rotation axis, - at least one actuation motor (6, 60) in order to actuate rotationally said collet assembly and provided with a driving shaft (61, 610) which can rotate about a respective driving axis, - at least one transmission assembly (5, 50), which can be activated selectively and is configured to transmit motion from said driving shaft (61, 610) to said collet assembly, wherein said at least one actuation motor (6, 60) is integral with the frame of the machine, characterized in that the respective driving shaft (61, 610) of said at least one actuation motor (6, 60) is arranged horizontally, and in that said machine (1, 10) comprises a support (16, 160) which is movably coupled to the frame, said support (16, 160) being movable along a rectilinear trajectory, the motor (6, 60) being integral with the support (16, 160), at least the motor (6, 60) and the driving shaft being movable in a linear manner between a condition in which the transmission assembly (5, 50) is activated, in which the collet assembly is functionally coupled to the driving shaft (6, 60), and a condition in which the transmission assembly is deactivated, in which the collet assembly is functionally uncoupled from the driving shaft; the machine (1, 10) furthermore comprises an actuator (15, 150) which is coupled to the frame and to the movable support (16, 160) in order to actuate the rectilinear movement of the latter with respect to the frame, the movement trajectory of the support lying on a horizontal plane which is perpendicular with respect to the main vertical axis. - a frame, - a table which is supported on the frame and can rotate with respect to the frame about a main vertical axis, - a plurality of work holding assemblies mounted on the table, each work holding assembly being provided with at least one collet assembly for retaining a workpiece being machined, said collet assembly being able to rotate with respect to the table about a vertical workpiece rotation axis, - at least one actuation motor (6, 60) in order to actuate rotationally said collet assembly and provided with a driving shaft (61, 610) which can rotate about a respective driving axis, - at least one transmission assembly (5, 50), which can be activated selectively and is configured to transmit motion from said driving shaft (61, 610) to said collet assembly, wherein said at least one actuation motor (6, 60) is integral with the frame of the machine, characterized in that the respective driving shaft (61, 610) of said at least one actuation motor (6, 60) is arranged horizontally, and in that said machine (1, 10) comprises a support (16, 160) which is movably coupled to the frame, said support (16, 160) being movable along a rectilinear trajectory, the motor (6, 60) being integral with the support (16, 160), at least the motor (6, 60) and the driving shaft being movable in a linear manner between a condition in which the transmission assembly (5, 50) is activated, in which the collet assembly is functionally coupled to the driving shaft (6, 60), and a condition in which the transmission assembly is deactivated, in which the collet assembly is functionally uncoupled from the driving shaft; the machine (1, 10) furthermore comprises an actuator (15, 150) which is coupled to the frame and to the movable support (16, 160) in order to actuate the rectilinear movement of the latter with respect to the frame, the movement trajectory of the support lying on a horizontal plane which is perpendicular with respect to the main vertical axis.