The invention relates to a condensate-oil-resistant and temperature-resistant foam scrubbing agent for deep
coal bed gas exploitation and a preparation method of the condensate-oil-resistant and temperature-resistant foam scrubbing agent. The method comprises the following steps: (1) mixing 45-55 parts of
sodium 3-chloro-2-hydroxypropanesulfonate and 14-28 parts of lauryl
sodium sulfate, dissolving in an
aqueous solution containing a special additive, adding 70-110 parts of aliphatic
tertiary amine, heating to dissolve the aliphatic
tertiary amine, adding the
mixed solution into a three-neck flask, adjusting the pH value, heating, adjusting the pH value once every 25-35 minutes, reacting at 70-90 DEG C for 6-8 hours, and cooling to obtain a reaction solution; obtaining a yellow viscous product, namely the long-chain fat hydroxypropyl sulfonated
betaine; and (2) adding 5-10 parts of a mixture of
polyacrylamide and
cellulose and 1-8 parts of nanoparticles into 80-150 parts of a product obtained in the step (1) to obtain the condensate oil-resistant temperature-resistant foam scrubbing agent. The lowest
surface tension of the foam scrubbing agent can reach 28.12 mN / m, the foam scrubbing agent is high in foaming capacity, the foam height in clear water can reach 980 mL, the half-life period in high condensate
oil content can reach 350 s, the condensate
oil content reaches 35%, the foam height can still reach 750 mL, and the liquid carrying rate can reach 83.2%.