Abstract Various polymers and other thickening agents have been evaluated as gelling agents for hydrochloric acid (HCl). These materials were compared on the basis of thickening efficiency, acid stability, and residue formation upon spending of the acid. Thickeners tested include xanthan polymers (XP), guar gum (GG), hydroxyethyl cellulose (HEC), carboxymethylhydroxyethyl cellulose (CMHEC), polyacrylamide (PAM), polyvinyl alcohol (PVA), polyvinylpyrrolidone (PVP), acrylamide/sodium-2-acryl-amido-2-methylpropane sulfonate copolymer (PAM/AMPS), and a cationic surfactant that thickens acid when used at high concentrations. Of the thickening agents tested, XP showed the greatest overall potential for use as an acid gelling agent. This polymer is an efficient viscosity builder and has good stability in 15% HCl at temperatures up to 150°F. Computer model studies, which take into consideration cool-down and gel degradation rate at various stages of acid spending, indicate viscosity is maintained when treating wells that have bottomhole temperatures (BHT's) up to 220°F. Since the gelled acid retains its viscosity during spending, both reaction rate and fluid leakoff are retarded. Laboratory studies simulating downhole spending conditions yield a 3.6-fold increase in spending time for gelled 15% HCl (22-cp) compared with ungelled acid. Well test results are presented that demonstrate the effectiveness of acid fracturing treatments using HCl with XP.