A refrigerator comprising: a body having a storage compartment; a door pivotally coupled to the body to open and close the storage compartment, and having a door frame including an upper frame providing top edge of the door, a lower frame providing a bottom edge of the door, a first side frame providing a first side edge of the door and a second side frame providing a second side edge of the door; a planar heater including: a first heating wire extending along each of the upper frame, the lower frame, the first side frame and the second side frame, and a second heating wire extending along at least one of the upper frame, the lower frame, the first side frame and the second side frame but not along each of the upper frame, the lower frame, the first side frame and the second side frame; a sensor configured to measure at least one of temperature and humidity outside the refrigerator; and a processor configured to control driving of at least one of the first heating wire and the second heating wire based on a measured value of the sensor, and characterized by: hinges (70c, 70d, 70e, 70f), on one of the first side frame and the second side frame, connecting the door and the body to each other, wherein the second heating wire extends along the other of the first side frame and the second side frame. a body having a storage compartment; a door pivotally coupled to the body to open and close the storage compartment, and having a door frame including an upper frame providing top edge of the door, a lower frame providing a bottom edge of the door, a first side frame providing a first side edge of the door and a second side frame providing a second side edge of the door; a planar heater including: a first heating wire extending along each of the upper frame, the lower frame, the first side frame and the second side frame, and a second heating wire extending along at least one of the upper frame, the lower frame, the first side frame and the second side frame but not along each of the upper frame, the lower frame, the first side frame and the second side frame; a sensor configured to measure at least one of temperature and humidity outside the refrigerator; and a processor configured to control driving of at least one of the first heating wire and the second heating wire based on a measured value of the sensor, and characterized by: hinges (70c, 70d, 70e, 70f), on one of the first side frame and the second side frame, connecting the door and the body to each other, wherein the second heating wire extends along the other of the first side frame and the second side frame. a first heating wire extending along each of the upper frame, the lower frame, the first side frame and the second side frame, and a second heating wire extending along at least one of the upper frame, the lower frame, the first side frame and the second side frame but not along each of the upper frame, the lower frame, the first side frame and the second side frame; a sensor configured to measure at least one of temperature and humidity outside the refrigerator; and a processor configured to control driving of at least one of the first heating wire and the second heating wire based on a measured value of the sensor, and characterized by: hinges (70c, 70d, 70e, 70f), on one of the first side frame and the second side frame, connecting the door and the body to each other, wherein the second heating wire extends along the other of the first side frame and the second side frame. hinges (70c, 70d, 70e, 70f), on one of the first side frame and the second side frame, connecting the door and the body to each other, wherein the second heating wire extends along the other of the first side frame and the second side frame.