Andorra is located in the Axial Zone of the central Pyrenees mountain range in south western Europe. This means that it has intensely folded and thrusted rocks formed when the Iberian peninsula was rotated onto the European continent.
In the south east of the country is an alkaline granite from a batholith called Mt-Louis-Andorra Batholith. It extends into Spain and covers an area of 600 km2. Different rock composition zones occur with monzogranite found at the centre, quartzdiorite at the edge and granodiorite in intermediate parts. The batholith has caused metamorphism on its western edge. The base of the batholith is exposed in the east of Andorra.
In the Central and Eastern Pyrenees, which includes Andorra, no fossils older than the Ordovician Caradoc 450–460 million years ago have been found.
Andorra was extensively glaciated during the Quaternary; glaciers flowed down all of the major valleys of Andorra, merging into one large glacier at Escaldes-Engordany, which in the coldest stage reached as far south as Pont de la Fontaneda near Santa Coloma. Andorra has numerous glacial erosional features, including U-shaped valleys, cirques, arêtes, and roche moutonnées. Examples of cirques include the Cirque de Pessons in the east, Llac de Tristaina in the northwest, and the two cirques at approximately 2400 m elevation on Pic de Casamanya (2740 m). Santa Coloma has a glacial terminal moraine.