A washing machine comprising: a first housing including an opening formed therein and filled with liquid carbon dioxide and gaseous carbon dioxide at a higher pressure than atmospheric pressure; a drum for accommodating laundry inside, and rotatably provided in the inside of the first housing so that the laundry and the carbon dioxide are mixed together; a barrier configured to seal the opening and coupled to the first housing, wherein the barrier includes a first through-hole and a second through-hole; a second housing configured to seal one surface of the barrier and coupled to the first housing; and a motor assembly disposed in the second housing, and coupled to the barrier, wherein the motor assembly includes: a stator, a rotor, and a bearing housing, a rotary shaft disposed in the bearing housing, the rotary shaft having one end of which is coupled to the rotor, and the other end of which is coupled to the drum passing through the barrier; a first sealing part and a second sealing part that are disposed in the bearing housing and coupled to the rotary shaft at position spaced apart from each other, and a first bearing and a second bearing for rotatably supporting the rotary shaft are disposed between the first sealing part and the second sealing part, wherein the rotary shaft passes through the first through-hole, and gaseous carbon dioxide flows between the first housing and the second housing via the second through-hole. a first housing including an opening formed therein and filled with liquid carbon dioxide and gaseous carbon dioxide at a higher pressure than atmospheric pressure; a drum for accommodating laundry inside, and rotatably provided in the inside of the first housing so that the laundry and the carbon dioxide are mixed together; a barrier configured to seal the opening and coupled to the first housing, wherein the barrier includes a first through-hole and a second through-hole; a second housing configured to seal one surface of the barrier and coupled to the first housing; and a motor assembly disposed in the second housing, and coupled to the barrier, wherein the motor assembly includes: a stator, a rotor, and a bearing housing, a rotary shaft disposed in the bearing housing, the rotary shaft having one end of which is coupled to the rotor, and the other end of which is coupled to the drum passing through the barrier; a first sealing part and a second sealing part that are disposed in the bearing housing and coupled to the rotary shaft at position spaced apart from each other, and a first bearing and a second bearing for rotatably supporting the rotary shaft are disposed between the first sealing part and the second sealing part, wherein the rotary shaft passes through the first through-hole, and gaseous carbon dioxide flows between the first housing and the second housing via the second through-hole. a rotary shaft disposed in the bearing housing, the rotary shaft having one end of which is coupled to the rotor, and the other end of which is coupled to the drum passing through the barrier; a first sealing part and a second sealing part that are disposed in the bearing housing and coupled to the rotary shaft at position spaced apart from each other, and a first bearing and a second bearing for rotatably supporting the rotary shaft are disposed between the first sealing part and the second sealing part, wherein the rotary shaft passes through the first through-hole, and gaseous carbon dioxide flows between the first housing and the second housing via the second through-hole.