The device (1) has body (2) provided with a motor (3), and massage heads (4-6) including massage elements, where a transmission mechanism allows the massage elements to be activated by the motor. An installation mechanism (9) is provided for the installation and removal of the massage heads with the body. A massage head recognition unit is installed on the body, where a command box controls the massage device based on the recognition of the type of massage head by the massage head recognition unit.