A power tool comprising: a power source; a rotation output unit to which a bit is attachable; a gear mechanism configured to transmit rotational power of the power source to the rotation output unit; a gearshift device case configured to accommodate the gear mechanism; and a housing configured to accommodate the power source and the gearshift device case, wherein: the gear mechanism includes gears (56, 59, 66) and a movable member movable in an axial direction of the gears (56, 59, 66) to be engaged with or disengaged from the gears (56, 59, 66); the gear mechanism is further configured to move the movable member to allow for switching between a plurality of gear ratios; and the gearshift device case includes a slide hole formed in the gearshift case in the axial direction, the power tool further comprising: a pivot member that is pivotal about the axial direction along an outer surface of the gearshift device case, wherein the pivot member includes a cam hole arranged at a location partially overlapped with the slide hole, and the cam hole includes an operation hole that extends in a direction inclined to a circumferential direction of the pivot member; a support arranged on the movable member, wherein the support projects from the movable member and extends through the slide hole and the cam hole; a drive unit configured to pivot the pivot member along the outer surface of the gearshift device case; and a reversing restriction portion (46b (46c/46d)) arranged in the pivot member and configured such that when the drive unit pivots the pivot member to switch the gear ratio, the reversing restriction portion (46b (46c/46d)) engages with the support to restrict pivoting of the pivot member in a reverse direction that is caused by a reaction force which acts on the pivot member at a limit position from where further pivoting of the pivot member is prohibited, the power tool being characterized in that: the reversing restriction portion (46b (46c/46d)) includes holding holes that are continuous with two ends of the operation hole and extend in a direction inclined to the circumferential direction of the pivot member. a power source; a rotation output unit to which a bit is attachable; a gear mechanism configured to transmit rotational power of the power source to the rotation output unit; a gearshift device case configured to accommodate the gear mechanism; and a housing configured to accommodate the power source and the gearshift device case, wherein: the gear mechanism includes gears (56, 59, 66) and a movable member movable in an axial direction of the gears (56, 59, 66) to be engaged with or disengaged from the gears (56, 59, 66); the gear mechanism is further configured to move the movable member to allow for switching between a plurality of gear ratios; and the gearshift device case includes a slide hole formed in the gearshift case in the axial direction, the power tool further comprising: the gear mechanism includes gears (56, 59, 66) and a movable member movable in an axial direction of the gears (56, 59, 66) to be engaged with or disengaged from the gears (56, 59, 66); the gear mechanism is further configured to move the movable member to allow for switching between a plurality of gear ratios; and the gearshift device case includes a slide hole formed in the gearshift case in the axial direction, the power tool further comprising: a pivot member that is pivotal about the axial direction along an outer surface of the gearshift device case, wherein the pivot member includes a cam hole arranged at a location partially overlapped with the slide hole, and the cam hole includes an operation hole that extends in a direction inclined to a circumferential direction of the pivot member; a support arranged on the movable member, wherein the support projects from the movable member and extends through the slide hole and the cam hole; a drive unit configured to pivot the pivot member along the outer surface of the gearshift device case; and a reversing restriction portion (46b (46c/46d)) arranged in the pivot member and configured such that when the drive unit pivots the pivot member to switch the gear ratio, the reversing restriction portion (46b (46c/46d)) engages with the support to restrict pivoting of the pivot member in a reverse direction that is caused by a reaction force which acts on the pivot member at a limit position from where further pivoting of the pivot member is prohibited, the power tool being characterized in that: the reversing restriction portion (46b (46c/46d)) includes holding holes that are continuous with two ends of the operation hole and extend in a direction inclined to the circumferential direction of the pivot member.