A work machine comprising: a machine body that includes an upper swing structure and a lower track structure; an actuator (1a, 1b, 3d, 3e, 3f, 10) for driving the machine body; an operation device (4b, 4c, 4d, 4e) operated for driving the actuator; a sensor (14, 15, 16) provided on the machine body for detecting objects present in surroundings of the machine body; a restrictor (23a, 23b, 24a, 24b) that restricts the driving of the actuator by the operation device; and a controller configured to control the restrictor based on a detection result of the sensor, characterized in that wherein the sensor (14, 15, 16) is capable of detecting a specific object being retroreflective material worn by a worker operating in the surroundings of the work machine from among the objects in a distinguishable manner, a detection range of the sensor is defined by a first detection region set so as to at least partially include an operation range of the machine body and a second detection region located adjacent to and above the first detection region, at least a part of a boundary between the first detection region and the second detection region is set so as to be between a lower end of the upper swing structure and an upper end of the lower track structure, and wherein the controller is configured to control the restrictor as -follows: in a case that an object is detected in the second detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), in a case that the specific object is detected in the first detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), and in a case that an object is detected in the first detection region and the object detected in the first detection region is not the specific object, an object is not detected in the second detection region, the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) (23a, 23b, 24a, 24b) is not restricted by the restrictor. a machine body that includes an upper swing structure and a lower track structure; an actuator (1a, 1b, 3d, 3e, 3f, 10) for driving the machine body; an operation device (4b, 4c, 4d, 4e) operated for driving the actuator; a sensor (14, 15, 16) provided on the machine body for detecting objects present in surroundings of the machine body; a restrictor (23a, 23b, 24a, 24b) that restricts the driving of the actuator by the operation device; and a controller configured to control the restrictor based on a detection result of the sensor, characterized in that wherein the sensor (14, 15, 16) is capable of detecting a specific object being retroreflective material worn by a worker operating in the surroundings of the work machine from among the objects in a distinguishable manner, a detection range of the sensor is defined by a first detection region set so as to at least partially include an operation range of the machine body and a second detection region located adjacent to and above the first detection region, at least a part of a boundary between the first detection region and the second detection region is set so as to be between a lower end of the upper swing structure and an upper end of the lower track structure, and wherein the controller is configured to control the restrictor as -follows: in a case that an object is detected in the second detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), in a case that the specific object is detected in the first detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), and in a case that an object is detected in the first detection region and the object detected in the first detection region is not the specific object, an object is not detected in the second detection region, the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) (23a, 23b, 24a, 24b) is not restricted by the restrictor. in a case that an object is detected in the second detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), in a case that the specific object is detected in the first detection region, restrict the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) by the restrictor (23a, 23b, 24a, 24b), and in a case that an object is detected in the first detection region and the object detected in the first detection region is not the specific object, an object is not detected in the second detection region, the driving of the actuator (1a, 1b, 3d, 3e, 3f, 10) (23a, 23b, 24a, 24b) is not restricted by the restrictor.