Mexico City ( es, link=no, Ciudad de México, ; abbr.: CDMX;
Nahuatl
Nahuatl (; ), Aztec, or Mexicano is a language or, by some definitions, a group of languages of the Uto-Aztecan language family. Varieties of Nahuatl are spoken by about Nahua peoples, most of whom live mainly in Central Mexico and have smaller ...
: ''Altepetl Mexico'') is the
capital
Capital may refer to:
Common uses
* Capital city, a municipality of primary status
** List of national capital cities
* Capital letter, an upper-case letter Economics and social sciences
* Capital (economics), the durable produced goods used f ...
and
largest city
The United Nations uses three definitions for what constitutes a city, as not all cities in all jurisdictions are classified using the same criteria. Cities may be defined as the cities proper, the extent of their urban area, or their metropo ...
of
Mexico
Mexico (Spanish: México), officially the United Mexican States, is a country in the southern portion of North America. It is bordered to the north by the United States; to the south and west by the Pacific Ocean; to the southeast by Guatema ...
, and the
most populous city
The United Nations uses three definitions for what constitutes a city, as not all cities in all jurisdictions are classified using the same criteria. Cities may be defined as the city proper, cities proper, the extent of their urban area, or th ...
in
North America
North America is a continent in the Northern Hemisphere and almost entirely within the Western Hemisphere. It is bordered to the north by the Arctic Ocean, to the east by the Atlantic Ocean, to the southeast by South America and the Car ...
. One of the world's
alpha cities, it is located in the
Valley of Mexico
The Valley of Mexico ( es, Valle de México) is a highlands plateau in central Mexico roughly coterminous with present-day Mexico City and the eastern half of the State of Mexico. Surrounded by mountains and volcanoes, the Valley of Mexico wa ...
within the high Mexican central
plateau
In geology and physical geography, a plateau (; ; ), also called a high plain or a tableland, is an area of a highland consisting of flat terrain that is raised sharply above the surrounding area on at least one side. Often one or more sides ha ...
, at an altitude of . The city has 16
boroughs or ''demarcaciones territoriales'', which are in turn divided into
neighborhoods or ''colonias''.
The 2020 population for the
city proper was 9,209,944,
with a land area of . According to the most recent definition agreed upon by the federal and state governments, the population of
Greater Mexico City is 21,804,515, which makes it the
sixth-largest metropolitan area in the world, the second-largest
urban agglomeration in the
Western Hemisphere
The Western Hemisphere is the half of the planet Earth that lies west of the prime meridian (which crosses Greenwich, London, United Kingdom) and east of the antimeridian. The other half is called the Eastern Hemisphere. Politically, the term We ...
(behind
São Paulo
São Paulo (, ; Portuguese for 'Saint Paul') is the most populous city in Brazil, and is the capital of the state of São Paulo, the most populous and wealthiest Brazilian state, located in the country's Southeast Region. Listed by the GaWC a ...
,
Brazil
Brazil ( pt, Brasil; ), officially the Federative Republic of Brazil (Portuguese: ), is the largest country in both South America and Latin America. At and with over 217 million people, Brazil is the world's fifth-largest country by area ...
), and the largest
Spanish-speaking
Hispanophone and Hispanic refers to anything relating to the Spanish language (the Hispanosphere).
In a cultural, rather than merely linguistic sense, the notion of "Hispanophone" goes further than the above definition. The Hispanic culture is th ...
city (city proper) in the world.
Greater Mexico City has a
GDP of $411 billion in 2011, which makes it one of the
most productive urban areas in the world. The city was responsible for generating 15.8% of Mexico's GDP, and the metropolitan area accounted for about 22% of the country's GDP.
If it were an independent country in 2013, Mexico City would be the fifth-largest economy in
Latin America
Latin America or
* french: Amérique Latine, link=no
* ht, Amerik Latin, link=no
* pt, América Latina, link=no, name=a, sometimes referred to as LatAm is a large cultural region in the Americas where Romance languages — languages derived f ...
.
Mexico's capital is both the
oldest capital city in the Americas and one of two founded by
indigenous people
Indigenous peoples are culturally distinct ethnic groups whose members are directly descended from the earliest known inhabitants of a particular geographic region and, to some extent, maintain the language and culture of those original people ...
. The city was originally built on a group of islands in
Lake Texcoco by the
Mexica (Aztecs) around 1325, under the name
Tenochtitlan. It was almost completely destroyed in the 1521
Siege of Tenochtitlan
The Fall of Tenochtitlan, the capital of the Aztec Empire, was a decisive event in the Spanish conquest of the empire. It occurred in 1521 following extensive manipulation of local factions and exploitation of pre-existing political divisions ...
and subsequently redesigned and rebuilt in accordance with the
Spanish urban standards. In 1524, the
municipality
A municipality is usually a single administrative division having corporate status and powers of self-government or jurisdiction as granted by national and regional laws to which it is subordinate.
The term ''municipality'' may also mean the go ...
of Mexico City was established, known as ,
and as of 1585, it was officially known as (Mexico City).
Mexico City was the political, administrative, and financial center of a major part of the
Spanish colonial empire.
After
independence from Spain was achieved, the
federal district
A federal district is a type of administrative division of a federation, usually under the direct control of a federal government and organized sometimes with a single municipal body. Federal districts often include capital districts, and they e ...
was created in 1824.
After years of demanding greater political
autonomy
In developmental psychology and moral, political, and bioethical philosophy, autonomy, from , ''autonomos'', from αὐτο- ''auto-'' "self" and νόμος ''nomos'', "law", hence when combined understood to mean "one who gives oneself one's ...
, residents were finally given the right to
elect
An election is a formal group decision-making process by which a population chooses an individual or multiple individuals to hold public office.
Elections have been the usual mechanism by which modern representative democracy has operated ...
both a
head of government
The head of government is the highest or the second-highest official in the executive branch of a sovereign state, a federated state, or a self-governing colony, autonomous region, or other government who often presides over a cabinet, a gro ...
and the representatives of the
unicameral
Unicameralism (from ''uni''- "one" + Latin ''camera'' "chamber") is a type of legislature, which consists of one house or assembly, that legislates and votes as one.
Unicameral legislatures exist when there is no widely perceived need for multic ...
Legislative Assembly by election in 1997. Ever since, left-wing parties (first the
Party of the Democratic Revolution
The Party of the Democratic Revolution (PRD, es, Partido de la Revolución Democrática, ) is a social democratic political party in Mexico. The PRD originated from the Democratic Current, a political faction formed in 1986 from the Institut ...
and later the
National Regeneration Movement) have controlled both of them. The city has several progressive policies, such as elective
abortions
Abortion is the termination of a pregnancy by removal or expulsion of an embryo or fetus. An abortion that occurs without intervention is known as a miscarriage or "spontaneous abortion"; these occur in approximately 30% to 40% of pregnan ...
, a limited form of
euthanasia
Euthanasia (from el, εὐθανασία 'good death': εὖ, ''eu'' 'well, good' + θάνατος, ''thanatos'' 'death') is the practice of intentionally ending life to eliminate pain and suffering.
Different countries have different eut ...
,
no-fault divorce
In a no-fault divorce the dissolution of a marriage does not require a showing of wrongdoing by either party. Laws providing for no-fault divorce allow a family court to grant a divorce in response to a petition by either party of the marriage w ...
, and
same-sex marriage
Same-sex marriage, also known as gay marriage, is the marriage of two people of the same Legal sex and gender, sex or gender. marriage between same-sex couples is legally performed and recognized in 33 countries, with the most recent being ...
. On 29 January 2016, it ceased to be the ''Federal District'' ( es, Distrito Federal, links=no or ) and is now officially known as (or ), with a greater degree of autonomy.
A clause in the
Constitution of Mexico, however, prevents it from becoming a state within the Mexican federation, as it is the seat of power in the country, unless the capital of the country were to be relocated elsewhere.
Nicknames and mottos
Mexico City was traditionally known as ''La Ciudad de los Palacios'' ("the City of the Palaces"), a
nickname
A nickname is a substitute for the proper name of a familiar person, place or thing. Commonly used to express affection, a form of endearment, and sometimes amusement, it can also be used to express defamation of character. As a concept, it is ...
attributed to Baron
Alexander von Humboldt
Friedrich Wilhelm Heinrich Alexander von Humboldt (14 September 17696 May 1859) was a German polymath, geographer, naturalist, explorer, and proponent of Romantic philosophy and science. He was the younger brother of the Prussian minister, p ...
when visiting the city in the 19th century, who, sending a letter back to Europe, said Mexico City could rival any major city in Europe. But it was English politician
Charles Latrobe who really penned the following: "... look at their works: the moles, aqueducts, churches, roads—and the luxurious ''City of Palaces'' which has risen from the clay-builts ruins of Tenochtitlan...", on page 84 of the Letter V of ''The Rambler in Mexico''. During the colonial period, the city's
motto
A motto (derived from the Latin , 'mutter', by way of Italian , 'word' or 'sentence') is a sentence or phrase expressing a belief or purpose, or the general motivation or intention of an individual, family, social group, or organisation. Mot ...
was "Muy Noble e Insigne, Muy Leal e Imperial" (Very Noble and Distinguished, Very Loyal and Imperial). During
Andrés López Obrador's administration a political slogan was introduced: ''la Ciudad de la Esperanza'' ("The City of Hope"). This motto was quickly adopted as a city nickname but has faded since the new motto, ''Capital en Movimiento'' ("Capital in Movement"), was adopted by the administration headed by
Marcelo Ebrard
Marcelo Luis Ebrard Casaubón (; born 10 October 1959) is a Mexican politician who is serving as the Secretary of Foreign Affairs of Mexico. Affiliated with the National Regeneration Movement (MORENA) since 2018, he was appointed to lead the f ...
, though the latter is not treated as often as a nickname in media. Since 2013, to refer to the city, particularly in relation to government campaigns, the abbreviation CDMX has been used (from Ciudad de México), prior to this but recently, the abbreviation was "DF" (from Distrito Federal de México).
The city is colloquially known as ''Chilangolandia'' after the locals' nickname ''
chilangos''. Chilango is used pejoratively by people living outside Mexico City to "connote a loud, arrogant, ill-mannered, loutish person". For their part those living in Mexico City designate insultingly those who live elsewhere as living in ''la provincia'' ("the provinces", the periphery) and many proudly embrace the term chilango. Residents of Mexico City are more recently called ''defeños'' (deriving from the postal abbreviation of the Federal District in Spanish: D.F., which is read "De-Efe"). They are formally called ''capitalinos'' (in reference to the city being the capital of the country), but "
rhaps because capitalino is the more polite, specific, and correct word, it is almost never utilized".
History
The oldest signs of human occupation in the area of Mexico City are those of the "
Peñón woman" and others found in San Bartolo Atepehuacan (
Gustavo A. Madero
Gustavo Adolfo Madero González (16 January 187518 February 1913), born in Parras de la Fuente, Coahuila, Mexico, was a participant in the Mexican Revolution against Porfirio Díaz along with other members of his wealthy family. He was als ...
). They were believed to correspond to the lower Cenolithic period (9500–7000 BC). However, a 2003 study placed the age of the Peñon woman at 12,700 years old (calendar age), one of the oldest human remains discovered in the Americas. Studies of her mitochondrial DNA suggest she was either of Asian or European or Aboriginal Australian origin.
The area was the destination of the migrations of the
Teochichimecas during the 8th and 13th centuries, people that would give rise to the
Toltec, and
Mexica
The Mexica (Nahuatl: , ;''Nahuatl Dictionary.'' (1990). Wired Humanities Project. University of Oregon. Retrieved August 29, 2012, frolink/ref> singular ) were a Nahuatl-speaking indigenous people of the Valley of Mexico who were the rulers of ...
(Aztecs) cultures. The latter arrived around the 14th century to settle first on the shores of the lake.
Aztec period
The city of
Mexico-Tenochtitlan
, ; es, Tenochtitlan also known as Mexico-Tenochtitlan, ; es, México-Tenochtitlan was a large Mexican in what is now the historic center of Mexico City. The exact date of the founding of the city is unclear. The date 13 March 1325 was c ...
was founded by the
Mexica
The Mexica (Nahuatl: , ;''Nahuatl Dictionary.'' (1990). Wired Humanities Project. University of Oregon. Retrieved August 29, 2012, frolink/ref> singular ) were a Nahuatl-speaking indigenous people of the Valley of Mexico who were the rulers of ...
people in 1325 or 1327. The old Mexica city that is now referred to as
Tenochtitlan was built on an island in the center of the inland lake system of the
Valley of Mexico
The Valley of Mexico ( es, Valle de México) is a highlands plateau in central Mexico roughly coterminous with present-day Mexico City and the eastern half of the State of Mexico. Surrounded by mountains and volcanoes, the Valley of Mexico wa ...
, which is shared with a smaller city-state called
Tlatelolco. According to legend, the Mexicas' principal god,
Huitzilopochtli, indicated the site where they were to build their home by presenting a
golden eagle
The golden eagle (''Aquila chrysaetos'') is a bird of prey living in the Northern Hemisphere. It is the most widely distributed species of eagle. Like all eagles, it belongs to the family Accipitridae. They are one of the best-known bird of p ...
perched on a
prickly pear devouring a
rattlesnake
Rattlesnakes are venomous snakes that form the genera ''Crotalus'' and ''Sistrurus'' of the subfamily Crotalinae (the pit vipers). All rattlesnakes are vipers. Rattlesnakes are predators that live in a wide array of habitats, hunting small anim ...
.
[Frances F. Berdan, ''The Aztecs of Mexico: An Imperial Society'', New York: Holt, Rinehart, Winston 1982, p. 14.]
Between 1325 and 1521, Tenochtitlan grew in size and strength, eventually dominating the other city-states around
Lake Texcoco and in the Valley of Mexico. When the Spaniards arrived, the
Aztec
The Aztecs () were a Mesoamerican culture that flourished in central Mexico in the post-classic period from 1300 to 1521. The Aztec people included different Indigenous peoples of Mexico, ethnic groups of central Mexico, particularly those g ...
Empire had reached much of
Mesoamerica
Mesoamerica is a historical region and cultural area in southern North America and most of Central America. It extends from approximately central Mexico through Belize, Guatemala, El Salvador, Honduras, Nicaragua, and northern Costa Rica. W ...
, touching both the Gulf of Mexico and the Pacific Ocean.
Spanish conquest

After landing in
Veracruz
Veracruz (), formally Veracruz de Ignacio de la Llave (), officially the Free and Sovereign State of Veracruz de Ignacio de la Llave ( es, Estado Libre y Soberano de Veracruz de Ignacio de la Llave), is one of the 31 states which, along with Me ...
, Spanish explorer
Hernán Cortés
Hernán Cortés de Monroy y Pizarro Altamirano, 1st Marquess of the Valley of Oaxaca (; ; 1485 – December 2, 1547) was a Spanish ''conquistador'' who led an expedition that caused the fall of the Aztec Empire and brought large portions of w ...
advanced upon Tenochtitlan with the aid of many of the other native peoples,
arriving there on 8 November 1519.
Cortés and his men marched along the causeway leading into the city from
Iztapalapa (Ixtapalapa), and the city's ruler,
Moctezuma II
Moctezuma Xocoyotzin ( – 29 June 1520; oteːkˈsoːmaḁ ʃoːkoˈjoːt͡sĩn̥), nci-IPA, Motēuczōmah Xōcoyōtzin, moteːkʷˈsoːma ʃoːkoˈjoːtsin variant spellings include Motewksomah, Motecuhzomatzin, Montezuma, Moteuczoma, Motecu ...
, greeted the Spaniards; they exchanged gifts, but the camaraderie did not last long.
Cortés put Moctezuma under
house arrest
In justice and law, house arrest (also called home confinement, home detention, or, in modern times, electronic monitoring) is a measure by which a person is confined by the authorities to their residence. Travel is usually restricted, if all ...
, hoping to rule through him.
Tensions increased until, on the night of 30 June 1520 – during a struggle known as "
La Noche Triste" – the Aztecs rose up against the Spanish intrusion and managed to capture or drive out the Europeans and their
Tlaxcalan allies.
Cortés regrouped at Tlaxcala. The Aztecs thought the Spaniards were permanently gone, and they elected a new king,
Cuitláhuac
Cuitláhuac (, ) (c. 1476 – 1520) or Cuitláhuac (in Spanish orthography; nah, Cuitlāhuac, , honorific form: Cuitlahuatzin) was the 10th '' Huey Tlatoani'' (emperor) of the Aztec city of Tenochtitlan for 80 days during the year Two Flin ...
, but he soon died; the next king was
Cuauhtémoc.
Cortés began a
siege of Tenochtitlan
The Fall of Tenochtitlan, the capital of the Aztec Empire, was a decisive event in the Spanish conquest of the empire. It occurred in 1521 following extensive manipulation of local factions and exploitation of pre-existing political divisions ...
in May 1521. For three months, the city suffered from the lack of food and water as well as the spread of
smallpox
Smallpox was an infectious disease caused by variola virus (often called smallpox virus) which belongs to the genus Orthopoxvirus. The last naturally occurring case was diagnosed in October 1977, and the World Health Organization (WHO) c ...
brought by the Europeans.
Cortés and his allies landed their forces in the south of the island and slowly fought their way through the city.
Cuauhtémoc surrendered in August 1521.
The Spaniards practically razed Tenochtitlan during the final siege of the conquest.
Cortés first settled in
Coyoacán, but decided to rebuild the Aztec site to erase all traces of the old order.
He did not establish a territory under his own
personal rule, but remained loyal to the Spanish crown. The first Spanish
viceroy
A viceroy () is an official who reigns over a polity in the name of and as the representative of the monarch of the territory. The term derives from the Latin prefix ''vice-'', meaning "in the place of" and the French word ''roy'', meaning "k ...
arrived in Mexico City fourteen years later. By that time, the city had again become a
city-state
A city-state is an independent sovereign city which serves as the center of political, economic, and cultural life over its contiguous territory. They have existed in many parts of the world since the dawn of history, including cities such as ...
, having power that extended far beyond its borders.
Although the Spanish preserved Tenochtitlan's basic layout, they built
Catholic churches
The Catholic Church, also known as the Roman Catholic Church, is the largest Christian church, with 1.3 billion baptized Catholics worldwide . It is among the world's oldest and largest international institutions, and has played a p ...
over the old Aztec temples and claimed the imperial palaces for themselves.
Tenochtitlan was renamed "Mexico" because the Spanish found the word easier to pronounce.
Growth of colonial Mexico City

The city had been the capital of the
Aztec Empire
The Aztec Empire or the Triple Alliance ( nci, Ēxcān Tlahtōlōyān, Help:IPA/Nahuatl, �jéːʃkaːn̥ t͡ɬaʔtoːˈlóːjaːn̥ was an alliance of three Nahua peoples, Nahua altepetl, city-states: , , and . These three city-states ruled ...
and in the colonial era, Mexico City became the capital of
New Spain
New Spain, officially the Viceroyalty of New Spain ( es, Virreinato de Nueva España, ), or Kingdom of New Spain, was an integral territorial entity of the Spanish Empire, established by Habsburg Spain during the Spanish colonization of the Am ...
. The
viceroy of Mexico or vice-king lived in the viceregal palace on the main square or
Zócalo. The
Mexico City Metropolitan Cathedral, the seat of the Archbishopric of New Spain, was constructed on another side of the Zócalo, as was the archbishop's palace, and across from it the building housing the city council or ''ayuntamiento'' of the city. A late seventeenth-century painting of the Zócalo by
Cristóbal de Villalpando depicts the main square, which had been the old Aztec ceremonial center. The existing central plaza of the Aztecs was effectively and permanently transformed to the ceremonial center and seat of power during the colonial period, and remains to this day in modern Mexico, the central plaza of the nation. The rebuilding of the city after the siege of Tenochtitlan was accomplished by the abundant indigenous labor in the surrounding area. Franciscan friar
Toribio de Benavente Motolinia, one of the
Twelve Apostles of Mexico
The Twelve Apostles of Mexico, the Franciscan Twelve, or the Twelve Apostles of New Spain, were a group of twelve Franciscan missionaries who arrived in the newly-founded Viceroyalty of New Spain on May 13 or 14, 1524 and reached Mexico City on Jun ...
who arrived in New Spain in 1524, described the rebuilding of the city as one of the afflictions or plagues of the early period:
The seventh plague was the construction of the great City of Mexico, which, during the early years used more people than in the construction of Jerusalem. The crowds of laborers were so numerous that one could hardly move in the streets and causeways, although they are very wide. Many died from being crushed by beams, or falling from high places, or in tearing down old buildings for new ones.
Preconquest Tenochtitlan was built in the center of the inland lake system, with the city reachable by
canoe
A canoe is a lightweight narrow water vessel, typically pointed at both ends and open on top, propelled by one or more seated or kneeling paddlers facing the direction of travel and using a single-bladed paddle.
In British English, the term ...
and by wide causeways to the mainland. The causeways were rebuilt under Spanish rule with indigenous labor. Colonial Spanish cities were constructed on a grid pattern, if no geographical obstacle prevented it. In Mexico City, the Zócalo (main square) was the central place from which the grid was then built outward. The Spanish lived in the area closest to the main square in what was known as the ''traza'', in orderly, well laid-out streets. Indigenous residences were outside that exclusive zone and houses were haphazardly located. Spaniards sought to keep indigenous people separate but since the Zócalo was a center of commerce for Amerindians, they were a constant presence in the central area, so strict segregation was never enforced. At intervals Zócalo was where major celebrations took place as well as executions. It was also the site of two major riots in the seventeenth century, one in 1624, the other in 1692.
The city grew as the population did, coming up against the lake's waters. As the depth of the lake water fluctuated, Mexico City was subject to periodic flooding. A major labor draft, the ''desagüe'', compelled thousands of indigenous over the colonial period to work on infrastructure to prevent flooding. Floods were not only an inconvenience but also a health hazard, since during flood periods human waste polluted the city's streets. By draining the area, the mosquito population dropped as did the frequency of the diseases they spread. However, draining the wetlands also changed the habitat for fish and birds and the areas accessible for indigenous cultivation close to the capital. The 16th century saw a proliferation of churches, many of which can still be seen today in the
historic center.
Economically, Mexico City prospered as a result of trade. Unlike Brazil or
Peru
, image_flag = Flag of Peru.svg
, image_coat = Escudo nacional del Perú.svg
, other_symbol = Great Seal of the State
, other_symbol_type = Seal (emblem), National seal
, national_motto = "Fi ...
, Mexico had easy contact with both the Atlantic and Pacific worlds. Although the Spanish crown tried to completely regulate all commerce in the city, it had only partial success.
The concept of
nobility
Nobility is a social class found in many societies that have an aristocracy (class), aristocracy. It is normally ranked immediately below Royal family, royalty. Nobility has often been an Estates of the realm, estate of the realm with many e ...
flourished in New Spain in a way not seen in other parts of the Americas. Spaniards encountered a society in which the concept of nobility mirrored that of their own. Spaniards respected the indigenous order of nobility and added to it. In the ensuing centuries, possession of a
noble title in Mexico did not mean one exercised great political power, for one's power was limited even if the accumulation of wealth was not.
The concept of nobility in Mexico was not political but rather a very conservative Spanish social one, based on proving the worthiness of the family. Most of these families proved their worth by making fortunes in New Spain outside of the city itself, then spending the revenues in the capital, building churches, supporting charities and building extravagant palatial homes. The craze to build the most opulent residence possible reached its height in the last half of the 18th century. Many of these palaces can still be seen today, leading to Mexico City's nickname of "The city of palaces" given by
Alexander Von Humboldt
Friedrich Wilhelm Heinrich Alexander von Humboldt (14 September 17696 May 1859) was a German polymath, geographer, naturalist, explorer, and proponent of Romantic philosophy and science. He was the younger brother of the Prussian minister, p ...
.
The
Grito de Dolores ("Cry of Dolores"), also known as El Grito de la Independencia ("Cry of Independence"), marked the beginning of the Mexican War of Independence. The Battle of Guanajuato, the first major engagement of the insurgency, occurred four days later. After a decade of war, Mexico's independence from Spain was effectively declared in the Declaration of Independence of the Mexican Empire on 27 Sept