The Portuguese postal code, known as the Código Postal, is administered by CTT Correios de Portugal, the national postal service. Since a reform in 1994, the format consists of seven digits written as two groups separated by a hyphen: four digits identifying the delivery zone, followed by a hyphen and three digits that pinpoint a specific street, building, or large-volume recipient, in the form NNNN-NNN.
The current seven-digit system replaced an earlier four-digit scheme introduced in 1978, giving far greater precision for mail routing. Each code is typically followed by a locality name written in capital letters, which helps confirm the delivery area. Major cities such as Lisbon and Porto contain large numbers of distinct codes due to their dense street-level subdivisions, while the autonomous regions of the Azores and Madeira use codes drawn from the same national numbering range.
The database currently contains exactly 507 postal codes for Portugal.
| Region | Postal Codes |
|---|---|
| Lisbon District | 71 |
| Porto District | 52 |
| Santarém District | 31 |
| Setúbal District | 31 |
| Viseu District | 30 |
| Leiria District | 26 |
| Coimbra District | 25 |
| Aveiro District | 25 |
| Braga District | 25 |
| Autonomous Region of the Azores | 24 |
| Faro District | 21 |
| Autonomous Region of Madeira | 20 |
| Beja District | 18 |
| Guarda District | 17 |
| Vila Real District | 17 |
| Portalegre District | 16 |
| Évora District | 15 |
| Bragança District | 15 |
| Castelo Branco District | 15 |
| Viana do Castelo District | 13 |