A control device for an internal combustion engine, the internal combustion engine comprising: an engine body; a water injector for injecting water inside of an intake passage of the engine body; and a fuel injector for injecting fuel made to burn inside a combustion chamber of the engine body, wherein the control device comprises a water injection control part configured to control an amount of injection of water from the water injector in a combustion cycle where fuel is injected from the fuel injector so that water which vaporizes inside the intake passage during the suction stroke and water which vaporizes inside the combustion chamber during the compression stroke are formed the water injection control part is configured to control the amount of injection of water from the water injector so that the amount of injection of water from the water injector becomes a total of the amount of water which vaporizes inside the intake passage, defined as the intake passage vaporization amount, and the amount of water which vaporizes inside the combustion chamber in the compression stroke after flowing into the combustion chamber, defined as the combustion chamber vaporization amount; and the control device further comprises an ignition timing control part configured so as to control an ignition timing of a spark plug for igniting fuel inside the combustion chamber based on the engine operating state, characterized in that: the control device further comprises an ignition timing correction part configured so as to correct the ignition timing to the advanced side based on the amount of injection of water from the water injector, and the ignition timing correction part is configured so as to: calculate a first ignition timing correction amount based on the combustion chamber vaporization amount; calculate a second ignition timing correction amount based on the intake passage vaporization amount; and correct the ignition timing to the advanced side based on the total of the first ignition timing correction amount and the second ignition timing correction amount. the internal combustion engine comprising: an engine body; a water injector for injecting water inside of an intake passage of the engine body; and a fuel injector for injecting fuel made to burn inside a combustion chamber of the engine body, wherein an engine body; a water injector for injecting water inside of an intake passage of the engine body; and a fuel injector for injecting fuel made to burn inside a combustion chamber of the engine body, wherein the control device comprises a water injection control part configured to control an amount of injection of water from the water injector in a combustion cycle where fuel is injected from the fuel injector so that water which vaporizes inside the intake passage during the suction stroke and water which vaporizes inside the combustion chamber during the compression stroke are formed the water injection control part is configured to control the amount of injection of water from the water injector so that the amount of injection of water from the water injector becomes a total of the amount of water which vaporizes inside the intake passage, defined as the intake passage vaporization amount, and the amount of water which vaporizes inside the combustion chamber in the compression stroke after flowing into the combustion chamber, defined as the combustion chamber vaporization amount; and the control device further comprises an ignition timing control part configured so as to control an ignition timing of a spark plug for igniting fuel inside the combustion chamber based on the engine operating state, the control device further comprises an ignition timing correction part configured so as to correct the ignition timing to the advanced side based on the amount of injection of water from the water injector, and the ignition timing correction part is configured so as to: calculate a first ignition timing correction amount based on the combustion chamber vaporization amount; calculate a second ignition timing correction amount based on the intake passage vaporization amount; and correct the ignition timing to the advanced side based on the total of the first ignition timing correction amount and the second ignition timing correction amount. calculate a first ignition timing correction amount based on the combustion chamber vaporization amount; calculate a second ignition timing correction amount based on the intake passage vaporization amount; and correct the ignition timing to the advanced side based on the total of the first ignition timing correction amount and the second ignition timing correction amount.