Mexico Administrative Divisions

What is the hierarchy of administrative divisions in Mexico?

Mexico operates on a two-level administrative system, starting with 32 federal entities (31 states and Mexico City) at the top level, followed by municipalities as the smallest official administrative units. Cities exist within municipalities but are not administrative units themselves.

Here’s a breakdown of the hierarchy:

1. States and Mexico City: Mexico is divided into 31 states and 1 federal entity, Mexico City.

2. Municipalities: Each state and Mexico City is subdivided into municipalities, which are the smallest official administrative units.

List of Mexico's administrative divisions with their counts and names

These are the summarized administrative divisions. The full dataset is available in the Download Center.

isocountryadmin level 1admin level 2admin level 3admin level 4
MXMexicoAguascalientes (Estado libre)11 Municipalities9 CitiesThis level doesn’t exist for this country.
MXMexicoBaja California (Estado libre)7 Municipalities7 CitiesThis level doesn’t exist for this country.
MXMexicoBaja California Sur (Estado libre)5 Municipalities12 CitiesThis level doesn’t exist for this country.
MXMexicoCampeche (Estado libre)13 Municipalities12 CitiesThis level doesn’t exist for this country.
MXMexicoChiapas (Estado libre)124 Municipalities25 CitiesThis level doesn’t exist for this country.
MXMexicoChihuahua (Estado libre)67 Municipalities14 CitiesThis level doesn’t exist for this country.
MXMexicoCoahuila de Zaragoza (Estado libre)38 Municipalities24 CitiesThis level doesn’t exist for this country.
MXMexicoColima (Estado libre)10 Municipalities5 CitiesThis level doesn’t exist for this country.
MXMexicoDurango (Estado libre)39 Municipalities12 CitiesThis level doesn’t exist for this country.
MXMexicoGuanajuato (Estado libre)46 Municipalities39 CitiesThis level doesn’t exist for this country.
MXMexicoGuerrero (Estado libre)85 Municipalities38 CitiesThis level doesn’t exist for this country.
MXMexicoHidalgo (Estado libre)84 Municipalities15 CitiesThis level doesn’t exist for this country.
MXMexicoJalisco (Estado libre)125 Municipalities57 CitiesThis level doesn’t exist for this country.
MXMexicoMexico City (Federal Entity)16 Boroughs16 CitiesThis level doesn’t exist for this country.
MXMexicoMexico (Estado libre)125 Municipalities35 CitiesThis level doesn’t exist for this country.
MXMexicoMichoacan de Ocampo (Estado libre)113 Municipalities27 CitiesThis level doesn’t exist for this country.
MXMexicoMorelos (Estado libre)36 Municipalities11 CitiesThis level doesn’t exist for this country.
MXMexicoNayarit (Estado libre)20 Municipalities18 CitiesThis level doesn’t exist for this country.
MXMexicoNuevo Leon (Estado libre)51 Municipalities19 CitiesThis level doesn’t exist for this country.
MXMexicoOaxaca (Estado libre)570 Municipalities58 CitiesThis level doesn’t exist for this country.
MXMexicoPuebla (Estado libre)217 Municipalities17 CitiesThis level doesn’t exist for this country.
MXMexicoQueretaro (Estado libre)18 Municipalities3 CitiesThis level doesn’t exist for this country.
MXMexicoQuintana Roo (Estado libre)11 Municipalities8 CitiesThis level doesn’t exist for this country.
MXMexicoSan Luis Potosi (Estado libre)59 Municipalities21 CitiesThis level doesn’t exist for this country.
MXMexicoSinaloa (Estado libre)20 Municipalities23 CitiesThis level doesn’t exist for this country.
MXMexicoSonora (Estado libre)72 Municipalities14 CitiesThis level doesn’t exist for this country.
MXMexicoTabasco (Estado libre)17 Municipalities12 CitiesThis level doesn’t exist for this country.
MXMexicoTamaulipas (Estado libre)43 Municipalities21 CitiesThis level doesn’t exist for this country.
MXMexicoTlaxcala (Estado libre)60 Municipalities6 CitiesThis level doesn’t exist for this country.
MXMexicoVeracruz de Ignacio de la Llave (Estado libre)212 Municipalities69 CitiesThis level doesn’t exist for this country.
MXMexicoYucatan (Estado libre)106 Municipalities7 CitiesThis level doesn’t exist for this country.
MXMexicoZacatecas (Estado libre)58 Municipalities19 CitiesThis level doesn’t exist for this country.

Why is building an Administrative Divisions Database complex?

The complexity arises from inconsistent global standards, frequent boundary changes, non-uniform naming conventions (e.g., “suburb” in Australia vs. “county” in the US), and variations in administrative levels across countries. Integrating and harmonizing data from multiple sources requires advanced normalization, versioning, and geospatial validation techniques.

How does GeoPostcodes solve the problem for you?

Our standardized database overcomes the complexity of different administrative division
systems worldwide. Our database follows a unified structure that you can integrate
seamlessly into your system or platform of choice without needing to become an expert in
each country’s unique administrative hierarchy.

Download the complete Dataset

Explore the comprehensive list of administrative divisions, standardized and scalable across 247 countries.

Why choose GeoPostcodes

Global coverage

Complete coverage across 247 countries, including hard-to-source geographies like China, Japan, Brazil, and Russia.

Highest quality

Built on extensive, authoritative sourcing with robust data engineering and quality control. Standardized and up-to-date.

Expert Consulting

With 15 years of experience, we guide your implementation and deliver data in the format that fits your system.

Trusted by Industry Leaders

Join more than 100 enterprise clients who trust GeoPostcodes for their location data

GeoPostcodes - Ecotransit logo
“GeoPostcodes’ global ZIP codes allow us to determine distances accurately. Thanks to their up-to-date database, we no longer have problems with missing locations, making our system much more efficient and reliable.”

Anjo Grebe

Consultant

“GeoPostcodes databases provide IATA codes, enhanced UNLOCODEs with port terminal data, addresses, and more – all on a global scale! This level of accuracy is essential for our mileage and CO2 emissions calculation.”
GeoPostcodes - Peter Wild CarbonCare

Dr. Peter Wild

Managing Partner

“GeoPostcodes’ Population data shows population forecasts over the next years. We can use it as a proxy to justify longer-term changes and downgrade postal code areas in terms of economic viability.”

Kousha Mazloumi

Director of Data Science

“The concept of the city receives different names or belongs to different hierarchical levels depending on the country. Using GeoPostcodes’ data gave us access to city definitions aligned with our customers’ expectations, saving us computation time.”

Kousha Mazloumi

Director of Data Science

GeoPostcodes - Logo_DB_Schenker
“The world is constantly changing. New localities and neighborhoods open up or become dispersed. It’s good to know that GeoPostcodes is keeping on top of those changes and providing us with updated information to work with.”
GeoPostcodes-GeoPostcodes-William chao picture

William Chao

Product Owner of Geographic Information Services

GeoPostcodes - Bark Logo
“The key aspect of working with GeoPostcodes has been their ability to provide customized data solutions. Their collaborative approach has made them an excellent partner in addressing our location data challenges.”

Kate Kilby

Senior Product Manager

GeoPostcodes - Opterrix-logo
“GeoPostcodes’ multi-level boundaries were perfectly aligned, enabling seamless integration with multiple secure cloud platforms. Our software can now provide more accurate visualizations for risk analysis and natural hazard monitoring.”

Dave Hamm

Project Manager

“Countries like Brazil or China are particularly strict with their customs validation. GeoPostcodes’ ZIP codes and Enhanced UNLOCODES database are aligned with national regulations, ensuring seamless transportation and compliance.”
GeoPostcodes - Kavian Ranjbar

Kavian Ranjbar

Data Governance Specialist

“If you’ve got a business where locations are a big part of it and you’re looking to avoid the large costs that can be involved in using APIs, GeoPostcodes’ on-premise database is definitely worth considering.”
GeoPostcodes-Nick Baugie

Nick Beaugié

Senior Software Engineer

Request a personalized quote

Interested in the full database? Ask for a quote.

Our pricing model depends on a few factors such as products, features, use case and country coverage.

Get in touch to receive an accurate pricing proposal.

Annual licenses are priced based on the number of countries needed, type of usage, products and the features (additional datasets).

Our licenses have a fixed price and include everything: comprehensive location data, unlimited updates, the right to use our data in all your systems or products, and continuous support from a dedicated expert.

Data is updated weekly, but you can decide on your own update frequency depending on your use case. You can get automatic differential updates and a list of historical ID changes by using our download API.

124 of the Fortune 500 rely on our international data

Our location dataset for Mexico

Mexico ZIP Codes

Mexico uses a “Código postal” system, which is a five-digit numeric format, like 99999, with no letters or separators. This is similar to US ZIP codes, which are also five digits and purely numeric. According to the GeoPostcodes world postal code database, Mexico has 32,019 postal codes covering 3,183 regions and 156,230 towns.

Mexico ZIP & Administrative boundaries

Mexico administrative landscape often follows inconsistent regional models and irregular public sources, making it difficult to maintain reliable boundaries. Our standardized postal and administrative boundary data resolves these gaps to ensure complete, coherent geographic coverage.

Mexico Address Format

Address conventions differ by country, leading to frequent validation errors and incomplete entries. Our dataset applies Mexico correct address format to ensure clean inputs, smoother validation, and reduced delivery mistakes.

Global Location Databases

Comprehensive location data products serving businesses, and
organizations worldwide with accurate, up-to-date geographic information.

Postal Code Database

Global dataset containing all administrative divisions, cities and zip codes.

Key features

  • 247 Countries
  • 9,9M Coordinates
  • 9,3M Postal Codes
  • 400 Time zones
  • 4M Cities and Towns
  • 116K UNLOCODES

Specifications

  • Coverage: Global
  • Format: CSV, ASC, DAT, GML, GeoJSON, KML, Shapefile (SHP)

Boundary Data

A global dataset of polygons representing postal codes and administrative areas.

Key features

  • 247 Countries
  • Up to 6 levels
  • 1,7M boundaries
  • High-precision
  • 245K Admin areas
  • Visualization

Specifications

  • Coverage: Global
  • Format: GeoJSON, Geopackage, KML, Shapefile (SHP)

Population Database

Global population estimates at postal code and administrative level covering a span of 55 years: past, present, and future.

Key features

  • 247 Countries
  • 243K Admin areas
  • 55 year span
  • Yearly updates
  • 645K ZIP codes

Specifications

  • Coverage: International
  • Format: CSV, ASC

Address Database

International dataset with all administrative areas, cities, streets, and relevant postal codes.

Key features

  • 81 Countries
  • 299 languages
  • 26,5M streets
  • 400 time zones
  • 9.3M ZIP codes
  • 4M cities

Specifications

  • Coverage: International
  • Format: CSV, ASC, DAT, GML, KML, Shapefile (SHP), GeoJSON