An electronic device (101, 2801, 2802, 2804) comprising: a housing comprising a first housing constituting a side face and rear face of the electronic device (101, 2801, 2802, 2804) and a second housing slidably coupled to the first housing within a specific range; a heating part (2404a, 2404b) disposed to at least one region of the first housing and second housing; a driving unit disposed to one region in the housing; a flexible display of which at least one region is viewable from the outside of the electronic device (101, 2801, 2802, 2804) through the front face of the electronic device (101, 2801, 2802, 2804) and which comprises a metal plate, wherein the flexible display comprises a first portion (120a, 121a) exposed to the outside of the housing and a second portion (120b, 121b, 122) extending from the first portion (120a, 121a) and inserted into the housing or drawn out to the outside when the second housing moves with respect to the first housing; a support structure attached to a rear face of the second portion (120b, 121b, 122); at least one temperature sensor disposed at least partially inside the housing; and at least one processor (510, 2820) electrically coupled to at least one of the heating part (2404a, 2404b), the driving unit, the flexible display, the support structure, and the temperature sensor, wherein the at least one processor (510, 2820) is configured to: determine a temperature at a region in which the second portion (120b, 121b, 122) of the flexible display is disposed through the at least one temperature sensor; determine whether an event for moving the second housing occurs; based on at least determination of the event for moving the second housing, controla movement speed of the second housing to a first driving speed, based on at least the sensed temperature being greater than or equal to a first temperature; based on at least determination of the event for moving the second housing, control the movement speed of the second housing to a second driving speed lower than the first driving speed or restrict a movement of the second housing, based on at least the sensed temperature being less than the first temperature at the occurrence of the event for moving the second housing; and supply a first power to at least one of the heating part (2404a, 2404b), the driving unit, the metal plate, and the support structure. a housing comprising a first housing constituting a side face and rear face of the electronic device (101, 2801, 2802, 2804) and a second housing slidably coupled to the first housing within a specific range; a heating part (2404a, 2404b) disposed to at least one region of the first housing and second housing; a driving unit disposed to one region in the housing; a flexible display of which at least one region is viewable from the outside of the electronic device (101, 2801, 2802, 2804) through the front face of the electronic device (101, 2801, 2802, 2804) and which comprises a metal plate, wherein the flexible display comprises a first portion (120a, 121a) exposed to the outside of the housing and a second portion (120b, 121b, 122) extending from the first portion (120a, 121a) and inserted into the housing or drawn out to the outside when the second housing moves with respect to the first housing; a support structure attached to a rear face of the second portion (120b, 121b, 122); at least one temperature sensor disposed at least partially inside the housing; and at least one processor (510, 2820) electrically coupled to at least one of the heating part (2404a, 2404b), the driving unit, the flexible display, the support structure, and the temperature sensor, wherein the at least one processor (510, 2820) is configured to: determine a temperature at a region in which the second portion (120b, 121b, 122) of the flexible display is disposed through the at least one temperature sensor; determine whether an event for moving the second housing occurs; based on at least determination of the event for moving the second housing, controla movement speed of the second housing to a first driving speed, based on at least the sensed temperature being greater than or equal to a first temperature; based on at least determination of the event for moving the second housing, control the movement speed of the second housing to a second driving speed lower than the first driving speed or restrict a movement of the second housing, based on at least the sensed temperature being less than the first temperature at the occurrence of the event for moving the second housing; and supply a first power to at least one of the heating part (2404a, 2404b), the driving unit, the metal plate, and the support structure. determine a temperature at a region in which the second portion (120b, 121b, 122) of the flexible display is disposed through the at least one temperature sensor; determine whether an event for moving the second housing occurs; based on at least determination of the event for moving the second housing, controla movement speed of the second housing to a first driving speed, based on at least the sensed temperature being greater than or equal to a first temperature; based on at least determination of the event for moving the second housing, control the movement speed of the second housing to a second driving speed lower than the first driving speed or restrict a movement of the second housing, based on at least the sensed temperature being less than the first temperature at the occurrence of the event for moving the second housing; and supply a first power to at least one of the heating part (2404a, 2404b), the driving unit, the metal plate, and the support structure.