A paleomagnetic study has been undertaken in Jurassic volcanics and Cretaceous intrusions from coastal southern Peru. A secondary magnetization in the Jurassic volcanics was identified at 21 sites from three main localities along the southern coast of Peru (mean virtual geomagnetic pole: 59.5°N, 190.1°E, k=111, α95=3.0). This secondary magnetization was acquired during a tectonomagmatic event that may be related to the emplacement of the Peruvian coastal batholith and/or to the first Andean phase of compressional deformation in Late Cretaceous. If we assume that the remagnetization is of Late Cretaceous age, a regional counterclockwise rotation of about 20° is recorded by the forearc of southern Peru from 16°S to 18°S. Primary remanent magnetizations recorded by the volcanics and the batholith reveal a more complex tectonic history of block rotations. Counterclockwise rotations of 50° to 80° are documented near the localities of Chala (eight sites), Oconà (two sites) and Arequipa (four sites). Preliminary results based on three sites of Late Permian to Early Triassic sediments from northern Bolivia also show a large counterclockwise rotation. The observed differences between the primary and the secondary magnetization indicate that large block rotations occurred prior to the acquisition of the secondary magnetization. Perhaps, this first episode of deformation partially structured the Andean chain in the Central Andes and induced an incipient orocline. During the Cenozoic, a differential shortening along the chain gave the present‐day shape of the Bolivian deflection and resulted in a counterclockwise rotation of the forearc system by about 20° as indicated by the remagnetization.