CPF Explained
What Is a CPF? Brazil's Tax ID for Foreigners
The CPF - Cadastro de Pessoas Físicas - is Brazil's individual taxpayer registry number, issued by the Receita Federal (Federal Revenue Service). Think of it as Brazil's equivalent of a Social Security Number (US), National Insurance Number (UK) or Steueridentifikationsnummer (Germany). It is an 11-digit number that uniquely identifies every individual in Brazil's tax, financial and administrative systems.
For foreigners, the CPF is the single most important document you will need in Brazil. Without it, you cannot open a bank account, rent an apartment, buy property, invest in Brazilian markets, register a company, get a mobile phone plan or access most government services. This page explains what a CPF is, what it is used for and what it is not. For step-by-step instructions on how to get one, see the complete CPF application guide.
Quick Answer
A CPF is an 11-digit tax identification number issued by the Brazilian government. It does not expire, it is free to register and any foreign national can obtain one - even without visiting Brazil. You need one for virtually every financial, legal or administrative transaction in the country.
What a CPF Is Not
A common source of confusion is what the CPF actually grants. Here is what it does not do:
- It is not a visa or residency permit. The CPF is a tax registration only. It does not affect your immigration status, does not authorize you to live or work in Brazil, and is completely separate from any visa application. See the Brazil visa guide for immigration information.
- It is not a bank account. Having a CPF is a prerequisite for opening one, but the CPF itself is just a number - it holds no funds and has no banking functionality.
- It is not a physical card (in most cases). The CPF number is what matters. While a physical card can be requested, it is rarely needed - the number alone is sufficient for all transactions.
- It is not a CNPJ. A CNPJ (Cadastro Nacional da Pessoa Jurídica) is the tax ID for companies and legal entities. Individuals get a CPF; businesses get a CNPJ. To register a company, each individual partner must first have a CPF. See registering a company in Brazil.
The CPF Number Format
A CPF number consists of 11 digits in the format XXX.XXX.XXX-XX. The first nine digits are the base number, and the last two are check digits calculated from the preceding nine using a specific algorithm. These check digits validate the authenticity of the number and prevent typos and fraud.
Once issued, your CPF number is permanent - it never changes, even if you change your name, nationality status or marital status. You keep the same number for life.
What a CPF Is Used For
Unlike tax IDs in many countries that are primarily for tax filing, the CPF is embedded in virtually every aspect of daily life in Brazil:
Banking
Every Brazilian bank - from Nubank and Inter to Bradesco and Itaú - requires a CPF to open an account. No CPF, no bank account.
Housing
Landlords and rental agencies use the CPF to run background checks. Without one, you cannot sign a lease.
Property & Investment
No notary (cartório) will process a property deed without a CPF. Brazilian brokerages require one to open an investment account.
Telecommunications
Postpaid mobile plans, internet contracts and even some prepaid SIM registrations require a CPF.
Business
Registering a company (CNPJ) requires a CPF for every partner or director. No CPF, no CNPJ.
Government Services
Enrolling in public healthcare (SUS), registering children in school and filing taxes all require a CPF.
When Should You Get a CPF?
The short answer: as early as possible. If you are planning to move to Brazil, invest in Brazilian assets, buy property or do any business in the country, you should start the CPF application before you need it urgently.
- Before moving to Brazil: Apply remotely so your CPF is ready when you arrive. This lets you open a bank account and sign a lease within your first week. See the moving to Brazil guide.
- Before buying property: Real estate transactions require a CPF before a notary can process the deed. Get it sorted before you start house hunting. See buying property in Brazil.
- Before opening a bank account: Every bank requires a CPF. Digital banks like Nubank and Inter are faster for foreigners. See opening a bank account.
- Before registering a company: A CNPJ requires a CPF for every partner. Get your CPF first. See registering a company.
How to Get a CPF - Overview
There are three main ways to apply. For a detailed step-by-step walkthrough of each, see the complete CPF application guide.
In person in Brazil
Best for: If you are already in Brazil
Same day - 10 business days
Brazilian consulate abroad
Best for: If your consulate processes CPFs for foreigners
2-8 weeks
Authorized representative (remote)
Best for: For most foreigners outside Brazil
5-14 business days after submission
CPF vs. Other Brazilian Documents
| Document | What it is | Who needs it |
|---|---|---|
| CPF | Individual taxpayer ID | Every individual (Brazilian or foreign) engaging in financial/legal activities in Brazil |
| CNPJ | Company taxpayer ID | Businesses and legal entities registered in Brazil |
| RG | Brazilian identity card | Brazilian citizens and naturalized residents |
| CRNM | National migrant registration card | Foreign residents with approved residency permits |
How MoraLá Can Help
MoraLá offers two options for foreigners who need a CPF:
Digital Product
CPF Digital Guide - €29.90
A step-by-step PDF guide that walks you through the entire CPF application process yourself. Available in English, German, Spanish and Portuguese. Immediate download after payment.
Get the guideDone-For-You Service
CPF Registration - €149
MoraLá handles the entire process on your behalf: POA template, document review, Receita Federal submission. Fully remote. English throughout.
Get the servicePlease note: MoraLá assists with the CPF application process but cannot guarantee approval or issuance of a CPF. The final decision is made exclusively by the Brazilian tax authority (Receita Federal). Processing time estimates are indicative only and may vary.
About the Author

Béla Christiansen
Founder of MoraLá | German national based in Salvador, Bahia, Brazil
- Personally completed the CPF process as a foreigner
- German national based in Salvador, Bahia, Brazil
- Helped multiple foreigners obtain their CPF
- Direct communication - no outsourcing
- Not affiliated with the Receita Federal or any Brazilian government body
Béla moved to Brazil from Germany at 22 and has been navigating Brazilian bureaucracy firsthand ever since. This guide reflects that direct experience - what actually works for a foreigner without local connections, not a theoretical walkthrough. MoraLá is an administrative assistance service for foreigners navigating Brazilian bureaucracy, primarily focused on CPF registration. It is not a financial services firm. Most recent review: June 2026.
MoraLá is not providing legal advice, legal representation or any service reserved for licensed professionals. It is not a law firm, accounting firm or entity affiliated with the Receita Federal or any Brazilian government body. Nothing on this page constitutes legal or immigration advice.
Related Guides
Other essential resources for foreigners in Brazil: