An electronic device comprising: a housing (101, 110, 120) comprising a first housing and a second housing; a hinge structure (200a, 200b) accommodated in the housing (101, 110, 120) and connected to the first housing and the second housing; and a flexible display disposed over at least portion of the first housing, the hinge structure (200a, 200b), and the second housing, wherein the hinge structure (200a, 200b) comprises: a first rotating shaft rotating about a first axis; a second rotating shaft rotating about a second axis; a first arm part comprising a first cam structure (221_4a) and a second cam structure (221_4b) connected to the first rotating shaft; a second arm part comprising a third cam structure (222_4a) and a fourth cam structure connected to the second rotating shaft; a first rotating part connected to the first arm part; a second rotating part connected to the second arm part, the first rotating part being configured to rotate with the first housing about a third axis, and the second rotating part being configured to rotate with the second housing about a fourth axis; a first cam member comprising a first cam (241a_1a) engaged with the first cam structure (221_4a) and a second cam (241a_1b) engaged with the third cam structure (222_4a); a second cam member comprising a third cam (241b_1a) engaged with the second cam structure (221_4b) and a fourth cam (241b_1b) engaged with the fourth cam structure; a first elastic body connected to the first rotating shaft and configured to provide an elastic force to the first cam (241a_1a); a second elastic body connected to the second rotating shaft and configured to provide an elastic force to the second cam (241a_1b); a third elastic body connected to the first rotating shaft and configured to provide an elastic force to the third cam (241b_1a); and a fourth elastic body connected to the second rotating shaft and configured to provide an elastic force to the fourth cam (241b_1b). a housing (101, 110, 120) comprising a first housing and a second housing; a hinge structure (200a, 200b) accommodated in the housing (101, 110, 120) and connected to the first housing and the second housing; and a flexible display disposed over at least portion of the first housing, the hinge structure (200a, 200b), and the second housing, wherein the hinge structure (200a, 200b) comprises: a first rotating shaft rotating about a first axis; a second rotating shaft rotating about a second axis; a first arm part comprising a first cam structure (221_4a) and a second cam structure (221_4b) connected to the first rotating shaft; a second arm part comprising a third cam structure (222_4a) and a fourth cam structure connected to the second rotating shaft; a first rotating part connected to the first arm part; a second rotating part connected to the second arm part, the first rotating part being configured to rotate with the first housing about a third axis, and the second rotating part being configured to rotate with the second housing about a fourth axis; a first cam member comprising a first cam (241a_1a) engaged with the first cam structure (221_4a) and a second cam (241a_1b) engaged with the third cam structure (222_4a); a second cam member comprising a third cam (241b_1a) engaged with the second cam structure (221_4b) and a fourth cam (241b_1b) engaged with the fourth cam structure; a first elastic body connected to the first rotating shaft and configured to provide an elastic force to the first cam (241a_1a); a second elastic body connected to the second rotating shaft and configured to provide an elastic force to the second cam (241a_1b); a third elastic body connected to the first rotating shaft and configured to provide an elastic force to the third cam (241b_1a); and a first rotating shaft rotating about a first axis; a second rotating shaft rotating about a second axis; a first arm part comprising a first cam structure (221_4a) and a second cam structure (221_4b) connected to the first rotating shaft; a second arm part comprising a third cam structure (222_4a) and a fourth cam structure connected to the second rotating shaft; a first rotating part connected to the first arm part; a second rotating part connected to the second arm part, the first rotating part being configured to rotate with the first housing about a third axis, and the second rotating part being configured to rotate with the second housing about a fourth axis; a first cam member comprising a first cam (241a_1a) engaged with the first cam structure (221_4a) and a second cam (241a_1b) engaged with the third cam structure (222_4a); a second cam member comprising a third cam (241b_1a) engaged with the second cam structure (221_4b) and a fourth cam (241b_1b) engaged with the fourth cam structure; a first elastic body connected to the first rotating shaft and configured to provide an elastic force to the first cam (241a_1a); a second elastic body connected to the second rotating shaft and configured to provide an elastic force to the second cam (241a_1b); a third elastic body connected to the first rotating shaft and configured to provide an elastic force to the third cam (241b_1a); and