The focus of this chapter will be on corrosion during downhole oil and gas treatments such as matrix acidizing, inorganic scale removal, and mud filter cake removal. The chapter will start by introducing the nature of oil and gas treatments, defining the types of corrosion, sharing the type of metallurgy, and the effect of alloying for tubulars used in the oilfield. After that, corrosive elements such as gases will be discussed. Common corrosion mechanisms and prevention methods that include the use of corrosion inhibitors and intensifiers will be shared. Additionally, the chapter will mention the passing criteria in the industry and the most notable chemical incompatibilities encountered. Moreover, the toxicity of these corrosion inhibitors will be touched on briefly and the chapter will end with environmentally friendly options for corrosion inhibition in the oilfield.