Sodium sulfite (Na2SO3) is used in water-based drilling fluids to remove dissolved oxygen and prevent oxygen corrosion of metals. The oxygen in a drilling fluid comes mainly from the atmosphere and is mixed in at places such as mud pits, high-pressure mud guns, and mud pumps, and part of it dissolves in the drilling fluid; the more oxygen there is, the faster the corrosion, and if H2S or CO2 is present at the same time, the oxygen corrosion rate increases sharply.
Commonly used chemical oxygen scavengers include sodium sulfite, ammonium sulfite, sulfur dioxide, and hydrazine, among which sodium sulfite is the most widely used, and its reaction with oxygen is 2Na2SO3 + O2 = 2Na2SO4. When removing oxygen from brine workover fluids, two points should be noted: the sulfate ion generated after oxidation of sodium sulfite and the like will produce sparingly soluble precipitates when it encounters Ca2+, Sr2+ or Ba2+; and when H2S is present in the brine, SO2 and Na2SO3 lose their effectiveness and also produce a precipitate of elemental sulfur. Sodium sulfite is also listed as one of the commonly used corrosion inhibitors.