An outer drum (1) of a washing machine is provided, and relates to the technical field of washing machines. Two opposite side walls of the outer drum of the washing machine are formed as non-circular surfaces to avoid collision with side plates of a housing. A washing machine having the above outer drum (1) is further provided.