A work machine comprising: a telescopic boom having a first boom and a second boom that are telescopically overlapped; a telescoping actuator that moves the first boom in a telescoping direction with respect to the second boom; an electrical drive source a first fixing pin that connects the telescoping actuator and the first boom; a first biasing mechanism that biases the first fixing pin to maintain a connection state between the telescoping actuator and the first boom; a first connection mechanism that operates on the basis of the power of the electrical drive source, the first connection mechanism switching between the connection state and a disconnection state between the telescoping actuator and the first boom by inserting and removing the first fixing pin; a second fixing pin (315, 325) that connects the first boom and the second boom; a second biasing mechanism that biases the second fixing pin (315, 325) to maintain a connection state between the first boom and the second boom; a second connection mechanism that operates on the basis of the power of the electrical drive source, the second connection mechanism switching between the connection state and a disconnection state between the first boom and the second boom by inserting and removing the second fixing pin (315, 325); and a control device that is configured to control operation of the electrical drive source, characterised in that the electrical drive source is provided in a movable portion of the telescoping actuator; and the control device is configured for executing motor assist processing of operating the electrical drive source when the first fixing pin is restored by biasing force of the first biasing mechanism and/or when the second fixing pin (315, 325) is restored by biasing force of the second biasing mechanism. a telescopic boom having a first boom and a second boom that are telescopically overlapped; a telescoping actuator that moves the first boom in a telescoping direction with respect to the second boom; an electrical drive source a first fixing pin that connects the telescoping actuator and the first boom; a first biasing mechanism that biases the first fixing pin to maintain a connection state between the telescoping actuator and the first boom; a first connection mechanism that operates on the basis of the power of the electrical drive source, the first connection mechanism switching between the connection state and a disconnection state between the telescoping actuator and the first boom by inserting and removing the first fixing pin; a second fixing pin (315, 325) that connects the first boom and the second boom; a second biasing mechanism that biases the second fixing pin (315, 325) to maintain a connection state between the first boom and the second boom; a second connection mechanism that operates on the basis of the power of the electrical drive source, the second connection mechanism switching between the connection state and a disconnection state between the first boom and the second boom by inserting and removing the second fixing pin (315, 325); and a control device that is configured to control operation of the electrical drive source, characterised in that the electrical drive source is provided in a movable portion of the telescoping actuator; and the control device is configured for executing motor assist processing of operating the electrical drive source when the first fixing pin is restored by biasing force of the first biasing mechanism and/or when the second fixing pin (315, 325) is restored by biasing force of the second biasing mechanism.