The city has been devastated by several earthquakes, including the 1868 Arica earthquake, the 1877 Iquique earthquake, and the 2005 Tarapacá earthquake. The 2014 Iquique earthquake occurred with a moment magnitude of 8.2 on April 1, 2014.