A tool extension rod includes a main piece, a sliding sleeve, and a magnetic assembly. The sliding sleeve is slidably sleeved onto the main piece. When the sliding sleeve moves between a first position and a second position, the magnetic assembly is movable along an axial direction.