A control apparatus for a gas sensor with a built-in heater is provided which can prevent damage to, deterioration of, and reduction in accuracy of detection of, a gas sensor. When an ignition switch is turned ON, supply of electricity to a heater 27 starts, and when the temperature in the vicinity of a gas sensor 15 (gas temperature of gas detection chamber 24) Ts becomes greater than a predetermined temperature #Ti at start, or when a predetermined electricity supply time after start of supply of electricity to the heater 27 has elapsed, the gas sensor 15 is started. The flow of off-gas is started simultaneously with starting of the gas sensor 15, or after starting. When the ignition switch is turned OFF, the flow of off gas is stopped, and the supply of electric power to the gas sensor 15 is stopped. In a state where a temperature difference ΔT between the gas temperature Ts inside the gas detection chamber 24, and an upstream gas temperature Tg is maintained within a predetermined range, the supply of electricity to the heater 27 is stopped after a predetermined time has elapsed after operation of the gas sensor 15 is stopped.