A power ratchet wrench including a handle for gripping and holding the wrench and a head having a ratchet mechanism including a drive shaft capable of powered rotation about its axis. The head and handle have openings generally in registration with each other. A pin is received through the openings, interconnects the handle and head and permits pivoting movement of the handle and head relative to each other about the transversely extending longitudinal axis of the pin to any of a multiplicity of selected relative angular orientations. The pin includes a first section sized and shaped for locking the handle and head together in fixed angular orientation about the pin axis and a second section sized and shaped for permitting free relative pivoting motion of the handle and head. The pin is mounted for sliding motion relative to the head and handle in a direction transverse of the handle and head between a locked position in which the first section of the pin engages the handle and head and locks them together and an unlocked position in which the first section does not interengage the handle and head so that the head and handle are unlocked for relative pivoting motion about the pin axis. The ratchet wrench further includes a transmission constructed to transmit power from the motor to the ratchet mechanism through the pin interconnection of the handle and head.