A ratchet wrench includes a main body, a ratchet wheel, a pawl member, and a direction control unit. The main body is provided with a first receiving recess, a second receiving recess, a third receiving recess, a first abutting face, and a second abutting face. The pawl member is provided with an engaging portion, a cavity, two first abutting portions, and two corners. The direction control unit includes a rotation member, a push member, and an elastic member. The rotation member is provided with a cylindrical block, and two second abutting portions. The push member is provided with a push face and a receiving space. The push member is restricted by the first abutting face and restricts the rotation member such that the rotation member is mounted in and will not be detached from the third receiving recess.