A ratchet wrench includes a handle, which has a head and a bearing portion abutted to the head. The head has a through hole and a receiving portion inside the through hole. A driving member is rotatably mounted inside the through hole of the head by a mounting ring having an outside annular groove and a retainer. A pawl is disposed in the receiving portion and meshed with the driving member. A slider is mounted on the pawl and attached to the bearing portion of the handle and inserted into the outside annular groove of the mounting ring for allowing the slider to move along the outside annular groove of the mounting ring.