PLEnlist

The Battle of Chapultepec, 1847: the castle above Mexico City

Mexican-American War · 12 to 13 September 1847 · United States vs Mexico · ~5 min read · Updated October 2026

Next anniversary: 12 September 2027, the 180th anniversary of the start 12 September in history ›

Color lithograph after James Walker of American infantry and artillery storming Chapultepec on 13 September 1847, the castle on its wooded hill behind

Lithograph, Library of Congress, 1848, via Wikimedia Commons, public domain.

At a glance

United StatesMaj. Gen. Winfield Scott; Maj. Gen. Gideon Pillow; Maj. Gen. John A. Quitman
vs
MexicoGen. Antonio López de Santa Anna; Gen. Nicolás Bravo; Lt. Col. Felipe Santiago Xicoténcatl
Date
12 to 13 September 1847
Location
Chapultepec Castle, on the western edge of Mexico City
Period
Mexican-American War, campaign for Mexico City
Outcome
American victory; Mexico City occupied on 14 September
By the numbers
SideStrengthLosses
United StatesThe divisions of Pillow and Quitman, with Worth's in support; no reliable total for the storming force in these sources130 dead, 703 wounded and 29 missing (Britannica)
MexicoAbout 1,000 troops and some 50 academy cadets at the castle (Britannica)At least 1,000 dead, wounded or captured (Britannica)

Figures as Encyclopaedia Britannica gives them; strengths and losses vary between American and Mexican sources.1

Quick answer

The Battle of Chapultepec was fought on 12 and 13 September 1847, near the end of the Mexican-American War. Chapultepec Castle stood on a hill on the western approach to Mexico City and housed the Mexican military academy. General Winfield Scott's army bombarded it all day on 12 September, and on the morning of 13 September stormed the hill with scaling ladders. The garrison of about a thousand men under General Nicolás Bravo, with some fifty cadets of the academy, was overwhelmed within a couple of hours. American troops then fought their way to the city gates, and Mexico City was occupied the next day. Mexico honors six of the dead defenders as the Niños Héroes.2

In September 1847 an American army stood at the gates of Mexico City. Between it and the capital rose a rocky hill crowned by a castle, begun for a viceroy who died before it was finished and now Mexico's military academy. Its defenders included teenage cadets, and Mexicans still remember them as the Niños Héroes, the boy heroes.3

The road to Mexico City

The war between the United States and Mexico began in 1846, after the American annexation of Texas and a dispute over its border. In March 1847 General Winfield Scott landed at Veracruz and marched inland, winning at Cerro Gordo and, in August, at Contreras and Churubusco on the edge of the Valley of Mexico. After a failed armistice, his troops took the Molino del Rey, at the foot of Chapultepec, on 8 September at heavy cost.4

Dark locator map with a gold star in a glowing circle marking the approximate site of the Battle of Chapultepec, the coasts, rivers and lakes of the region, and a small world map inset with the area boxed
The Battle of Chapultepec: the star marks the approximate site, and the inset shows the area on a world map. Drawn for this article from Natural Earth data, with no modern borders. Location map: © Echoes of Battle (data: Natural Earth, public domain)
1848 survey map of Mexico City and its southern and western approaches with troop routes
Survey of Scott's operations in the Valley of Mexico in August and September 1847, from Contreras and Churubusco to Molino del Rey and Chapultepec, made by William Turnbull and George B. McClellan and published in 1848. Library of Congress. Public domain

The castle on the hill

Chapultepec Castle stood on a hill about 60 meters high, surrounded by a wall, guarding the western causeways into the city. Built as a residence, it had become the home of the Colegio Militar, Mexico's military academy. General Antonio López de Santa Anna, unsure where the Americans would strike, kept much of his army to the south, leaving General Nicolás Bravo with about 1,000 troops, among them the San Blas Battalion under Lieutenant Colonel Felipe Santiago Xicoténcatl, and some fifty cadets who had refused to leave their school.5

Hand-colored lithograph of a castle on a rocky wooded hill above an arched wall
The Military College on the hill of Chapultepec behind its outer wall, a hand-colored lithograph published by Nathaniel Currier in 1847 from a sketch by the artist Pietro Gualdi, forwarded by Lieutenant Larkin Smith of the U.S. Army. Library of Congress. Public domain. Nathaniel Currier, 1847, Library of Congress, via Wikimedia Commons.

The storming

American guns pounded the castle throughout 12 September. On the morning of 13 September the infantry attacked from the west and south, with storming parties that included U.S. Marines. The assault stalled while the men waited for scaling ladders, and General Pillow was wounded, but the columns reached the walls, climbed them and broke in. The San Blas Battalion fought at the foot of the hill until most of its men, Xicoténcatl among them, had fallen. By about 9:30 a.m. Bravo had been captured and the American flag flew over the castle. Nearby, some thirty captured members of the Saint Patrick's Battalion, deserters from the U.S. Army who had fought for Mexico, were hanged as the flag went up.6

Lithograph of American infantry climbing the slope and walls of Chapultepec castle in smoke
Pillow's division storming the castle with scaling ladders on 13 September 1847, a lithograph after Carl Nebel from The War between the United States and Mexico Illustrated, 1851. Public domain. Carl Nebel and Adolphe Bayot, 1851, via Wikimedia Commons.
About a thousand soldiers and cadets held a hilltop school against an army, and Mexico has never forgotten them.

The Niños Héroes, history and legend

Six of the defenders who died are honored in Mexico as the Niños Héroes: Lieutenant Juan de la Barrera and the cadets Agustín Melgar, Juan Escutia, Vicente Suárez, Francisco Márquez and Fernando Montes de Oca, aged roughly 13 to 19. According to the best-known tradition, Juan Escutia wrapped himself in the Mexican flag and leapt from the castle rather than let it be captured. Other accounts differ: the Encyclopedia of Latin American History and Culture says it was Fernando Montes de Oca who was found wrapped in a flag three days after the battle and had apparently jumped to avoid capture, while the historian Alejandro Rosas, quoted by Expansión, argues that Escutia was not a cadet and was shot while trying to escape. There is little contemporary evidence for the flag story, and the heroic narrative was promoted by later governments. Their courage is nonetheless commemorated each year on 13 September and by a great monument in Chapultepec Park.7

Into the city, and the cost of the war

The same afternoon American troops fought their way to the Belén and San Cosme gates; at San Cosme a young lieutenant named Ulysses S. Grant hauled a mountain howitzer into a church belfry. Santa Anna withdrew in the night, and on 14 September Scott's army occupied Mexico City. The Treaty of Guadalupe Hidalgo in 1848 forced Mexico to cede 55 percent of its territory, by the count of the US National Archives. The Marines' Hymn still opens with "From the Halls of Montezuma," while in Mexico the war is remembered as a foreign invasion; Grant himself later called it one of the most unjust wars ever waged by a stronger nation against a weaker one.8

Frequently asked questions

When was the Battle of Chapultepec?

The castle was bombarded on 12 September 1847 and stormed on the morning of 13 September; Mexico City was occupied on 14 September.

Who won the Battle of Chapultepec?

The United States. General Winfield Scott's troops captured the castle and then entered Mexico City.

Who were the Niños Héroes?

Six defenders of Chapultepec who died in the battle, Lieutenant Juan de la Barrera and the cadets Agustín Melgar, Juan Escutia, Vicente Suárez, Francisco Márquez and Fernando Montes de Oca, honored in Mexico as national heroes.

Did a cadet really jump with the Mexican flag?

The best-known tradition credits Juan Escutia, but the accounts differ: the Encyclopedia of Latin American History and Culture names Fernando Montes de Oca, who was found wrapped in a flag, and the historian Alejandro Rosas argues that Escutia was not a cadet and was shot while trying to escape.

What are the halls of Montezuma?

The opening words of the Marines' Hymn, recalling the part played by U.S. Marines in the storming of Chapultepec and the capture of Mexico City.

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. Encyclopaedia Britannica, “Battle of Chapultepec”. ↩
  2. Encyclopaedia Britannica, “Battle of Chapultepec”. ↩
  3. Instituto Nacional de Antropología e Historia, “Museo Nacional de Historia Castillo de Chapultepec”; Government of Mexico City, “Chapultepec Castle”; U.S. National Park Service, “Harney Re-Examined Part IV”. ↩
  4. Timothy J. Henderson, A Glorious Defeat. ↩
  5. Encyclopaedia Britannica, “Battle of Chapultepec”. ↩
  6. K. Jack Bauer, The Mexican War, 1846-1848; Encyclopaedia Britannica, “Battle of Chapultepec”; U.S. National Park Service, “Harney Re-Examined Part IV”. ↩
  7. Encyclopedia of Latin American History and Culture, “Niños Héroes”; Expansión Política, “¿Qué se celebra el 13 de septiembre? 5 mitos sobre los Niños Héroes de Chapultepec”. ↩
  8. Ulysses S. Grant, Personal Memoirs of U. S. Grant; Encyclopaedia Britannica, “Battle of Chapultepec”; U.S. National Archives, “Treaty of Guadalupe Hidalgo (1848)”. ↩

Sources

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? ·

Command the assault on Chapultepec

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.