San Pedro de Atacama is a Chilean town and commune in El Loa Province, Antofagasta Region. It is located east of Antofagasta, some 106 km (60 mi) southeast of Calama and the Chuquicamata copper mine, overlooking the Licancabur volcano. It features a significant archeological museum, the R. P. Gustavo Le Paige Archaeological Museum, with a large collection of relics and artifacts from the region. Native ruins nearby attract increasing numbers of tourists interested in learning about pre-Columbian cultures.
San Pedro de Atacama grew, over centuries, around an oasis in the Puna de Atacama, an arid high plateau. Its first inhabitants were the Atacameños, who developed basketworks and ceramic pottery crafts that can be now be appreciated by tourists in the several souvenir shops as typical products of San Pedro de Atacama.
It was part of Bolivia since independence from Spain until Chile claimed ownership during the War of the Pacific. During that war, the Battle of Río Grande was fought in the surroundings.
According to the 2002 census of the National Statistics Institute, San Pedro de Atacama had 4,969 inhabitants (2,928 males and 2,041 females). Of these, 1,938 (39%) lived in urban areas and 3,031 (61%) in rural areas. The population grew by 75.6% (2,140 persons) between the 1992 and 2002 censuses.
As a commune, San Pedro de Atacama is a third-level administrative division of Chile administered by a municipal council, headed by an alcalde who is directly elected every four years. The 2008-2012 alcalde is Sandra Berna Martínez.
Within the electoral divisions of Chile, San Pedro de Atacama is represented in the Chamber of Deputies by Marcos Espinosa (PRSD) and Felipe Ward (UDI) as part of the third electoral district, (together with Tocopilla, María Elena, Calama and Ollagüe). The commune is represented in the Senate by Alejandro Guillier Álvarez (PRSD) and Pedro Araya Guerrero (Ind.) as part of the second senatorial constituency (Antofagasta Region).
The town lies at an average of , thus visitors often experience mild altitude sickness such as dizziness, lethargy and headaches.