A hinge module for an electronic device to which a first housing structure and a second housing structure are connected to perform a hinge motion, the hinge module comprising: a first detent structure connected to the first housing structure and the second housing structure, a first hinge plate connected with the first housing structure, and a second hinge plate connected with the second housing structure, wherein the first detent structure includes: a first wing connected to the first hinge plate, and a first mounting part connected with the first wing and including a first recess, a second wing connected to the first hinge plate, and a second mounting part connected with the second wing and including a second recess, the second mounting part is spaced apart from the first mounting part, and a basic body connected to the second hinge plate, a third mounting part connected to the basic body, a fourth mounting part connected to the basic body, wherein a first protrusion part of the third mounting part is mounted on the first recess and a second protrusion part of the fourth mounting part is mounted on the second recess when the first housing structure and the second housing structure are in an unfolded state, wherein the third mounting part and the fourth mounting part are inserted into a space between the first mounting part and the second mounting part when the first housing structure and the second housing structure are in an unfolded state. a first detent structure connected to the first housing structure and the second housing structure, a first hinge plate connected with the first housing structure, and a second hinge plate connected with the second housing structure, wherein the first detent structure includes: a first wing connected to the first hinge plate, and a first mounting part connected with the first wing and including a first recess, a second wing connected to the first hinge plate, and a second mounting part connected with the second wing and including a second recess, the second mounting part is spaced apart from the first mounting part, and a basic body connected to the second hinge plate, a third mounting part connected to the basic body, a fourth mounting part connected to the basic body, wherein a first protrusion part of the third mounting part is mounted on the first recess and a second protrusion part of the fourth mounting part is mounted on the second recess when the first housing structure and the second housing structure are in an unfolded state, wherein the third mounting part and the fourth mounting part are inserted into a space between the first mounting part and the second mounting part when the first housing structure and the second housing structure are in an unfolded state. a first wing connected to the first hinge plate, and a first mounting part connected with the first wing and including a first recess, a second wing connected to the first hinge plate, and a second mounting part connected with the second wing and including a second recess, the second mounting part is spaced apart from the first mounting part, and a basic body connected to the second hinge plate, a third mounting part connected to the basic body, a fourth mounting part connected to the basic body, wherein a first protrusion part of the third mounting part is mounted on the first recess and a second protrusion part of the fourth mounting part is mounted on the second recess when the first housing structure and the second housing structure are in an unfolded state, wherein the third mounting part and the fourth mounting part are inserted into a space between the first mounting part and the second mounting part when the first housing structure and the second housing structure are in an unfolded state.