An exhaust gas control apparatus for an engine, the exhaust gas control apparatus comprising: a filter provided in an exhaust passage of the engine, the filter collecting particulate matter in exhaust gas; a selective reduction catalyst (33, 34) provided downstream of the filter in the exhaust passage, the selective reduction catalyst (33, 34) reducing nitrogen oxide in the exhaust gas by a selective reduction reaction using ammonia as a reducing agent; a reducing agent supply device configured to supply the ammonia to the selective reduction catalyst (33, 34); and an electronic control unit configured to: perform filter regeneration processing for regenerating a capability of the filter to collect the particulate matter; continue the filter regeneration processing in a case where an integrated value of time, when a bed temperature of the selective reduction catalyst (33, 34) during execution of the filter regeneration processing exceeds a certain value, is less than or equal to a default value, wherein the electronic control unit is configured to make the default value be variable according to an ammonia adsorption amount of the selective reduction catalyst (33, 34) at the time of start of the filter regeneration processing; and end the filter regeneration processing in a case where the integrated value of time is more than the default value. a filter provided in an exhaust passage of the engine, the filter collecting particulate matter in exhaust gas; a selective reduction catalyst (33, 34) provided downstream of the filter in the exhaust passage, the selective reduction catalyst (33, 34) reducing nitrogen oxide in the exhaust gas by a selective reduction reaction using ammonia as a reducing agent; a reducing agent supply device configured to supply the ammonia to the selective reduction catalyst (33, 34); and an electronic control unit configured to: perform filter regeneration processing for regenerating a capability of the filter to collect the particulate matter; continue the filter regeneration processing in a case where an integrated value of time, when a bed temperature of the selective reduction catalyst (33, 34) during execution of the filter regeneration processing exceeds a certain value, is less than or equal to a default value, wherein the electronic control unit is configured to make the default value be variable according to an ammonia adsorption amount of the selective reduction catalyst (33, 34) at the time of start of the filter regeneration processing; and end the filter regeneration processing in a case where the integrated value of time is more than the default value. perform filter regeneration processing for regenerating a capability of the filter to collect the particulate matter; continue the filter regeneration processing in a case where an integrated value of time, when a bed temperature of the selective reduction catalyst (33, 34) during execution of the filter regeneration processing exceeds a certain value, is less than or equal to a default value, wherein the electronic control unit is configured to make the default value be variable according to an ammonia adsorption amount of the selective reduction catalyst (33, 34) at the time of start of the filter regeneration processing; and end the filter regeneration processing in a case where the integrated value of time is more than the default value.