A control device for an internal combustion engine comprising: an intake passage having one end connected to an intake side of an internal combustion engine; an exhaust passage having one end connected to an exhaust side of the internal combustion engine; an intercooler disposed in the intake passage; a catalyst provided in the exhaust passage; an exhaust gas recirculation device that is connected to the exhaust passage and the intake passage and that returns part of the exhaust to the intake passage; a water drainage line that has one end connected to a portion of the intake passage downstream of the intercooler, that has another end connected to a portion of the exhaust passage upstream of the catalyst, and that allows condensation water condensed by the intercooler to be discharged therethrough to the exhaust passage; an on-off valve provided midway along the water drainage line; detection means that is provided in at least one of the intake passage and the exhaust passage and that detects at least one of a state of intake air and a state of exhaust; and an on-off valve control unit that performs opening and closing control of the on-off valve in accordance with output of the detection means; a failure determination control unit that performs failure determination of the on-off valve in accordance with a change in the state of the intake air or a change in the state of the exhaust detected by the detection means, and an exhaust gas recirculation control unit that controls a flow amount of the exhaust of the exhaust gas recirculation device, wherein, when opening control of the on-off valve is performed while the on-off valve is closed, the failure determination control unit determines that the on-off valve is stuck closed in the case where the state of the intake air or the state of the exhaust detected by the detection means is not changed after a specified period of time has elapsed, wherein the exhaust gas recirculation device returns the part of the exhaust to a portion of the intake passage upstream of the intercooler from a portion of the exhaust passage between an exhaust filter provided in the exhaust passage and a connecting position of the water drainage line, and wherein the exhaust gas recirculation control unit causes the flow amount of the exhaust to decrease when the failure determination control unit determines that the on-off valve is stuck closed. an intake passage having one end connected to an intake side of an internal combustion engine; an exhaust passage having one end connected to an exhaust side of the internal combustion engine; an intercooler disposed in the intake passage; a catalyst provided in the exhaust passage; an exhaust gas recirculation device that is connected to the exhaust passage and the intake passage and that returns part of the exhaust to the intake passage; a water drainage line that has one end connected to a portion of the intake passage downstream of the intercooler, that has another end connected to a portion of the exhaust passage upstream of the catalyst, and that allows condensation water condensed by the intercooler to be discharged therethrough to the exhaust passage; an on-off valve provided midway along the water drainage line; detection means that is provided in at least one of the intake passage and the exhaust passage and that detects at least one of a state of intake air and a state of exhaust; and an on-off valve control unit that performs opening and closing control of the on-off valve in accordance with output of the detection means; a failure determination control unit that performs failure determination of the on-off valve in accordance with a change in the state of the intake air or a change in the state of the exhaust detected by the detection means, and an exhaust gas recirculation control unit that controls a flow amount of the exhaust of the exhaust gas recirculation device, wherein, when opening control of the on-off valve is performed while the on-off valve is closed, the failure determination control unit determines that the on-off valve is stuck closed in the case where the state of the intake air or the state of the exhaust detected by the detection means is not changed after a specified period of time has elapsed, wherein the exhaust gas recirculation device returns the part of the exhaust to a portion of the intake passage upstream of the intercooler from a portion of the exhaust passage between an exhaust filter provided in the exhaust passage and a connecting position of the water drainage line, and wherein the exhaust gas recirculation control unit causes the flow amount of the exhaust to decrease when the failure determination control unit determines that the on-off valve is stuck closed.