NOVELTY - The temperature swing adsorption process comprises providing an adsorber containing an adsorbent and subjecting the adsorber to a pressure cycle, which comprises an adsorption step, a step of producing a stream enriched in the main component and a regeneration step. The regeneration step comprises: regenerating the adsorbent by a regeneration gas comprising an unwanted component with a content of 10 times greater than the allowable level of the unwanted component in the enriched stream; and scanning the adsorbent by a purge gas to remove a portion of the unwanted component from the adsorbent.    USE - The temperature swing adsorption process is useful for adsorptive purification of a gas mixture comprising a main component and impurity, where the gas mixture to be treated is synthesis gas comprising hydrogen, carbon monoxide and/or methane (all claimed).    ADVANTAGE - The process ensures energy-efficient purification of the gas mixture without impurities.    DETAILED DESCRIPTION - The temperature swing adsorption process comprises providing an adsorber containing an adsorbent and subjecting the adsorber to a pressure cycle, which comprises an adsorption step, a step of producing a stream enriched in the main component and a regeneration step. The regeneration step comprises: regenerating the adsorbent by a regeneration gas comprising an unwanted component with a content of 10 times greater than the allowable level of the unwanted component in the enriched stream; and scanning the adsorbent by a purge gas to remove a portion of the unwanted component from the adsorbent. The regenerating gas comprises a secondary component with a content of greater than or equal to 50 mol.%, and the allowable level of the secondary component in the enriched stream is less than or equal to 5 mol%. The process further comprises regulating the flow of purge gas and/or the duration of the scanning step so as to remove, from the absorbent, a portion of the unwanted components having a concentration of less than or equal to 5 mol.% in the enriched stream. The adsorber is continuously operated. The adsorption step is carried out at a first pressure (P1). The regeneration step is carried out at a second pressure (P2) that is lower than P1. The scanning step is carried out at a third pressure (P3) that is lower than P1 and equal to or less than P2. The purge gas consists of gas mixture to be treated or enriched stream in the main component, and is a fraction of gas mixture. The regeneration gas comprises 50% of less adsorbable component on the adsorbent than the main component of the purge gas. The scanning step is performed after heating phase or a cooling phase. The process further comprises performing depressurization and repressurization steps. The repressurization step implements a repressurization circuit.    DESCRIPTION OF DRAWING(S) - The diagram shows a schematic view of a drying unit and decarbonation of gas mixture to be treated in a cold box.    Adsorption unit (1)    Depressurization unit (2)    Heating unit (3)    Cooling unit (4)    Cooling unit. (5)