Provided are a pipe joint and a washing machine having the same. The pipe joint comprises a main body (1), a seal ring (11), and a positioning member (12). The seal ring (11) and the positioning member (12) are provided at the main body. An outer diameter of the positioning member is less than or equal to an outer diameter of the seal ring in an uncompressed state, and is greater than an outer diameter of the main body. The washing machine comprises the above pipe joint. The positioning member provided at the main body of the pipe joint and the seal ring together form a two-point support or a two-line support, thereby realizing effective positioning of the pipe joint, preventing the pipe joint from wobbling with respect to a water suction pump, facilitating tight assembly, and ensuring normal operation of the water suction pump.