A dishwasher comprising: a tub having a washing space therein; a door, disposed at a front side of the tub, configured to open or close the washing space; and a drying device configured to dry the washing space, wherein the drying device comprises: a condensing duct, disposed outside the tub, configured to communicate with an inlet port formed in the tub and face an outer surface of the tub, wherein the condensing duct extends in a vertical direction and a first direction which intersects the vertical direction; and a fan configured to allow air in the condensing duct to flow, characterized in that the condensing duct comprises: an upstream portion configured to communicate with the inlet port; a downstream portion configured to communicate with the upstream portion and comprising a bent portion bent to descend and then ascend in the vertical direction of the condensing duct, and inhibiting a condensate water from flowing into a downstream side of the condensing duct; and a rib formed inside the bent portion, wherein the rib traverses the bent portion and protrudes in a second direction which intersects the vertical direction and the first direction. a tub having a washing space therein; a door, disposed at a front side of the tub, configured to open or close the washing space; and a drying device configured to dry the washing space, wherein the drying device comprises: a condensing duct, disposed outside the tub, configured to communicate with an inlet port formed in the tub and face an outer surface of the tub, wherein the condensing duct extends in a vertical direction and a first direction which intersects the vertical direction; and a fan configured to allow air in the condensing duct to flow, characterized in that the condensing duct comprises: an upstream portion configured to communicate with the inlet port; a downstream portion configured to communicate with the upstream portion and comprising a bent portion bent to descend and then ascend in the vertical direction of the condensing duct, and inhibiting a condensate water from flowing into a downstream side of the condensing duct; and a rib formed inside the bent portion, wherein the rib traverses the bent portion and protrudes in a second direction which intersects the vertical direction and the first direction. a condensing duct, disposed outside the tub, configured to communicate with an inlet port formed in the tub and face an outer surface of the tub, wherein the condensing duct extends in a vertical direction and a first direction which intersects the vertical direction; and a fan configured to allow air in the condensing duct to flow, characterized in that the condensing duct comprises: an upstream portion configured to communicate with the inlet port; a downstream portion configured to communicate with the upstream portion and comprising a bent portion bent to descend and then ascend in the vertical direction of the condensing duct, and inhibiting a condensate water from flowing into a downstream side of the condensing duct; and a rib formed inside the bent portion, wherein the rib traverses the bent portion and protrudes in a second direction which intersects the vertical direction and the first direction. an upstream portion configured to communicate with the inlet port; a downstream portion configured to communicate with the upstream portion and comprising a bent portion bent to descend and then ascend in the vertical direction of the condensing duct, and inhibiting a condensate water from flowing into a downstream side of the condensing duct; and a rib formed inside the bent portion, wherein the rib traverses the bent portion and protrudes in a second direction which intersects the vertical direction and the first direction.