A portable communication device (20, 50, 60, 70) comprising: a housing foldable with respect to a folding axis and including a first housing portion (210, 510, 610, 710) and a second housing portion (220, 520, 620, 720), the first housing portion including a first sidewall (631, 731) substantially parallel with the folding axis, a second sidewall extended from a first end of the first sidewall and substantially perpendicular to the folding axis, and a third sidewall extended from a second end of the first sidewall and substantially perpendicular to the folding axis; a hinge structure (530, 630) coupled with the first housing portion and the second housing portion; a flexible display including a first display portion accommodated in the first housing portion and a second display portion accommodated in the second housing portion; a plurality of magnets including a first magnet (751, 752, 753) and a second magnet (761, 762, 763), the first magnet accommodated in the first housing portion and disposed along a portion of the first sidewall, and the second magnet accommodated in the second housing portion and disposed to face the first magnet when the housing is folded; a battery accommodated in the first housing portion, at least a portion of the battery disposed between the first magnet and the hinge structure; a plurality of printed circuit boards, PCBs, (771, 772) accommodated in the first housing portion, and including a first PCB disposed between the battery and the second sidewall, and a second PCB disposed between the battery and the third sidewall; a wireless communication circuit disposed at the first PCB; and a first electrical path and a second electrical path accommodated in the first housing portion and electrically connected with the wireless communication circuit and the second printed circuit board, at least a portion of the first electrical path and a portion of the second electrical path disposed between the first magnet and the battery wherein the portion of the first electrical path is stacked on the portion of the second electrical path within a space between the first magnet and the battery. a housing foldable with respect to a folding axis and including a first housing portion (210, 510, 610, 710) and a second housing portion (220, 520, 620, 720), the first housing portion including a first sidewall (631, 731) substantially parallel with the folding axis, a second sidewall extended from a first end of the first sidewall and substantially perpendicular to the folding axis, and a third sidewall extended from a second end of the first sidewall and substantially perpendicular to the folding axis; a hinge structure (530, 630) coupled with the first housing portion and the second housing portion; a flexible display including a first display portion accommodated in the first housing portion and a second display portion accommodated in the second housing portion; a plurality of magnets including a first magnet (751, 752, 753) and a second magnet (761, 762, 763), the first magnet accommodated in the first housing portion and disposed along a portion of the first sidewall, and the second magnet accommodated in the second housing portion and disposed to face the first magnet when the housing is folded; a battery accommodated in the first housing portion, at least a portion of the battery disposed between the first magnet and the hinge structure; a plurality of printed circuit boards, PCBs, (771, 772) accommodated in the first housing portion, and including a first PCB disposed between the battery and the second sidewall, and a second PCB disposed between the battery and the third sidewall; a wireless communication circuit disposed at the first PCB; and a first electrical path and a second electrical path accommodated in the first housing portion and electrically connected with the wireless communication circuit and the second printed circuit board, at least a portion of the first electrical path and a portion of the second electrical path disposed between the first magnet and the battery wherein the portion of the first electrical path is stacked on the portion of the second electrical path within a space between the first magnet and the battery.