A batch type temperature swing adsorption apparatus having two lines of adsorbent units (109, 118), wherein while in one line, adsorption operation by the adsorbent unit of the treatment gas is carried out, in the other line, regeneration operation of the adsorbent unit by regeneration gas is carried out, and switching of adsorption operation and regeneration operation is alternately carried out (switching of adsorption/regeneration modes), wherein, the two lines of adsorbent units have, for said switching operation, two automatic four-port selector valves as a first valve and a second valve in combination, (i) said automatic four-port selector valve comprising a casing having a space portion inside it, framed partition plates (132a, 132b, 132c, 132d) for separating said space portion into four small rooms R1, R2, R3 and R4, the framed partition plates having an opening portion (139a, 139b, 139c, 139d) each, plate-shaped turnable valve bodies (134a, 134b) for opening or closing the opening portions of said framed partition plates, an inflow port L1 for always letting a gas flow in through it in any instance, an inflow/outflow port L2 for letting a gas flow in and flow out through it alternately, an outflow port L3 for always letting a gas flow out through it in any instance and an inflow/outflow port L4 for letting a gas flow in and flow out through it alternately with said L2, these ports being provided in said separated four small rooms, and a driving means for turning said plate-shaped turnable valve bodies about a rotation shaft, and (ii) each of the two lines of adsorbent units (109, 118) is constituted at least of regeneration means for regenerating the adsorption capability of said adsorbent unit, measuring/adjusting means each for a static pressure of treatment gas, a static pressure of supply gas, a static pressure of regeneration gas and a static pressure of exhaust gas, measuring/adjusting means for a flow rate of the regeneration gas and/or a flow rate of the treatment gas and a switching controller for controlling the switching of adsorption operation and regeneration operation with said first valve and said second valve, (iii) wherein, before the switching of the adsorption/regeneration modes, (a) the flow rate of the treatment gas and the flow rate of the regeneration gas are adjusted to ensure that they come to be equal to each other, and further (b) the static pressure of the treatment gas and the static pressure of the regeneration gas are adjusted to ensure that they come to be equal to each other, and then the switching of adsorption/regeneration modes is carried out. (i) said automatic four-port selector valve comprising a casing having a space portion inside it, framed partition plates (132a, 132b, 132c, 132d) for separating said space portion into four small rooms R1, R2, R3 and R4, the framed partition plates having an opening portion (139a, 139b, 139c, 139d) each, plate-shaped turnable valve bodies (134a, 134b) for opening or closing the opening portions of said framed partition plates, an inflow port L1 for always letting a gas flow in through it in any instance, an inflow/outflow port L2 for letting a gas flow in and flow out through it alternately, an outflow port L3 for always letting a gas flow out through it in any instance and an inflow/outflow port L4 for letting a gas flow in and flow out through it alternately with said L2, these ports being provided in said separated four small rooms, and a driving means for turning said plate-shaped turnable valve bodies about a rotation shaft, and (ii) each of the two lines of adsorbent units (109, 118) is constituted at least of regeneration means for regenerating the adsorption capability of said adsorbent unit, measuring/adjusting means each for a static pressure of treatment gas, a static pressure of supply gas, a static pressure of regeneration gas and a static pressure of exhaust gas, measuring/adjusting means for a flow rate of the regeneration gas and/or a flow rate of the treatment gas and a switching controller for controlling the switching of adsorption operation and regeneration operation with said first valve and said second valve, (iii) wherein, before the switching of the adsorption/regeneration modes, (a) the flow rate of the treatment gas and the flow rate of the regeneration gas are adjusted to ensure that they come to be equal to each other, and further (b) the static pressure of the treatment gas and the static pressure of the regeneration gas are adjusted to ensure that they come to be equal to each other, and then the switching of adsorption/regeneration modes is carried out.