PROBLEM TO BE SOLVED: To provide a microwave oven in which insufficient cooking, e.g., boiling over by bumping or poor texture, does not occur during microwave oven cooking of a packed food product into which a specific amount of water is injected, and to provide its control program.SOLUTION: When heating of a food product, into which a specific amount of water required for cooking is injected, is started, a microcomputer 4 built in a microwave oven 1 detects the surface temperature of water by means of an infrared sensor 3, selects a cooking pattern corresponding to the detected temperature, and performs output control of microwaves according to the cooking pattern. Its control program is also provided.