Peru
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Peru. Use them in forms, validation, and CountriesDB integrations.
About Peru codes
Need Peru (PE) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.
This guide lists 26 official ISO 3166-2 subdivisions for Peru. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch Peru from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (26)
Official ISO 3166-2 codes for Peru. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| PE-AMA | Amasunu | region |
| PE-ANC | Ankashu | region |
| PE-APU | Apurimaq | region |
| PE-ARE | Arikipa | region |
| PE-AYA | Ayaquchu | region |
| PE-ICA | Ika | region |
| PE-JUN | Junin | region |
| PE-CAL | Kallao | region |
| PE-CUS | Kusku | region |
| PE-LAL | La Libertad | region |
| PE-LAM | Lambayeque | region |
| PE-LIM | Lima | region |
| PE-LMA | Lima hatun llaqta | municipality |
| PE-LOR | Luritu | region |
| PE-MDD | Madre de Dios | region |
| PE-MOQ | Moqwegwa | region |
| PE-PAS | Pasqu | region |
| PE-PIU | Piura | region |
| PE-PUN | Puno | region |
| PE-CAJ | Qajamarka | region |
| PE-SAM | San Martín | region |
| PE-TAC | Takna | region |
| PE-TUM | Tumbes | region |
| PE-UCA | Ukayali | region |
| PE-HUV | Wankawelika | region |
| PE-HUC | Wanuku | region |
Frequently asked questions
- What is the ISO 3166-1 code for Peru?
- Peru uses ISO 3166-1 alpha-2 PE, alpha-3 PER, and numeric 604. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does Peru have?
- CountriesDB lists 26 official ISO 3166-2 subdivisions for Peru (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use Peru country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for Peru, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use Peru in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Peru (PE) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.