Costa Rica ZIP Code Dataset

Comprehensive Costa Rica ZIP code data with accurate geographic coordinates, administrative divisions, and time zone

Costa Rica's Postal Code Format

Costa Rica uses a “Código postal” system, which is a five-digit numeric format, like 99999, with no letters or separators. This means it uses only numbers, similar to US ZIP codes, which are also five digits and purely numeric. According to the GeoPostcodes world postal code database, Costa Rica has 487 postal codes covering 574 regions and 8,077 towns.
  • Código postal Format: 99999

    • Numeric, 5 digits. Digits represent province, canton, district.
    • Urban addresses: street + avenue + house no.; rural: descriptive references
    • 487 postcodes covering 574 regions and 8,077 towns

    Examples: 20101 - Alajuela (Costa Rica)

  • Structure of Postcodes

    • Format: Costa Rica: 99999, numeric
    • Hierarchical levels: The postal code structure for urban addresses is street + avenue + house no. Rural addresses use descriptive references. The digits in the postal codes represent the province, canton, and district.
  • Management & Authority

    Primary postal authority: The postal authority of Costa Rica is Correos de Costa Rica, which can be found at www.correos.go.cr.
  • Addressing Standards

    • Common address format: [Street Name] [Street Number], [Cross Street 1]/[Cross Street 2], [Building Name], [City] [Postal Code]
    • Administrative divisions used:Avenida 10, Calles 15/17, Edificio Colón, San José 10101

Our location dataset for Costa Rica

Explore our comprehensive collection of Costa Rica ZIP code and administrative data products, designed to meet all your mapping and location intelligence needs.

Costa Rica ZIP & Administrative boundaries

Comprehensive boundary data from GeoPostcodes for all Costa Rica postal codes, provinces, territories, and administrative divisions.

Costa Rica Administrative Divisions

The database follows a standardized and unified structure you can integrate without becoming an expert in each country’s unique administrative hierarchy.

Key Features:

  • 247 countries
  • Unified global hierarchy
  • Up to 5 administrative levels
  • Includes complex geographies

Costa Rica Address Format

The GeoPostcodes database ensures addresses follow the correct format for Costa Rica, ensuring a smooth address validation experience.

Our database offers comprehensive address validation to reduce delivery errors and improve efficiency.

Address validation - Costa Rica address validation

Comprehensive Costa Rica ZIP code, city, and address data to verify and correct existing addresses at input, post-entry, or in bulk.

Coverage Statistics

487

Total ZIP Codes

574

Provinces & Territories

8,077

Cities & Towns

Available File Formats

Choose from multiple data formats to seamlessly integrate Costa Rica postal code data into your systems
CSV Format

Comma-separated values for
spreadsheet applications and data analysis tools

GeoJSON Format

JavaScript Object Notation for
web applications and modern development

GML Format

Extensible Markup Language for enterprise systems and legacy applications

DAT Format

Database-ready SQL scripts for
direct import into your systems

Data Dictionary

Comprehensive field definitions and data specifications for the Costa Rica postal code dataset
Field nameField typeDescriptionComments
ISOChar(2)ISO 3166-1 Country codeThe ISO 3166-1 standard is published by the International Organization for Standardization (ISO) and defines a unique code for the name of each country. The country codes are represented as a two-letter code (alpha-2).
CountryChar(50)Country name
LanguageChar(2)Language codeWhen there are several official languages in the country, or for countries using a non-Latin alphabet, we provide the names in different languages. The language field contains the language code and allows you to select a specific version.
Region1
Region2
Region3
Region4
Char(80)
Administrative division level 1
Administrative division level 2
Administrative division level 3
Administrative division level 4
These fields contain the name of administrative divisions for each available level. If not applicable, the value '-' will be indicated.
LocalityChar(80)Locality nameContains the settlement name. The type of settlement may vary depending on the country (city, town, village, etc..).
PostcodeChar(15)ZIP / Postal codeIn countries/places where there is no postal code in use, this field is left empty. The postcode structure varies for each country.
Latitude
Longitude
DoublePlace coordinates (WGS84 coordinates)These fields contain the geographic coordinates related to the specific locality and postal code of the record. The geographical position is usually precise to about one hundred meters and corresponds to the center of the locality. All our files are created using the World Geodetic System standard WGS 84. The corresponding SRID reference is EPSG:4326.
TimezoneChar(30)Time zone name (Olson)Following the timezones defined in the IANA tz database (sometimes called Olson database).

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.

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

Ready to Get Started?

Download our sample Costa Rica postal code dataset.
Updated: April 1, 2026

Frequently Asked Questions

The ZIP code (Código postal) for central San José, Costa Rica, is 10101.
A 5-digit ZIP code in Costa Rica is the Código postal: a five-digit number (format 99999) where the first digit denotes the province, the next two the canton, and the last two the district (e.g., 10101).
Yes. Costa Rica uses postal codes (Código postal) in a five-digit format (99999), assigned to districts to identify locations for mail delivery.
Yes. Costa Rica uses postal codes (Código postal) consisting of five digits (format 99999); these cover the country’s 8,077 cities.
No town in Costa Rica has the Código postal 12345; that five-digit code is not assigned. To find a correct código postal, consult Correos de Costa Rica or the local municipality for the specific address.
Costa Rica uses five-digit postal codes called Código postal (format 99999) that identify province, canton and district. They serve the same purpose as U.S. ZIP codes, though their structure and administration differ.
Yes. Costa Rica has a national postal code system (Código postal) using five digits (format 99999). The codes cover the country’s 8,077 localities and identify province, canton and district for mail delivery and logistics.
The country calling code +506 is often mistaken for a ZIP code in Costa Rica. Costa Rican postal codes (Código postal) use a five-digit format (99999).

Template:
Recipient name
Street and house number, neighborhood or reference
District, Canton, Province
Código postal: 12345
Costa Rica

Example:
María Pérez
Calle 7, casa 12, Barrio Los Ángeles
Distrito Central, Cantón de San José, Provincia de San José
Código postal: 10101
Costa Rica

Costa Rica does not have a single ZIP code. Postal codes (Código postal) are five digits in the format 99999 and are assigned to districts; there are 8,077 cities/districts. Provide a city or district name to get its Código postal.
The postal code format in Costa Rica is five digits (99999); it is referred to as Código postal.
A ZIP code (Código postal) in Costa Rica consists of 5 digits.
Yes. Addresses in Costa Rica include a Código postal (postal code) in a five-digit format (99999), which is used in mailing addresses alongside the locality and province.