Historically, both nations were host to great indigenous cultures; the Aztecs and Mayas in Mexico and the Incas in Peru. During colonization, both nations were part of the Spanish Empire until the early 19th century. Mexico was part of Viceroyalty of New Spain while Peru was part of the Viceroyalty of Peru. Diplomatic relations between Mexico and Peru were established in 1823, two years after Peru gained its independence from Spain.[1] In October 1892, Mexico opened its first consulate in Lima followed by the opening of an embassy on 14 June 1937.[1]
In 1932, a Peruvian newspaper published a letter by Peruvian politician Víctor Raúl Haya de la Torre where he talks about wanting to establish different styles of governing in Latin America. The letter was addressed to a colleague and states the plan in detail to another friend who he sent a letter (but never arrived) via a Mexican diplomatic pouch to Lima.[2] This letter caused such an outrage in Peru that the government accused the Mexican government of 'meddling' in its internal affairs and severed diplomatic relations with Mexico. Diplomatic relations were once again restored in 1933 with the incoming of a new president in Peru.[2]
In 1960, President Adolfo López Mateos was the first highest ranking Mexican official to visit Peru, followed by President Luis Echeverría in 1974. It was not until the 1990s that Peruvian Presidents Alan Garcia and Alberto Fujimori paid official visits to Mexico. Since then, there have been a continuous flow of official visits by both nations to each other's countries, respectively.[1]
In December 2022, López Obrador revealed that Peruvian President Pedro Castillo intended to request political asylum following the backlash to Castillo's attempted self-coup.[3] Castillo was arrested before reaching the Mexican Embassy in Lima.[3] On December 20, the family of former President Castillo was granted asylum and flown to Mexico. The Mexican ambassador in Lima was declared "persona non grata" and ordered to leave Peru.[4] In February 2023, Peruvian President Dina Boluarte withdrew the ambassador of Peru in Mexico.[5] In May 2023, the Peruvian Congress declared Mexican President Andrés Manuel López Obrador persona non grata citing "his meddling in Peru's internal affairs and marking a deepening diplomatic split in the region".[6] President López Obrador has also refused to hand over the presidency of the Pacific Alliance to Peru as the Mexican Government refuses to recognize President Boluarte and her Government since the removal of President Pedro Castillo, however, the presidency was passed on to Boluarte by Chilean President Gabriel Boric in 2023.[7]
In April 2024, Mexico's Secretariat of the Interior announced that it will return to asking visas for Peruvian citizens entering the country, arguing that there has been an increase in the influx of Peruvian citizens trying to illegally cross the Mexican border to the United States.[8] Mexico had previously stopped asking visas for Peruvian citizens back in 2012 as an agreement to boost tourism and business between Pacific Alliance members.[9] In response to the unilateral visa resumption, citing reciprocity, the Peruvian Ministry of Foreign Affairs announced that the country will also be asking visas for Mexican citizens entering the country.[10] However, four days later, Peru reversed its stance and decided to repeal the official decree imposing visas for Mexican citizens, mostly due to concerns from local business unions about the measure's impact on the tourism sector.[11][12]
Both nations have signed several bilateral agreements such as an Arbitration Treaty (1902); Agreement for the Exchange of Diplomatic Pouches (1919); Agreement for Cultural and Educational Cooperation (1975); Agreement on Tourism Cooperation (1987); Agreement on Air Transportation (1989); Agreement of Cooperation in Combating Drug Trafficking and Drug Dependency (1991); Agreement on Technical and Scientific Cooperation (1996); Extradition Treaty (2000); Agreement on Legal Assistance in Criminal Matters (2000); Agreement on the Execution of Criminal Judgments (2002); Agreement for Protection, Conservation, Recovery and Return of Stolen Archaeological, Artistic, Historical and Cultural Goods (2002); Agreement for Commercial Integration (2011); Agreement on the Avoidance of Double Taxation and to Prevent Fiscal Evasion in relation to Taxes on Income (2011) and an Agreement of Strategic Association (2014).[23]
On 1 February 2012, a free trade agreement between the two nations came into effect.[24] In 2023, two-way trade between both nations amounted to US$2.7 billion.[25] Mexico's main exports to Peru include: flat screen TVs; tractors for semi-trailers; shampoos; corrugated bars; silver minerals; electronics and automobiles. Peru's main exports to Mexico include: natural gas; minerals from copper; tomato; calamari; boxes, crates and cages; lead minerals; chilies sweets or peppers; tables, planks and beams.[25]