Method for treating a soil containing at least one pollutant to be extracted, said method of treatment providing to: - heat the soil to a temperature adapted to produce in the soil vapours comprising the pollutant in a gaseous state, - collect the vapours by the intermediary of a collection system comprising at least one extraction well pushed into the soil, said method of treatment providing, in order to heat the soil, to: - use an electric heating system comprising at least one electric heating point and an electric energy supply device, with each heating point comprising a hollow sheath made of heat conducting material, at least one electric heating element placed inside the sheath and a filling mass made of electrically insulating and heat conducting material, with said filling mass filling the sheath around the heating element, - push the sheath of each heating point into the soil; - connect the heating element of each heating point to the supply device, - measure at least one collection parameter concerning the vapours in the collection system, such as a collection parameter chosen from among a concentration, a flow rate, a pressure and a temperature of the vapours, by at least one measurement sensor of the collection system, - adjust in temperature each heating point according to the collection parameter by a control unit connected to the measurement sensor, said method of treatment characterised in that it provides, in order to adjust in temperature each heating point, to: - memorise at least one setpoint ramp that controls an increase in temperature of the heating point by a determined quantity at determined periods, - control the increase in temperature of the heating point by following the setpoint ramp as long as the collection parameter is in a first determined range of values, - slow down the increase in temperature of the heating point if the collection parameter is in a second determined range of values, separate from the first range of values. - heat the soil to a temperature adapted to produce in the soil vapours comprising the pollutant in a gaseous state, - collect the vapours by the intermediary of a collection system comprising at least one extraction well pushed into the soil, - use an electric heating system comprising at least one electric heating point and an electric energy supply device, with each heating point comprising a hollow sheath made of heat conducting material, at least one electric heating element placed inside the sheath and a filling mass made of electrically insulating and heat conducting material, with said filling mass filling the sheath around the heating element, - push the sheath of each heating point into the soil; - connect the heating element of each heating point to the supply device, - measure at least one collection parameter concerning the vapours in the collection system, such as a collection parameter chosen from among a concentration, a flow rate, a pressure and a temperature of the vapours, by at least one measurement sensor of the collection system, - adjust in temperature each heating point according to the collection parameter by a control unit connected to the measurement sensor, - memorise at least one setpoint ramp that controls an increase in temperature of the heating point by a determined quantity at determined periods, - control the increase in temperature of the heating point by following the setpoint ramp as long as the collection parameter is in a first determined range of values, - slow down the increase in temperature of the heating point if the collection parameter is in a second determined range of values, separate from the first range of values.