A method for operating an exhaust gas system of an internal combustion engine having at least one heater and a catalytic converter for converting hydrocarbons, includes operating the heater in such a way that it is adapted to the aging state of the catalytic converter. A method for operating a motor vehicle and a motor vehicle are also provided.