PLEnlist

Battle of Maipú, 1818: the victory that secured Chile's independence

Spanish American wars of independence · 5 April 1818 · Argentine-Chilean army vs Spanish royalists · ~6 min read · Updated October 2026

Next anniversary: 5 April 2027, the 209th anniversary 5 April in history ›

Nineteenth-century oil painting of the Battle of Maipú: a dense crowd of cavalry and infantry with flags in the foreground, fallen horses and men, and smoke rising over a valley and hills behind.

Johann Moritz Rugendas, “Batalla de Maipú”, oil, about 1837, photograph by Osmar Valdebenito, via Wikimedia Commons, public domain.

At a glance

United Army (Argentina and Chile)Gen. José de San Martín; Cols. Las Heras, Alvarado and Quintana; Gen. Bernardo O'Higgins
vs
Spanish royalistsBrig. Mariano Osorio; Gen. José Ordóñez
Date
5 April 1818
Location
Cerrillos de Maipú (Llanos del Maipo), southwest of Santiago, Chile
War
Chilean War of Independence, part of the Spanish American wars of independence
Strength
United Army: 4,900 to 6,000 men and 21 or 22 guns; royalists: about 5,000 to 5,500 men and 12 guns (figures from the Argentine government, the Instituto Nacional Sanmartiniano and Bartolomé Mitre)
Losses
United Army: about 1,000 killed and wounded; royalists: about 1,000 killed and 2,300 to 3,000 prisoners (Instituto Nacional Sanmartiniano, Bartolomé Mitre)
Outcome
Decisive patriot victory; the royalist army withdrew south and Chile's independence was secured
Quick answer

What happened at the Battle of Maipú?

On 5 April 1818, on the plain southwest of Santiago, the united Argentine and Chilean army of General José de San Martín defeated the Spanish royalist army of Brigadier Mariano Osorio. Only two weeks earlier the patriots had been routed at Cancha Rayada. At Maipú San Martín threw his reserve against the royalist flank at the decisive moment, Osorio left the field, and the last royalist battalions surrendered in the farm buildings of Lo Espejo. The victory secured the independence Chile had proclaimed in February and opened the way for San Martín's expedition to Peru.1

When the battle was decided, San Martín dictated his first report without dismounting, and the army surgeon Diego Paroissien wrote it down with hands stained by the blood of the wounded he had been operating on: “We have just won the action completely. A small remnant is fleeing; our cavalry is pursuing it to the end. The homeland is free.” Three lines closed a campaign that had almost been lost a fortnight before.2

Background: from the Andes to Cancha Rayada

San Martín's plan was continental. He meant to free Chile first, then carry the war by sea to Peru, the strongest seat of royalist power in South America, while Simón Bolívar pressed from the north. In early 1817 he led the Army of the Andes over the mountains from Mendoza and beat the royalists at Chacabuco on 12 February, then entered Santiago.3 › Battle of Chacabuco, 1817

Dark locator map of the southern cone of South America with a gold star in a glowing circle in central Chile near Santiago, and a small world map inset
Maipú lies on the plain just southwest of Santiago, in the central valley of Chile between the Andes and the coast range. Drawn for this article from Natural Earth data, with no modern borders. Location map: © Echoes of Battle (data: Natural Earth, public domain)

The war was not over. The survivors of Chacabuco held out in the fortress of Talcahuano, and in January 1818 a relief army sent by the viceroy of Peru landed near Concepción under Brigadier Mariano Osorio. Among its units was the Burgos regiment, veterans of the war against Napoleon in Spain. On 12 February 1818, the first anniversary of Chacabuco, the Chilean government under Bernardo O'Higgins proclaimed the country's independence.4

Osorio marched north and took Talca. On the night of 19 March 1818 the royalists, led in the attack by General José Ordóñez, fell on the patriot army camped at Cancha Rayada and scattered it in the dark. O'Higgins was hit in the elbow, the patriots lost much of their artillery, and fugitives carried word to Santiago that San Martín was dead and everything lost.5

Armies and commanders

San Martín rode for Santiago to show himself alive, calm the city and rearm. Within days the regiments that had kept together on the retreat were back under arms, new munitions and guns were found to replace those lost at Cancha Rayada, and the army took up a position on the plain of Maipú, south of the capital, across the roads by which Osorio had to come.6

How many men stood on each side depends on the source. The Argentine government's account gives the United Army 5,400 men and 21 guns. The Instituto Nacional Sanmartiniano, synthesizing several sources, puts it at about 6,000 men and 21 guns against about 5,000 royalists with 12 guns. Bartolomé Mitre, the nineteenth-century Argentine historian, counted a little over 5,000 patriots with 22 guns and gave Osorio 5,500 men, and the newspaper La Gaceta, writing for the bicentenary, follows a similar count of 4,900 patriots against 5,500 royalists.7

Full-length painted portrait of a dark-haired man with side whiskers in a blue general's coat heavy with gold embroidery and epaulettes, a white sash across his chest, one hand on his hip and the other on the hilt of a sabre, against a cloudy sky
José de San Martín, commander of the United Army at Maipú, as the Peruvian painter Daniel Hernández imagined him a century later. Daniel Hernández Morillo, Retrato de José de San Martín, oil, 1921. Public domain, via Wikimedia Commons

San Martín commanded in person. Colonel Juan Gregorio de Las Heras led the 1st Division on the right, Colonel Rudecindo Alvarado the 2nd on the left, and Colonel Hilarión de la Quintana the reserve in a second line behind them, while General Antonio González Balcarce had overall charge of the infantry. The artillery was under Manuel Blanco Encalada and José Manuel Borgoño.8

The army was Argentine and Chilean, and it was not only white. San Martín had raised battalions of free Black and mixed-race men and freed slaves in Cuyo, and Chilean Black soldiers of the Infantes de la Patria, a unit the historian Hugo Contreras Cruces has studied, also fought at Maipú.9

On the other side, Osorio held the supreme command, with José Primo de Rivera as his chief of staff and Ordóñez as his most aggressive subordinate. The core of his infantry was four Spanish and Peruvian battalions: Burgos, Arequipa, Concepción and Infante Don Carlos.10

The battle in phases

Opening fire. On the morning of 5 April the two armies faced each other across a narrow hollow, the patriots on the crest of the Loma Blanca, the royalists on the rise beyond it near the Lo Espejo farm. Around midday San Martín's guns opened fire first. The royalist batteries answered, gave away their positions, and San Martín sent both wings forward.11

Engraved plan of a battle on a plain between ranges of hills: small rectangles mark battalions, dotted lines and arrows show their movements, and a road to Espejo and Valparaíso crosses the right side; titled Plano de la Batalla de Maypu
The Plano de la Batalla de Maypu printed in Madrid in 1830 in Mariano Torrente's royalist history of the Spanish American revolution: the royalist line holds the hills along the top, the patriot army attacks across the Llanos de Maipú, and the road to Espejo runs off to the right. From Mariano Torrente, Historia de la revolución hispano-americana, vol. 2, Madrid, 1830. Public domain, via Wikimedia Commons

The right wing. Las Heras advanced with the 11th battalion against the hill on the royalist left, while the mounted grenadiers under Manuel Escalada and Manuel Medina charged and drove off the royalist cavalry on that flank.12

The left wing. Alvarado's division crossed the hollow and climbed the opposite slope, only to meet the mass of the royalist infantry under Ordóñez. It was thrown back with heavy losses. For a moment the battle hung in the balance.13

Turning point: the oblique attack of the reserve

San Martín now did what Maipú is remembered for. He ordered Quintana's reserve forward at once, not straight ahead but obliquely across the low ground, so that it fell on the flank of the royalist infantry that was pursuing Alvarado. The move restored the line on the left while Las Heras kept pressing the other wing.14

The fighting there was the hardest of the day. The Chilean and Argentine cavalry under Ramón Freire and Santiago Bueras swept the royalist horse off the right of the field, and Bueras was killed in the charge. The Burgos battalion unfurled the colors it had carried at Bailén, the battle in Spain where San Martín himself had fought against the French in 1808, and its men shouted: “Here is the Burgos! Eighteen battles won, none lost!”15

Osorio, believing the day lost, left the field, and Ordóñez took over. The royalist battalions formed squares and beat off charges of cavalry and infantry, but, surrounded and without cavalry of their own, they began to give ground. Ordóñez led them back in a compact mass, under constant attack, to the walls and vineyards of Lo Espejo.16

Lo Espejo. The patriots stormed the farm too quickly at first. A battalion of Chilean light infantry sent in along the lane to the buildings was driven back with heavy loss. San Martín had seventeen guns massed on the higher ground; they battered the enemy out of the outer defenses, and the infantry broke through the mud walls and took the houses. The killing inside went on until Las Heras stopped it. Ordóñez, Primo de Rivera and their officers gave up their swords.17

Before the end O'Higgins arrived from Santiago with about 1,000 more men, his arm still bandaged from Cancha Rayada. The two commanders embraced without dismounting, the scene known ever since as the Embrace of Maipú. “Glory to the savior of Chile!” O'Higgins said, and San Martín replied that Chile would never forget “the illustrious invalid” who had come to the battlefield in that state.18

Black and white lithograph of officers on horseback in the foreground of a battlefield, with captured soldiers in white standing at right, columns of troops and smoke on a plain behind and mountains on the horizon; a caption and two medallions below
Théodore Géricault's lithograph of the battle, dedicated “to the heroes of Chacabuco and Maipú”: San Martín and his staff ride among prisoners while the fighting goes on across the plain. Théodore Géricault, Batalla de Maipú, lithograph, before 1824, Bibliothèque nationale de France (Gallica). Public domain, via Wikimedia Commons

Aftermath

The figures for the losses differ. The Instituto Nacional Sanmartiniano puts patriot losses at about 1,000 and royalist losses at about twice that, with some 3,000 prisoners. Mitre, followed by La Gaceta, counts about 1,000 royalists killed and, among the prisoners, one general, four colonels, seven lieutenant colonels, 150 officers and 2,200 men, with more than 1,000 patriots killed and wounded. San Martín paid tribute to both sides in his report: rarely had there been an attack braver, faster and more sustained, and never a resistance more vigorous, firm and stubborn.19

Osorio escaped south with a remnant of his army. Memoria Chilena calls the victory fundamental to consolidating independence: it broke the royalist army physically and morally, and only minor actions followed in Chile while the country prepared the expedition that would sail from its ports to liberate Peru. That was the next link in San Martín's continental plan.20

Legacy and memory

Mitre judged Maipú the hardest-fought battle of the whole war of independence and ranked its importance with Boyacá and Ayacucho, arguing that neither would have been fought without it. In his view San Martín won it with an oblique attack in the manner of Epaminondas, throwing his reserve against the weakest flank of the enemy. The Argentine government's own account draws the same lesson: Maipú is taught as an example of the timely use of the reserve.21

The Embrace of Maipú became a symbol of the friendship between Argentina and Chile, and the two countries still mark the anniversary together. In 2017 the Chilean embassy in Buenos Aires held its commemoration with the Instituto Nacional Sanmartiniano and the Mounted Grenadiers, and in 2018 the armies of both countries marked the bicentenary in Chile.22

Visiting the battlefield today

The plain where the battle was fought now lies inside the commune of Maipú, part of greater Santiago. Before the battle the patriot army had vowed to the Virgen del Carmen, patroness of the army, that a shrine would rise on the field of victory, and after Maipú O'Higgins kept the promise: the first stone of a chapel was laid on the Lo Espejo lands in November 1818.23

The work stalled for decades, and the chapel, known as the Capilla de la Victoria, was not finished and blessed until 1892. The great votive temple that stands there today, the National Shrine of Maipú, grew out of the same vow.24

Notes

A number in the text points to a note; each note names the works that paragraph draws on, listed in full under Sources.

  1. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Memoria Chilena, “Batalla de Maipú”; Mitre, The Emancipation of South America. ↩
  2. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, Historia de San Martín, vol. 2. ↩
  3. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Memoria Chilena, “Batallas durante la Reconquista y la Patria Nueva (1814-1819)”; Mitre, The Emancipation of South America. ↩
  4. Memoria Chilena, “Batalla de Maipú”; Memoria Chilena, “Batallas durante la Reconquista y la Patria Nueva (1814-1819)”; Mitre, The Emancipation of South America. ↩
  5. Memoria Chilena, “Batallas durante la Reconquista y la Patria Nueva (1814-1819)”; Mitre, The Emancipation of South America; Government of Argentina, “Batalla de Maipú”. ↩
  6. Government of Argentina, “Batalla de Maipú”; Mitre, The Emancipation of South America. ↩
  7. Government of Argentina, “Batalla de Maipú”; Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  8. Government of Argentina, “Batalla de Maipú”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  9. Memoria Chilena, “Batallas durante la Reconquista y la Patria Nueva (1814-1819)”; La Tercera, “Los Infantes y los Ingenuos de la Patria: los batallones afrodescendientes en la independencia de Chile”; Mitre, The Emancipation of South America. ↩
  10. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, Historia de San Martín, vol. 2; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  11. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Government of Argentina, “Batalla de Maipú”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  12. Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”; Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”. ↩
  13. Mitre, The Emancipation of South America; Government of Argentina, “Batalla de Maipú”; Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”. ↩
  14. Government of Argentina, “Batalla de Maipú”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  15. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, Historia de San Martín, vol. 2; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  16. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, Historia de San Martín, vol. 2; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  17. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  18. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Government of Argentina, “Batalla de Maipú”; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  19. Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”; Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”. ↩
  20. Memoria Chilena, “Batallas durante la Reconquista y la Patria Nueva (1814-1819)”; Mitre, The Emancipation of South America; Instituto Nacional Sanmartiniano, “Maipú, la batalla más importante librada por San Martín”. ↩
  21. Mitre, The Emancipation of South America; La Gaceta, “Bicentenario de la gloriosa batalla de Maipú”; Government of Argentina, “Batalla de Maipú”. ↩
  22. Government of Argentina, “Batalla de Maipú”; Embassy of Chile in Argentina, “Ceremonia conmemorativa de la Batalla de Maipú”. ↩
  23. SUBDERE, “Maipú”; ACI Prensa, “Romería en honor a la Virgen del Carmen corona los 200 años de independencia de Chile”. ↩
  24. SUBDERE, “Maipú”; ACI Prensa, “Nuestra Señora del Carmen de Maipú”; ACI Prensa, “Romería en honor a la Virgen del Carmen corona los 200 años de independencia de Chile”. ↩

Sources

Frequently asked questions

When was the Battle of Maipú?

On 5 April 1818, on the plain of Maipú just southwest of Santiago, Chile, two weeks after the patriot defeat at Cancha Rayada.

Who fought at Maipú?

The United Army of Argentina and Chile under General José de San Martín against the Spanish royalist army of Brigadier Mariano Osorio. General José Ordóñez led the royalists after Osorio left the field.

Who won the Battle of Maipú?

The patriots. The royalist army was broken, its last battalions surrendered at Lo Espejo, and the independence of Chile was secured.

Why is Maipú famous as a tactical example?

Because San Martín sent his reserve forward obliquely against the flank of the royalist infantry at the moment his left wing was being driven back. Historians from Bartolomé Mitre onward have treated it as a model of the timely use of the reserve.

What is the Embrace of Maipú?

The embrace on horseback between San Martín and Bernardo O'Higgins, who arrived at the end of the battle with about 1,000 men while still recovering from the wound he received at Cancha Rayada. It became a symbol of Argentine and Chilean friendship.

How many men were lost at Maipú?

Figures vary. The Instituto Nacional Sanmartiniano gives about 1,000 patriot losses and about twice as many royalist, with some 3,000 prisoners. Bartolomé Mitre counted about 1,000 royalists killed, more than 2,300 prisoners and more than 1,000 patriots killed and wounded.

Can you visit the Maipú battlefield?

The site now lies within the commune of Maipú in greater Santiago. The National Shrine of Maipú stands there, the fulfilment of the vow the patriot army made to the Virgen del Carmen before the battle.

Battle honors of your homeland

The turning points of history

Marathon, Gaugamela, Cannae, Constantinople, Waterloo, Stalingrad: the days the world changed course.

Based on your country, which we do not store · why? ·

Throw in the reserve at the right moment

Echoes of Battle brings the great battles of history to life, scene by scene on the real map. Enlist below and we will send word to your inbox the day it launches.

Or supply the campaign on Ko-fi ›