A mobile terminal comprising: a first body; a second body; and a folding unit coupling the first body and the second body and configured to be foldable, wherein the folding unit comprises: a plurality of blocks that are sequentially arranged, each of the plurality of blocks including a magnet for generating magnetic force when the folding unit is folded or unfolded, wherein each of the plurality of blocks has a first portion and a second portion arranged in a thickness direction of the block such that the first portion is positioned at an inner side and the second portion is positioned at an outer side when the folding unit is folded; and spaces between second portions are narrowed or eliminated due to magnetic attraction caused by a plurality of magnets when the folding unit is unfolded, and the spaces between the second portions are widened when the folding unit is folded, and wherein each of the first and second portions (203a, 203b) has a side surface having a different slope with respect to a corresponding surface of each of the first and second bodies (201, 202), wherein the first portions are configured to come into contact with each other in a folded second state to form a predetermined curved line trace, and wherein the second portions of the plurality of blocks are formed to have sides substantially perpendicular to one surface of the first and second bodies (201, 202) such that the second portions come into contact with each other so as to be flat in a unfolded first state. a first body; a second body; and a folding unit coupling the first body and the second body and configured to be foldable, wherein the folding unit comprises: a plurality of blocks that are sequentially arranged, each of the plurality of blocks including a magnet for generating magnetic force when the folding unit is folded or unfolded, wherein each of the plurality of blocks has a first portion and a second portion arranged in a thickness direction of the block such that the first portion is positioned at an inner side and the second portion is positioned at an outer side when the folding unit is folded; and spaces between second portions are narrowed or eliminated due to magnetic attraction caused by a plurality of magnets when the folding unit is unfolded, and the spaces between the second portions are widened when the folding unit is folded, and wherein each of the first and second portions (203a, 203b) has a side surface having a different slope with respect to a corresponding surface of each of the first and second bodies (201, 202), wherein the first portions are configured to come into contact with each other in a folded second state to form a predetermined curved line trace, and wherein the second portions of the plurality of blocks are formed to have sides substantially perpendicular to one surface of the first and second bodies (201, 202) such that the second portions come into contact with each other so as to be flat in a unfolded first state. a plurality of blocks that are sequentially arranged, each of the plurality of blocks including a magnet for generating magnetic force when the folding unit is folded or unfolded, wherein each of the plurality of blocks has a first portion and a second portion arranged in a thickness direction of the block such that the first portion is positioned at an inner side and the second portion is positioned at an outer side when the folding unit is folded; and spaces between second portions are narrowed or eliminated due to magnetic attraction caused by a plurality of magnets when the folding unit is unfolded, and the spaces between the second portions are widened when the folding unit is folded, and wherein each of the first and second portions (203a, 203b) has a side surface having a different slope with respect to a corresponding surface of each of the first and second bodies (201, 202), wherein the first portions are configured to come into contact with each other in a folded second state to form a predetermined curved line trace, and wherein the second portions of the plurality of blocks are formed to have sides substantially perpendicular to one surface of the first and second bodies (201, 202) such that the second portions come into contact with each other so as to be flat in a unfolded first state.