A control device for an internal combustion engine, the internal combustion engine including a turbocharger, the control device comprising: an electronic control unit configured to set a combustion parameter of the internal combustion engine such that a center-of-gravity position of a heat generation rate of the internal combustion engine corresponds to a first crank angle in a case where a load of the internal combustion engine is within a range between at least a first threshold and a second threshold exceeding the first threshold, the center-of-gravity position of the heat generation rate being a position determined based on the heat generation rate as an amount per unit crank angle of heat generated by combustion of fuel supplied to a cylinder of the internal combustion engine, wherein the electronic control unit is characterized by being configured to control the internal combustion engine by increasing a turbocharging pressure of the turbocharger such that the center-of-gravity position of the heat generation rate corresponds to the first crank angle when the center-of-gravity position of the heat generation rate is further on a retard side than the first crank angle, a rotational speed of the internal combustion engine is lower than a first rotational speed, and a speed of a vehicle in which the internal combustion engine is mounted is lower than a first speed, and wherein the electronic control unit is configured to control the internal combustion engine by executing one or both of an increase in a fuel injection pressure and advancing of a fuel injection timing such that the center-of-gravity position of the heat generation rate corresponds to the first crank angle when the center-of-gravity position of the heat generation rate is further on the retard side than the first crank angle and the rotational speed of the engine is equal to or higher than the first rotational speed or the speed of the vehicle is equal to or higher than the first speed. an electronic control unit configured to set a combustion parameter of the internal combustion engine such that a center-of-gravity position of a heat generation rate of the internal combustion engine corresponds to a first crank angle in a case where a load of the internal combustion engine is within a range between at least a first threshold and a second threshold exceeding the first threshold, the center-of-gravity position of the heat generation rate being a position determined based on the heat generation rate as an amount per unit crank angle of heat generated by combustion of fuel supplied to a cylinder of the internal combustion engine, wherein the electronic control unit is characterized by being configured to control the internal combustion engine by increasing a turbocharging pressure of the turbocharger such that the center-of-gravity position of the heat generation rate corresponds to the first crank angle when the center-of-gravity position of the heat generation rate is further on a retard side than the first crank angle, a rotational speed of the internal combustion engine is lower than a first rotational speed, and a speed of a vehicle in which the internal combustion engine is mounted is lower than a first speed, and wherein the electronic control unit is configured to control the internal combustion engine by executing one or both of an increase in a fuel injection pressure and advancing of a fuel injection timing such that the center-of-gravity position of the heat generation rate corresponds to the first crank angle when the center-of-gravity position of the heat generation rate is further on the retard side than the first crank angle and the rotational speed of the engine is equal to or higher than the first rotational speed or the speed of the vehicle is equal to or higher than the first speed.