Short answer
- The capital of Mexico is Mexico City, known in Spanish as Ciudad de México and usually shortened to CDMX. It is the seat of the country's federal powers and its largest city, set in the Valley of Mexico at about 2,240 meters (7,350 feet) above sea level. The 2020 census counted 9,209,944 residents in the city. Mexico City was founded on the ruins of the Aztec capital Tenochtitlan after the Spanish conquest of 1521, remained the capital when Mexico became independent in 1821, and was renamed from the Distrito Federal to Ciudad de México under a constitutional reform finalized in January 2016.
The phrasing of the question behind this article is a little unusual. “Mexico is the capital of” reads like the start of a sentence that got cut short, and search engines treat it the way readers mean it: as a question about the capital of Mexico. The answer is Mexico City. But the short answer hides a more interesting story. The capital has been a lake city, a colonial capital, a federal district without self-government, and since 2016 a fully autonomous federal entity. It is one of the oldest seats of government in the Americas and one of the largest cities in the world. This article gives the direct answer first, then explains what “capital” means for Mexico, traces the capital’s three lives from 1325 to today, and finishes with a plain-language orientation: where it is, how high it sits, how it is governed, and the common confusions to avoid.
The Direct Answer: Mexico City
Mexico City is the capital of Mexico. In Spanish it is Ciudad de México, and the standard abbreviation is CDMX. It is the seat of the federal powers of the Mexican republic: the presidency, the Congress, and the Supreme Court all sit there. Mexico’s official name is the Estados Unidos Mexicanos, the United Mexican States, and its form of government is a federal republic with two legislative houses, a Senate of 128 members and a Chamber of Deputies of 500, according to Encyclopaedia Britannica. The capital is where that federal machinery is anchored.
Mexico City is also the country’s largest city. Britannica describes it as one of the most populous cities and metropolitan areas in the world, and its Mexico City article ranks it among the world’s most populous metropolitan areas. It is one of the most important political, cultural, educational, and financial centers in North America. In short, when someone asks what the capital of Mexico is, there is no ambiguity and no competing claimant: the answer is Mexico City, and it has been the answer for five centuries.
What “Capital” Means for Mexico
Mexico is a federal republic, which means power is divided between a national government and the governments of the country’s constituent parts. The Constitution of Mexico structures the country as 32 federal entities: 31 states plus Mexico City. Each state is free and sovereign in its internal affairs, with its own constitution, governor, and congress, while the federal government handles matters such as foreign policy, national defense, and the currency. Mexico City is the 32nd entity, autonomous and on par with a state, and it is the one that hosts the seat of the federation’s powers. It belongs, in a legal sense, to the whole country rather than to any one state.
There is one constitutional catch worth knowing. Because Mexico City is the seat of the powers of the Union, a clause in the Mexican Constitution prevents it from becoming a state in its own right for as long as it remains the capital. It has the autonomy of a state, its own constitution, and its own legislature, but it is not called a state and cannot take that title unless the capital were ever moved elsewhere. This arrangement will look familiar to readers who know how other federal republics handle their capitals: a capital district or territory that is governed differently from the states around it, because it belongs to the nation as a whole.
The capital’s status also explains a naming confusion that trips up many readers. The State of Mexico, in Spanish the Estado de México, is a completely separate federal entity with its own capital and government. It surrounds Mexico City on three sides, and the greater metropolitan area spills across the border between the two, so it is easy to mix them up. The city called Mexico City is not inside the State of Mexico; it is its own entity, and the two share only a name root and a border.
The Capital’s Three Lives: From Tenochtitlan to CDMX
Mexico City has been a capital three times over, under three different orders of government, on the same ground. Understanding all three is the key to understanding the place.
First life: Tenochtitlan, the island capital
The Mexica, the people the Spanish called the Aztecs, founded their capital on an island in Lake Texcoco in the Valley of Mexico. The conventional date is 1325, but the real story is more subtle than a single founding year. According to research by María Castañeda de la Paz of the National Autonomous University of Mexico’s Institute of Anthropological Research, the famous founding legend, in which the Mexica saw an eagle perched on a prickly pear cactus devouring a serpent and took it as the sign to settle, is oral tradition that was reshaped under the Mexica ruler Itzcóatl after his defeat of Azcapotzalco in 1428, to reinforce the legitimacy of the new political order. The year 1325 does not come from any surviving document written at the time of the founding. It is a historical reconstruction drawn from post-conquest codices, the year 2 House in the Mexica calendar, on which the Codex Mendoza, the Annals of Tlatelolco, the Codex Aubin, and early colonial chronicles agree. As the archaeologist Eduardo Matos Moctezuma, founder of the Templo Mayor Project, has warned, cities do not emerge overnight: 1325 is a milestone in a longer process, not the sudden appearance of a finished city.
Whatever the precise starting date, the achievement was extraordinary. The Mexica engineered a city on water. They built chinampas, artificial farming islands, to feed the population; causeways to connect the island to the mainland; and aqueducts and dikes to manage fresh water and the lake’s level. By the time Hernán Cortés and his men reached the Valley of Mexico in 1519, Tenochtitlan was among the largest cities in the Americas. Scholars estimate its population at 200,000 to 250,000, comparable to Seville, Lisbon, or London at the time. The name of the country still carries that origin: Mexico comes from the Nahuatl word Mēxihco, commonly translated as “at the navel of the moon,” an image tied to a city founded on an island in the middle of a lake.
Second life: the Spanish colonial capital
In 1521, after a long siege, Tenochtitlan fell to Cortés and his allies, and much of the city was destroyed. The Spanish did not abandon the site. They rebuilt directly on top of the ruins, dismantling temples and palaces and reusing their stones for colonial churches, mansions, and government buildings. The new settlement became the capital of the Viceroyalty of New Spain, the political, administrative, and financial center of a major part of the Spanish colonial empire. The ancient layout never fully disappeared: since 1978, excavations by the Templo Mayor Project have uncovered temples, sculptures, offerings, plazas, and canals belonging to the Mexica capital beneath the modern Historic Center. The colonial capital stayed put when the colony became a country. After Mexico gained independence in 1821, the city remained the capital of the new nation.
The independence the city kept as capital is celebrated every year as Mexican Independence Day on September 16, with the El Grito ceremony on the night of September 15.
Third life: the Federal District, then Ciudad de México
Independent Mexico needed a neutral seat for its federal government, so in 1824 the territory around the city was organized as the country’s new and only federal district, the Distrito Federal, or DF. For most of its life the district was governed from above. The 1917 constitution designated Mexico City as part of the national government, and the city had no elected mayor or legislature; the president appointed the mayor, and the national Congress decided fiscal and social policy.
Change came in stages. In 1987 the national government granted the city a legislature with limited powers, the first direct representation for residents since 1928. In 1996 a second round of reforms made the city’s executive an elected position as well, and in 1997 residents elected both their head of government and their legislators for the first time. But the district remained constitutionally subordinate, without its own constitution and with its budget and debt ceiling controlled from the federal Congress.
The final step was a constitutional reform finalized in January 2016. It renamed the Distrito Federal to Ciudad de México, CDMX, and made the capital the country’s 32nd federal entity, autonomous and on par with a state. The city gained the right to appoint its own attorney general and chief of police, more control over its budget, and, like every other federal entity, its own constitution. A 100-member constituent assembly drafted that constitution, which was enacted on 5 February 2017 and entered into force in September 2018. The old boroughs, the delegaciones, became alcaldías with elected mayors and councils, adding a layer of local government. One thing the reform deliberately did not change: as long as Mexico City remains the seat of the federal powers, the Constitution bars it from becoming a state.
Two small date notes for the careful reader. Some sources date the signing of the reform to 20 January 2016 and the official renaming to the publication of the decree on 29 January 2016; the change took legal effect with publication, which is the date used in this article. Sources also differ by a year on the formation of the Triple Alliance, the pact that made Tenochtitlan the dominant power in the valley: the city of Mexico’s own tourism office gives 1427, while most historical summaries give 1428. Either way, the alliance belongs to the late 1420s, a century before the conquest.
Where It Is: A Plain-Language Orientation
Mexico City sits in the Valley of Mexico, a high inland basin in the central part of the country, an extension of the southern Mexican Plateau. Its coordinates are 19°26′N 99°8′W, which puts it in the tropics by latitude but not by climate. The city stands at about 2,240 meters (7,350 feet) above sea level, and that altitude shapes everything about the place: the air is thinner, the temperature is milder than the latitude would suggest, and visitors from lower elevations often feel short of breath for the first day or two. It is one of the few major cities in the world not built along the banks of a river. The valley once held several large lakes, and its Nahuatl name, Anáhuac, means “Close to the Water,” but the lakes were drained after the conquest and the city spread across the dry lakebed.
The Mexico City elevation figure, about 2,240 meters above sea level, also explains the mild climate despite the tropical latitude.
The basin is ringed by mountains and volcanoes. To the southeast rises Popocatépetl, an active volcano at 17,930 feet (5,465 meters), and the highest point in the country is Citlaltépetl, also called Orizaba, at 18,406 feet (5,610 meters). The setting is spectacular and geologically restless. Mexico sits in one of the Earth’s most tectonically active regions, part of the circum-Pacific Ring of Fire, where the Cocos oceanic plate slides beneath the North American plate. The friction between them produces strong earthquakes, and Mexico City’s soft lakebed soil intensifies their effects. That is why the capital, far from any fault line you can see, has been shaken by devastating quakes.
The lakebed causes another slow-motion problem. Because the city pumps its water from underground aquifers faster than they refill, the clay sheets beneath it are compressing and cracking, and parts of the city are sinking. The colonial-era Metropolitan Cathedral and other old buildings have shifted on their foundations over the years, listing or sinking unevenly into the ground. The sinking is the direct legacy of the capital’s first life: a city founded on a lake, drained of its lake, and still settling into the mud.
In size, the city is a megacity by any measure. The 2020 census counted 9,209,944 people in the federal entity, making it Mexico’s primate city, and the greater metropolitan area holds more than twenty million people, roughly one-fifth of the country’s population. Britannica puts the metropolitan figure at 23,146,802 for 2020, while the most recent joint federal definition counts 21,804,515; the difference reflects where the boundary is drawn, not a dispute about the city’s scale. The country as a whole is home to more than 130 million people, and the capital’s metropolitan population represents one of the world’s most significant ratios of capital to national population.
The city’s time zone is Central Time, UTC-6, one hour behind Washington, DC during Standard Time. Spanish is the official language, and the currency is the Mexican peso.
How the Capital Is Governed Today
The 2016 reform gave Mexico City a government structure closer to a state’s than to a federal district’s, with the capital’s special status preserved. The city is led by a head of government, elected by residents, who proposes the budget and administers the city. The Congress of Mexico City legislates, and the city’s 16 boroughs, the alcaldías, each elect a mayor and council, creating the layer of local government the reform introduced. The city has its own constitution, adopted in 2017, which sits under the federal constitution like a state’s constitution does. The federal Congress still sets the ceiling on the city’s public debt, a reminder that the capital remains the seat of the federation and is not an ordinary state.
In practice, the capital’s government looks like this to a resident: an elected city executive and legislature handling citywide policy, sixteen borough governments handling local affairs, and the federal presidency, Congress, and courts operating in the same city but on national business. The arrangement is the modern answer to a very old question about federal capitals: how to give the capital’s residents self-government while keeping the seat of national power under national authority.
The Confusions Worth Clearing Up
A few mix-ups recur whenever the capital of Mexico comes up, and each has a simple correction.
Mexico City is not in the State of Mexico. The State of Mexico is a separate federal entity with its own government and its own capital. It wraps around Mexico City on three sides, and the urban sprawl crosses the boundary freely, which is why the two are so often confused. If you visit the pyramids of Teotihuacán, you have left the capital and entered the State of Mexico, even though the trip feels like one continuous city.
The Distrito Federal no longer exists as a name. Older maps, guidebooks, and road signs still say DF, and many residents still call themselves defeños out of habit and pride. The name was officially retired in 2016. CDMX is the current official name, and it appears on government documents, license plates, and official addresses.
Mexico City and Greater Mexico City are different things. The capital proper is the federal entity, the 9.2 million people counted in the 2020 census. Greater Mexico City, the metropolitan area, includes surrounding municipalities in the State of Mexico and Hidalgo, and holds more than twenty million. When a statistic about the capital sounds impossibly large, it is usually the metropolitan figure.
The capital was not always a Spanish city. Before it was Ciudad de México it was Tenochtitlan, an Indigenous capital founded by the Mexica, and the layers are still visible: Aztec temple ruins sit beside colonial churches in the Historic Center, and the country’s very name comes from the Nahuatl word for the Mexica homeland.
Why the Capital Is Where It Is
Capitals are rarely accidents, and this one least of all. The Mexica chose the island for defense and for the lake’s resources, then engineered their way around its disadvantages. The Spanish kept the site because it was already the political, religious, and commercial center of the region, and because building the colonial capital on the ruins of the Indigenous one was a deliberate statement of conquest. Independent Mexico kept it for the same reason every successor state keeps a working capital: the institutions, the roads, and the people were already there.
Britannica’s assessment of the city’s significance still holds. Mexico City is one of the most important political, cultural, educational, and financial centers in North America, and its leading position comes from its origins in a rich environment, its long history as a densely populated area, and the central role its rulers have defined for it through the ages. Its highland location made it a natural crossroads for trade between the arid north, the Gulf and Pacific coasts, and southern Mexico, and the pre-Hispanic trade routes became the colonial roads and then the core of the country’s modern transportation system, all converging on the capital. Centralism, Britannica notes, has perhaps influenced the city’s character more than anything else: it has been a hub of politics, religion, and trade since the 13th to 16th centuries.
That centrality shows on the streets. The Historic Center and Xochimilco, the surviving canal district in the south of the city, were inscribed as a UNESCO World Heritage Site in 1987. The ruins of the main Aztec temple stand near colonial-era churches and museums, 19th-century French-style mansions sit beside colonial palaces, and modern towers rise over them all. The city’s nicknames tell the same story of layered ambition: La Ciudad de los Palacios, the City of Palaces, and, in the wry phrase of the novelist Carlos Fuentes, the capital of underdevelopment, a city that contains both extremes at once.
Frequently Asked Questions
What is the capital of Mexico?
Mexico City, in Spanish Ciudad de México, usually abbreviated CDMX. It is the seat of the country’s federal powers and its largest city.
Is the capital called Mexico City or Ciudad de México?
Both names refer to the same city. Ciudad de México is the Spanish name; Mexico City is the English name. CDMX is the official abbreviation, adopted with the 2016 reform that retired the old name Distrito Federal.
What was the capital of Mexico called before?
Before the Spanish conquest it was Tenochtitlan, the Mexica capital founded around 1325. After 1521 it became the Spanish colonial capital, and from 1824 to 2016 the federal territory around it was called the Distrito Federal, or DF. The city itself has been called Ciudad de México since the colonial period; the 2016 change made that the official name of the whole federal entity.
Is Mexico City in the State of Mexico?
No. The State of Mexico is a separate federal entity with its own government. It surrounds Mexico City on three sides, and the metropolitan area crosses the border, but the capital is its own entity and is not part of the state.
What is the Distrito Federal?
It was the official name of the federal territory containing the capital from 1824 until January 2016, when a constitutional reform renamed it Ciudad de México and made it the country’s 32nd federal entity. Older maps and many residents still use “DF,” but it is no longer the official name.
How many states does Mexico have?
Mexico has 31 states plus Mexico City, which is a fully autonomous federal entity on par with a state, making 32 federal entities in total. Each state has its own capital, constitution, governor, and congress.
What is the population of Mexico City?
The 2020 census counted 9,209,944 residents in the federal entity of Mexico City. The greater metropolitan area, which includes surrounding municipalities in the State of Mexico and Hidalgo, holds more than twenty million people, roughly one-fifth of the country’s population.
How high above sea level is Mexico City?
About 2,240 meters (7,350 feet). The altitude gives the city a mild climate despite its tropical latitude, and visitors from lower elevations often need a day or two to adjust to the thinner air.
Why is Mexico City sinking?
The city was built on the bed of a drained lake. It draws much of its water from underground aquifers, and because extraction outpaces replenishment, the clay sheets beneath the city are compressing and cracking. Colonial-era buildings, including the Metropolitan Cathedral, have shifted and tilted as the ground settles.
Why does Mexico City have earthquakes?
Mexico sits in a highly active tectonic zone, part of the circum-Pacific Ring of Fire, where the Cocos oceanic plate slides beneath the North American plate. Mexico City’s soft lakebed soil amplifies the shaking from distant quakes, which is why earthquakes centered far away can still cause serious damage in the capital.
What time zone is Mexico City in?
Central Time, UTC-6, which is one hour behind Washington, DC during Standard Time.
Conclusion
The capital of Mexico is Mexico City, and the answer has been the same for five hundred years, even as everything around it changed. It began as Tenochtitlan, an engineered island capital of the Mexica, founded around 1325 and grown into one of the largest cities in the Americas by 1519. It became the capital of New Spain in 1521, built from the stones of the city it replaced. It became the capital of independent Mexico in 1821, the Federal District in 1824, and, after a century and a half of subordinate status, a fully autonomous federal entity called Ciudad de México in 2016. The one constant is the ground itself: the same valley, the same lakebed, the same altitude, holding a capital that has been rebuilt, renamed, and reconstituted without ever moving. To say that Mexico is the capital of something is to ask the question backwards. Mexico City is the capital of Mexico, and it is worth knowing exactly what that means.
Sources & references
- Encyclopaedia Britannica, "Mexico City | Population, Weather, Attractions, Culture, & History": Mexico City is the capital of Mexico, synonymous with the Federal District; Spanish conquistadors founded Mexico City in 1521 atop the razed island-capital of Tenochtitlán, the cultural and political center of the Aztec (Mexica) empire; one of the oldest continuously inhabited urban settlements in the Western Hemisphere; ranked as one of the world's most populous metropolitan areas; lies in the Valley of Mexico (Mesa Central), also called Anáhuac ("Close to the Water"); name México derived from Nahuatl; area Federal District 571 sq miles (1,479 sq km); pop. (2020) city 8,843,706, Federal District 9,209,944, metro area 23,146,802; remained the capital after independence in 1821; hub of politics, religion, and trade since the late Post-Classic Period; highland location a natural crossroads for trade; called México in Nahuatl and Ciudad de México in Spanish; sinking caused by lake draining and aquifer depletion compressing clay sheets; earthquakes from the Cocos plate sliding under the North American plate, intensified by soft soil; ruins of the main Aztec temple, Chapultepec Castle, Independence Monument among the city's landmarks. Page updated 2026-10-19.
- Encyclopaedia Britannica, "Mexico | History, Map, Flag, Population, & Facts": Mexico City is the capital; official name Estados Unidos Mexicanos (United Mexican States); federal republic with a Senate of 128 and a Chamber of Deputies of 500; Spanish the official language; Mexican peso the monetary unit; Mexico located in one of the Earth's most dynamic tectonic areas, part of the circum-Pacific Ring of Fire; Citlaltépetl (Orizaba) the highest point at 18,406 feet (5,610 metres); Popocatépetl at 17,930 feet (5,465 metres) southeast of Mexico City; the Mesa Central's southern end rises 7,000 to 9,000 feet (2,100 to 2,700 metres) near Mexico City; colonial-era Metropolitan Cathedral and other buildings shifted and sank on weak lakebed soils.
- Johns Hopkins University, Cities of Service, "Crowdsourcing A Constitution: Mexico City": the 1917 constitution designated Mexico City as part of the national government, the Distrito Federal (DF); the city had no elected mayor or legislature and relied on the national Congress for fiscal and social policy; 1987 reforms granted the city a legislature, the first direct representation since 1928; 1996 reforms made the city executive an elected position; in January 2016 a constitutional amendment changed the capital's status from federal district to Ciudad de México (CDMX), the 32nd federal entity on par with a state; new rights included appointing the attorney general and chief of police, more budget control, and the drafting of a citywide constitution.
- EKTUNKUL, "The History Beneath Our Feet": the eagle-on-cactus founding legend is oral tradition reshaped under the Mexica ruler Itzcóatl after the defeat of Azcapotzalco in 1428, per UNAM researcher María Castañeda de la Paz; the year 1325 is a historical reconstruction from post-conquest codices (Codex Mendoza, Annals of Tlatelolco, Codex Aubin), the year 2 House, not a documented founding event; archaeologist Eduardo Matos Moctezuma, founder of the Templo Mayor Project, treats 1325 as a reference milestone in a longer process; by 1519 Tenochtitlan held an estimated 200,000 to 250,000 people, comparable to Seville, Lisbon, or London; chinampas, causeways, and hydraulic engineering sustained the lake city; the 1521 siege destroyed the city and its stones were reused for the colonial capital; Templo Mayor excavations have run since 1978; the name Mexico comes from the Nahuatl Mēxihco, commonly translated "at the navel of the moon."
- Mexico City official tourism site (mexicocity.cdmx.gob.mx), "Cuepopan and Colonia Guerrero Walking Route": describes the area as the northwestern quadrant of "the old island capital of Tenochtitlan" and dates the end of the Tepaneca rivalry and the formation of the Triple Alliance to 1427.
- timeanddate.com, Mexico City time zone lookup (read via search result): time zone America/Mexico_City, UTC-6. Single-source lookup; the independent fact-checker should confirm against an authoritative time-zone reference.