An electronic device is provided. The electronic device includes a hinge structure, a first housing structure, a second housing structure that is foldable with the first housing structure, a foldable housing, a flexible display, a first mid-plate disposed on one side of the first housing structure, a second mid-plate disposed on one side of the second housing structure, a flexible printed circuit board (FPCB) extending between the first mid-plate and the second mid-plate, a first sealing member that seals a first opening formed in the first mid-plate, and a second sealing member that seals a second opening formed in the second mid-plate.