Disclosed is a cooking device comprising: a microwave generating unit which generates microwaves; a heating chamber for housing an object to be heated; an infrared sensor which is installed within the heating chamber; a scanning unit which scans the infrared sensor; and a control unit which controls the microwave generating unit on the basis of the output of the infrared sensor. The infrared sensor obtains a plurality of temperature distributions by obtaining a temperature distribution every time the infrared sensor is scanned a predetermined distance. The control unit controls the microwave generating unit according to a temperature distribution obtained by summing the plurality of temperature distributions.