Abstract: Water soluble thickened acid compositions suitable for matrix or fracture acidizing are provided comprising water, an acid, and a water thickening amount of a copolymer of a N-vinyl lactam and an unsaturated amide. This composition can contain in addition a crosslinking agent to give a gelled acid composition. In a preferred embodiment, a lactam-containing copolymer is made in a diluent containing dissolved electrolytes. These compositions are particularly useful in acid or matrix fracturing in subterranean formations exhibiting a hostile environment, as exemplified by high temperatures and/or high concentration of multivalent metal cations.