A ratchet wrench, including: a main body, including a receiving slot; a ratcheting head including a ratcheting body, rotatably disposed in the receiving slot, including a mounting protrusion; a seal cap, capped on the main body and located above the ratcheting head, having a sliding slot disposed through the seal cap, a latching mechanism, including a pushing assembly and an abutting member, wherein the pushing assembly is inserted in the ratcheting head and movable to be in an abutting position and a releasing position, the pushing assembly includes a pressing board, the abutting member is movably disposed in the ratcheting head and selectively protrudable outside the mounting protrusion, the pushing assembly is able to move from the abutting position to the releasing position through pressing the pressing board from outside, when the pushing assembly is in the abutting position, the pushing assembly abuts against the abutting member and partly protrudes outside the mounting protrusion, when the pushing assembly is in the releasing position, the pushing assembly is disengaged from the abutting member, and the abutting member is retreatable back into the mounting protrusion; characterized in that a blocking edge is provided at an end of the sliding slot and extending radially inward; a circumferential face of the pressing board is protrudingly disposed a restricting member therearound, wherein the restricting member and the blocking edge abut against and are stuck with each other to restrict the pressing board in the sliding slot; the main body includes a first anti-dust portion annularly arranged around outside the receiving slot, the first anti-dust portion including a first annular face and an anti-dust wall, the first annular face extending from an outer circumferential face of the main body toward the receiving slot, the anti-dust wall protruding from an inner annular edge of the first annular face; and the ratcheting head further includes a second anti-dust portion whose shape corresponds to a shape of the first anti-dust portion, wherein the second anti-dust portion includes an annular protrusion facing the first annular face and an annular recession adjacent to an inner annular edge of the annular protrusion, the annular recession being just adjacent to an outer wall of the ratcheting body, wherein one lateral wall of the annular recession is formed by the outer wall of the ratcheting body, wherein the annular recession and the anti-dust wall are engaged with each other, and the annular protrusion and the anti-dust wall are radially disposed neighboring to each other. a main body, including a receiving slot; a ratcheting head including a ratcheting body, rotatably disposed in the receiving slot, including a mounting protrusion; a seal cap, capped on the main body and located above the ratcheting head, having a sliding slot disposed through the seal cap, a latching mechanism, including a pushing assembly and an abutting member, wherein the pushing assembly is inserted in the ratcheting head and movable to be in an abutting position and a releasing position, the pushing assembly includes a pressing board, the abutting member is movably disposed in the ratcheting head and selectively protrudable outside the mounting protrusion, the pushing assembly is able to move from the abutting position to the releasing position through pressing the pressing board from outside, when the pushing assembly is in the abutting position, the pushing assembly abuts against the abutting member and partly protrudes outside the mounting protrusion, when the pushing assembly is in the releasing position, the pushing assembly is disengaged from the abutting member, and the abutting member is retreatable back into the mounting protrusion; characterized in that a blocking edge is provided at an end of the sliding slot and extending radially inward; a circumferential face of the pressing board is protrudingly disposed a restricting member therearound, wherein the restricting member and the blocking edge abut against and are stuck with each other to restrict the pressing board in the sliding slot; the main body includes a first anti-dust portion annularly arranged around outside the receiving slot, the first anti-dust portion including a first annular face and an anti-dust wall, the first annular face extending from an outer circumferential face of the main body toward the receiving slot, the anti-dust wall protruding from an inner annular edge of the first annular face; and the ratcheting head further includes a second anti-dust portion whose shape corresponds to a shape of the first anti-dust portion, wherein the second anti-dust portion includes an annular protrusion facing the first annular face and an annular recession adjacent to an inner annular edge of the annular protrusion, the annular recession being just adjacent to an outer wall of the ratcheting body, wherein one lateral wall of the annular recession is formed by the outer wall of the ratcheting body, wherein the annular recession and the anti-dust wall are engaged with each other, and the annular protrusion and the anti-dust wall are radially disposed neighboring to each other.