Código de Endereçamento Postal (Postal Addressing Code) is the Brazilian Postal code system commonly known as CEP. Introduced in 1972 as a sequence of five digits, it was expanded to eight digits in 1992 to allow for more precise localization. The standard format is "nnnnn-nnn" (the original five digits, a hyphen, and the new three digits).
Most cities with population around 100,000 and above have a CEP assigned to every public place and to some high-occupancy private spaces, like major commercial buildings and large residential condos. Small towns are assigned a general 5-digit code followed by the suffix -000.
The complete postal code database, known as DNE, contains more than 900,000 codes (including streets, neighborhoods, cities and Federated state names). Initially it was freely available at the Brazilian post office website, but after receiving various enhancements it is now a paid service called [1]. It comprises:
Individual addresses or CEPs can still be searched for free at the Correios website (link below).
The digits have the same function since 1970: to locate a region, state, county, district, neighborhood or street. Brazil was divided into ten postal areas, ranging from 0 to 9, counting counter-clockwise from the state of São Paulo.
Currently the lowest postal code is 01001-000 and the highest one is 99990-970.
Correios, Brazil's mail service, requests (but does not require) that the code be placed in the last line of the address. The acronym CEP is sometimes placed before the code, e.g. CEP 29145-586; however this practice is discouraged by the Correios, as it may cause reading errors in the automatic sorting machines.
Valid examples for mailing in Brazil are:
or
Rua Remanso, 35
Tingui
Rio de Janeiro - RJ
23080-060