The invention relates to a retractable spray arm for a dishwasher and the dishwasher, comprising a fixed part, a movable part, a spray arm seat and a guide device, and water spray holes are arranged on the fixed part and the movable part , the water spray hole communicates with the spray arm frame through the water channel, the spray arm seat is located on the bottom shell of the inner tank, the movable part is movably sleeved on the fixed part, and the spray arm seat is provided with a guide frame , one end of the guide device is connected to the movable part, and the other end is connected with the guide frame and moves in the guide frame, so as to realize the limitation of the moving distance when the movable part moves telescopically along the fixed part; the present invention The beneficial effect is: through the design of the telescopic spray arm, when the spray arm rotates around the central axis, under the guidance of the guide frame on the spray arm seat, when the spray arm frame rotates to the four-corner position, the telescopic spray arm can Elongate, increase the spraying area of the spray arm, and solve the problem of unclean cleaning of the four corners of the dishwasher.