How to Get a CPF in Brazil as a Foreigner: The Complete 2026 Guide
Before you buy an apartment in Rio, open a bank account, or sign a single utility contract, you need one small number. Here is exactly how to get a CPF in Brazil as a foreigner, whether you are still at home or already on the ground.
Key takeaways
- A CPF (Cadastro de Pessoas Físicas) is Brazil's individual tax ID, and no foreigner can buy property, open a bank account, or sign contracts without one.
- You can get it two ways: from a Brazilian consulate before you travel, or in person at a Receita Federal office (often via a partner bank or post office) once you are in Brazil.
- The cost is free or a small nominal fee, and the number itself is often issued the same day or within a few days.
- Getting a CPF does not give you residency, a visa, or any tax obligation on its own. It is just an identifier.
- Guard the number. It follows you for life and is tied to your credit, your taxes, and your property records in Brazil.
What a CPF actually is (and why you cannot skip it)
If you are trying to figure out how to get a CPF in Brazil as a foreigner, start here, because almost everything else in your Brazilian life runs through this one number. CPF stands for Cadastro de Pessoas Físicas, which translates roughly to "Registry of Physical Persons." It is an 11-digit tax identification number issued by the Receita Federal, Brazil's federal revenue and tax authority. Think of it as the Brazilian equivalent of a US Social Security Number or a UK National Insurance number, except it is used far more openly and far more often. Brazilians rattle their CPF off from memory the way an American recites a phone number.
Here is the part that trips up newcomers: the CPF is not just for taxes. It is the master key to civil and commercial life. You need it to buy an apartment, to open a bank account, to sign a mobile phone contract, to get electricity switched on, to buy a domestic plane ticket, to sign up for a gym, and even to earn loyalty points at the pharmacy checkout. For a foreign property buyer, it is the very first box you have to tick. As our Rio buying guide puts it bluntly: no CPF, no purchase. The notary will not draft your deed and the registry will not record you as owner without it.
The number is written as three groups of three digits followed by a two-digit verification code, like 123.456.789-00. Those last two digits are a checksum, calculated from the first nine, which is how systems instantly flag a mistyped number. Once issued, a CPF is yours for life. It does not expire, it does not need renewing, and it does not change if you move, marry, or become a resident later. You get it once and you keep it forever.
The one-line version
Any foreigner can get a CPF, from anywhere in the world, usually for free. You do not need a visa, residency, or even to have set foot in Brazil. All you really need is your passport and a little patience with a couple of government websites.
Under Brazilian law, foreigners have the same rights as Brazilians to buy urban real estate, meaning apartments, houses, and commercial units in a city like Rio de Janeiro. There is no foreign-buyer surcharge, no residency requirement, and no citizenship test. But that equal footing comes with an equal obligation: you get taxed and identified like everyone else, and that starts with the CPF. It is the thread that ties your name to your property record, your utility bills, and eventually any rental income or capital gain you report to the Brazilian tax authorities.
The CPF is the smallest, cheapest, and most important document in your entire Brazilian property purchase. Everything downstream depends on it.
BuyInRio
Who needs a CPF, and when in the process
Short answer: if you are buying anything in Brazil, you need one, and you need it early. I have watched buyers get all the way to an accepted offer and a signed promessa de compra e venda (the promissory sale agreement) only to stall for two weeks because they left the CPF to the last minute. Do not be that person. Sort it out before you are seriously shopping, ideally before you even fly down.
You need a CPF if you plan to
- Buy an apartment, house, or commercial unit anywhere in Brazil
- Open a Brazilian bank account (required for most local transactions and useful for closing)
- Register your inbound purchase funds properly with the Central Bank
- Sign utility contracts: electricity, water, gas, internet, mobile
- Pay property taxes such as ITBI at purchase and IPTU every year afterward
- Receive and declare rental income if you plan to let the place out
- Sign a long-term lease if you rent first before you buy
Do you need to be a resident? No. Do you need a visa? No. The CPF is deliberately open to non-residents precisely because Brazil wants foreign investment to be traceable and taxable. That is also why buying property does not, by itself, hand you residency. If residency is your actual goal, the CPF is a stepping stone, not the destination. We cover the routes in detail in our visas and residency guide, including the real-estate investor visa that kicks in at higher purchase values.
Timing matters more than people think. The CPF itself is fast, but it sits at the front of a chain, and everything behind it waits. You cannot open a bank account without it. You cannot cleanly register your money transfer without it. You cannot sign the deed without it. So a two-day CPF delay is rarely just two days; it pushes the bank account, which pushes the funds registration, which pushes the closing. Front-load it and the whole timeline relaxes.
Worked timing example
Say you are a US buyer targeting a two-bedroom in Botafogo for a February closing. Ideal sequence: get your CPF in January from the Brazilian consulate near you (before you travel), land in Rio with the number already active, open a bank account in your first week, register your incoming funds, and be ready to sign the deed without the CPF ever being the thing that holds you up. The whole property side moves faster when this piece is done in advance.
The two ways to get a CPF as a foreigner
There are exactly two legitimate routes, and which one you choose usually comes down to where you are standing when you decide you need the number.
Route 1: From abroad, at a Brazilian consulate
If you are still in your home country, this is the cleaner path. The Receita Federal lets you register online and then finalize through a Brazilian embassy or consulate abroad. You fill out the application on the Receita Federal website, and the consulate that serves your region validates your documents. In many cases the whole thing is handled by email and you never physically visit the building. You walk away with a CPF number before you have booked your flight, which means the moment you land you can move.
Route 2: In Brazil, at Receita Federal (via a partner bank or post office)
If you are already in Rio, or you simply prefer to do it on the ground, you register in person in Brazil. The quirk here is that you usually do not go straight to a Receita Federal office. Instead you start at one of its authorized partners: a branch of Banco do Brasil, Caixa Econômica Federal, or a Correios (post office) counter. They take your details and passport, process the request into the Receita Federal system, and you either get the number on the spot or pick it up shortly after. If there is any complication, the partner sends you on to an actual Receita Federal office to sort it out directly.
| Factor | Consulate (abroad) | Receita Federal / partner (in Brazil) |
|---|---|---|
| Where you must be | Your home country | In Brazil |
| Where you actually go | Online + your Brazilian consulate | Banco do Brasil, Caixa, or Correios counter |
| Documents | Passport (and consulate's checklist) | Passport; sometimes proof of entry |
| Cost | Free or a small nominal fee | Small nominal fee at the partner counter |
| Turnaround | Same day to a few days | Same day to a few days |
| Best for | Planning ahead before you travel | Buyers already on the ground |
Both routes lead to the exact same 11-digit number in the exact same federal database. There is no "foreigner CPF" versus "resident CPF"; a CPF is a CPF. The only real difference is convenience and where you happen to be. A number you obtained from a consulate in London or New York is identical in every way to one issued at a Caixa branch in Copacabana, and it will serve you the same at the cartório when you sign your deed.
How to get a CPF from abroad: step by step
This is the route I steer most foreign buyers toward, because it removes the CPF from your critical path entirely. By the time you are viewing apartments, it is already done. Here is the sequence.
- Go to the Receita Federal website and open the CPF registration for people abroad. The form is in Portuguese; a browser translator handles it fine.
- Fill in your details exactly as they appear on your passport: full name, date of birth, mother's full name, nationality, and country of residence.
- Submit the form. The system generates a request that must be validated by the Brazilian consulate or embassy responsible for your area.
- Contact that consulate. Many publish a CPF page telling you whether to email a scanned passport, book an appointment, or mail documents. Follow their exact checklist.
- Wait for validation. Once the consulate confirms your identity, your CPF number is issued and you are told what it is.
- Save the number and, if offered, download the comprovante (the printable proof of registration). Store both somewhere safe.
Tip: match your passport exactly
The single most common cause of delays is a name mismatch. If your passport shows a middle name, use it. If your mother's name has an accent, include it. The Receita Federal cross-checks these fields, and a tiny inconsistency can bounce the whole request back to the start. Type slowly and copy straight from the passport's data page.
Consular practice varies from country to country. Some Brazilian consulates turn CPF requests around in a single business day by email; others ask for an appointment and take a week. There is often no fee, or only a small nominal one. Check the website of the specific consulate that covers your city, because a consulate in one country may run its CPF process differently from another. When in doubt, the consulate's own instructions override any general advice, including mine.
A practical wrinkle: consulates serve fixed jurisdictions, so you cannot simply pick the one with the shortest queue. If you live in, say, the western United States, you are routed to the consulate that covers your state, not whichever one you would prefer. Find the right jurisdiction first, read that office's CPF page, and follow it to the letter. Because the number is validated remotely, there is no benefit to waiting until you arrive in Brazil if you have the option to do it from home. The earlier it is done, the fewer moving parts you juggle once you are on the ground and racing toward a closing date.
How to get a CPF in Brazil: step by step
Already landed? Maybe you decided to buy while you were here on holiday, wandered down to Ipanema, and fell for the place. No problem. The in-country route is quick once you know the trick, which is that you go to a bank or post office first, not to a tax office.
- Optional but smart: pre-fill the request on the Receita Federal website to speed things up at the counter.
- Go to a partner branch: Banco do Brasil, Caixa Econômica Federal, or a Correios (post office). Any city has these; in Rio they are everywhere.
- Tell the clerk you want to register for a CPF ("fazer o CPF"). Hand over your passport.
- Pay the small nominal fee if the counter charges one. It is typically a few reais.
- The clerk enters your data into the Receita Federal system. You receive a receipt with a protocol number.
- Collect your CPF. In straightforward cases it is issued the same day; you may be able to look it up online immediately using your details.
- If the partner cannot complete it (a data mismatch, say), they refer you to a Receita Federal office to finalize in person.
Warning: bring the physical passport
A photo of your passport on your phone is not enough at the counter. Bring the actual booklet. Some clerks also like to see your entry stamp or proof of legal entry, so keep your immigration record handy. A little over-preparation saves a second trip across town.
One language note: front-line clerks at banks and post offices often speak little or no English. Nothing about the process is hostile, but it is transactional and fast. It helps enormously to bring a Portuguese-speaking friend, a bilingual broker, or even a translation app open and ready. If you are working with a local buyer's agent, this is exactly the kind of errand they run with clients all the time, and a good one will simply come with you and translate at the counter.
Go early in the day if you can. Brazilian banks and post offices get busy, and CPF registration is not always the fastest thing on a clerk's list, so a mid-morning visit beats a lunchtime one. Bring a pen, write your details out in advance exactly as they appear on your passport, and have your mother's full name ready, because that field surprises a lot of first-timers who have never had to recite it on a government form before.
What documents you actually need
People expect a mountain of paperwork. It is genuinely modest. The CPF is designed to be easy to obtain precisely because Brazil wants everyone, residents and non-residents alike, inside the tax net. Here is the realistic list.
| Document | Consulate (abroad) | In Brazil (partner counter) |
|---|---|---|
| Valid passport | Required | Required |
| Completed CPF form | Required (online) | Recommended (online) or done at counter |
| Mother's full name | Required on the form | Required on the form |
| Proof of address | Sometimes, per consulate | Usually not needed |
| Proof of legal entry to Brazil | Not applicable | Sometimes requested |
| Small fee | Often free / nominal | Small nominal fee |
Notice what is not on that list: no visa, no residency permit, no Brazilian address, no local phone number, no notarized anything. You do not need a lawyer to get a CPF. You will likely want a lawyer for the property purchase itself, and we explain why in the main buying guide, but the CPF is a solo, do-it-yourself task for almost everyone.
If your passport is close to expiry, renew it before you start. Because the CPF ties itself to your identity through the passport, some buyers prefer to get a fresh passport first so that their travel document and their Brazilian records are aligned for years to come. It is not strictly required, but it saves headaches if you end up updating your CPF record later to match a new passport number.
Worked example: a couple buying together
If you and a partner are buying jointly, each of you needs your own CPF. There is no such thing as a shared or household CPF; it is strictly individual, one number per person. So a married couple purchasing an apartment in Leblon under both names will appear on the deed and the matrícula with two separate CPFs. Budget the time to get both, and do them in parallel, not one after the other.
Cost and turnaround: what to really expect
This is the good news section. The CPF is one of the cheapest things you will ever pay for in a Brazilian property purchase, and among the fastest to obtain. Compared with the transaction costs waiting for you later, it barely registers.
The fee, where there is one, is a small nominal charge, often just a handful of reais at a partner counter. Many consulates charge nothing at all. Turnaround ranges from same-day to a few days, depending on the route and how clean your data is. Put that next to the real money in a Rio purchase, where closing costs run roughly 4 to 6 percent of the price, and the CPF is a rounding error. The number is eleven digits, it lasts a lifetime, and it costs you almost nothing.
| Item | Rough cost | When you pay |
|---|---|---|
| CPF | Free to a few reais | Before anything else |
| ITBI (transfer tax, city of Rio) | 2% of price | Before the deed is signed |
| Notary (cartório) fees | ~0.5%–1% | At the deed |
| Registry (Registro de Imóveis) fees | ~0.3%–0.7% | At registration |
| Lawyer (optional, recommended) | ~1%–2% | During the purchase |
So the CPF costs you essentially nothing, then it becomes the prerequisite for spending real money. That 2 percent ITBI in the city of Rio, for example, cannot be paid, and the deed cannot be signed, until your CPF is on file. For a fuller breakdown of the transaction math, see our companion piece on the real cost to buy an apartment in Rio, and factor the CPF in as step zero of that spreadsheet.
Everything expensive in a Rio purchase waits on the cheapest document of all. Get the CPF first and the rest of the timeline opens up.
BuyInRio
Because the CPF costs so little and lasts forever, there is no downside to getting it before you are certain you will buy. Plenty of foreigners obtain a CPF simply to keep their options open, or to open a local account and start moving money at a favorable exchange rate while they shop. The Real has traded in a range that has often worked in the favor of dollar, euro, and pound buyers, and having your CPF and bank account ready means you can act quickly when both the right apartment and the right exchange rate line up. Waiting to set up the paperwork until after you have an accepted offer is how buyers miss windows.
CPF vs. other Brazilian numbers you might hear about
Brazil has an alphabet soup of registrations, and foreigners often confuse them. Getting the CPF sorted is the main event, but it helps to know how it sits next to the others so you do not chase documents you do not need. Here is the plain-English version.
CPF is for individuals
The CPF identifies a natural person. You, as a human buyer, get a CPF. If you buy in your own name, which is by far the most common route for foreigners, the CPF is all the tax ID you need on the ownership side of the deed.
CNPJ is for companies
The CNPJ (Cadastro Nacional da Pessoa Jurídica) is the equivalent number for a legal entity, a company. Some investors buy Brazilian property through a company rather than in their personal name, for estate-planning or liability reasons. That is a genuine strategy with real trade-offs, and it is worth weighing carefully with a professional. The point for now: if you buy personally, you need a CPF; if you buy through a Brazilian company, that company needs a CNPJ, and you as its representative still need a CPF.
RNM / residency documents are separate again
If you become a legal resident, you receive a migration registration and a foreigner ID document. That is a residency artifact, not a tax ID, and it does not replace the CPF. Plenty of non-resident foreigners own Rio apartments with only a CPF and no residency document at all, because owning property never required residency in the first place. Do not let anyone tell you that you must "get residency first." You do not.
Tip: keep the roles straight
CPF = you, the person, for tax and civil life. CNPJ = a company, if you use one. Residency documents = the right to live in Brazil, a separate process entirely. For a straightforward personal purchase in Rio, the CPF is the only one of the three you must have.
There is one more reason to understand the difference. When you eventually sell, or when you declare rental income, the tax treatment can hinge on whether the property sits in your personal name (attached to your CPF) or inside a company (attached to a CNPJ). Non-residents selling Brazilian property are taxed on the gain, with rates that have ranged depending on the size of the gain, and residents follow their own progressive schedule. Rental income earned in Brazil is taxable in Brazil regardless of where you live. None of that changes how you get the CPF, but it is a good reminder that the number you are registering today is the same one your future accountant will use to file for you. Set it up cleanly now, with your name spelled consistently, and you save your future self real friction. When the time comes, a Brazilian accountant (contador) will use exactly this number to sort out what you owe and any treaty relief you may qualify for.
What to do once you have your CPF
The number arrives and it feels anticlimactic, just eleven digits on a screen. But this is the moment your Brazilian purchase actually becomes possible. Here is the order I suggest handling things next.
1. Store it safely and confirm your status
Save the number, save the comprovante (proof of registration), and photograph both. You will type this number constantly, so it is worth memorizing. Also confirm your status shows as "regular" on the Receita Federal's CPF lookup tool; a status of anything other than regular can quietly block transactions, and it is far easier to fix a flag now than the week you are trying to close.
2. Open a Brazilian bank account
With the CPF in hand, a local bank account becomes possible, and it makes paying ITBI, condominium fees, and utilities far smoother. Some banks are more foreigner-friendly than others, and requirements vary. I would treat this as your very next task after the CPF, because so much of the purchase flows through a local account.
3. Register your incoming money with the Central Bank
This one is easy to overlook and painful to fix later. When you bring purchase funds into Brazil through a bank or authorized FX firm, that inbound foreign investment should be registered with the Central Bank (Banco Central). Doing it properly is what lets you repatriate your sale proceeds and remit rental income abroad down the line. Your CPF is part of how that money is tied to you. Keep every receipt and every confirmation.
Tip: use the same name everywhere
Your CPF, your bank account, your Central Bank money registration, and eventually your property deed should all carry an identical version of your name. Consistency here prevents mismatches that can stall a closing or a future sale. If your passport uses a middle name, use it on all of them, every time.
From here, the property path is the familiar one: pick a neighborhood, work with a CRECI-registered broker, run your due diligence on the matrícula and certidões, sign the escritura at the cartório, and register the deed at the Registro de Imóveis so the ownership actually transfers onto the property's master record. Remember that in Brazil ownership passes when the deed is registered on the matrícula, not when the money moves. Browse live listings on our property map whenever you are ready to start looking, and read up on how ongoing costs like IPTU and condomínio work in our cost of living guide.
Common CPF mistakes foreigners make
The process is simple, but I still see the same handful of avoidable errors over and over. Sidestep these and you will breeze through.
- Leaving it to the last minute. The CPF is fast, but if it snags on a data mismatch you lose days you did not budget. Do it early.
- Typos against the passport. A missing middle name or a dropped accent is the number-one cause of rejection. Copy the passport exactly.
- Assuming a photo of the passport is enough. At in-country counters, bring the physical booklet.
- Thinking one CPF covers a couple. It is one number per person, always. Joint buyers each need their own.
- Believing a CPF equals residency or a tax bill. It does not. It is just an ID. Residency is a separate process with separate rules.
- Losing the comprovante. Save the proof of registration; you will be asked for it when opening accounts and signing contracts.
- Letting the status lapse. Check that your CPF shows as regular; an irregular status can silently block transactions.
Warning: the CPF is not a residency shortcut
A surprising number of buyers assume that once they have a CPF and an apartment, they can live in Brazil full time. Not so. Owning property and holding a CPF do not grant the right to reside. If you want to actually move, look at the investor, digital nomad, or retirement routes in our visas and residency guide. The CPF supports those applications, but it is not one of them.
One more, because it matters for peace of mind: guard the number the way you would a Social Security number. It is tied to your Brazilian credit history, your tax filings, and your property records. It is used openly in daily life, so total secrecy is neither possible nor expected, but you should still be sensible about who you hand it to and why. Legitimate parties who will ask for it include your broker, your lawyer, the notary, the bank, and the utility companies. If someone unexpected asks for it, pause and ask why.
Your next steps after the CPF
Let's put it all together. Getting a CPF as a foreigner is genuinely one of the easiest parts of buying in Brazil, which is a relief, because it is also the first. Do it from your home country at a Brazilian consulate if you can plan ahead, or knock it out at a Banco do Brasil, Caixa, or post office counter once you are in Rio. Either way, bring your passport, match your details exactly, pay the small fee if there is one, and walk away with the eleven digits that unlock everything else.
From there the road is well worn: open a bank account, register your incoming funds with the Central Bank, choose a neighborhood, hire a CRECI-registered broker, run your due diligence, and sign at the cartório. If you want a human to walk you through the sequence for your specific situation, reach out through our contact page and we will point you in the right direction. And if you are still deciding whether Brazil is even open to you as a buyer, start with can Americans buy property in Brazil, or the UK and EU versions, all of which confirm the same thing: yes, and the CPF is where it begins.
Quick recap checklist
1) Decide your route (consulate abroad vs. in Brazil). 2) Fill the Receita Federal form, matching your passport exactly. 3) Validate at the consulate, or visit a partner bank or post office. 4) Save your CPF number and comprovante. 5) Confirm your status is regular. 6) Move on to your bank account, your money transfer, and your purchase.
This article is general information for foreign buyers, not legal, tax, or financial advice. Rules, fees, and procedures change, and every buyer's situation is different. Confirm the current CPF process with the Receita Federal or your Brazilian consulate, and consult a qualified Brazilian lawyer and accountant (contador) before acting on anything here.
Frequently asked questions
Can I get a CPF without visiting Brazil?
Yes. You can register for a CPF entirely from abroad through the Receita Federal website, with your application validated by the Brazilian consulate or embassy that serves your area. Many consulates handle it by email, so you may never visit in person. You will have a valid CPF number before you ever set foot in Brazil.
How much does a CPF cost for a foreigner?
Very little. At a Brazilian consulate it is often free or a small nominal fee. At a partner bank or post office inside Brazil, expect a small nominal charge, typically only a few reais. Either way, it is one of the cheapest steps in the entire property-buying process.
How long does it take to get a CPF?
Turnaround ranges from the same day to a few days. In straightforward cases at a bank or post office in Brazil, you may receive the number immediately. Consulate processing varies by country, from a single business day to about a week. The main cause of delay is a mismatch between your form and your passport.
Do I need a CPF to buy property in Brazil?
Yes, absolutely. The notary cannot draft your public deed (escritura) and the real-estate registry cannot record you as the owner without a CPF. It is the first document every foreign buyer needs, before opening a bank account or transferring funds. No CPF means no purchase.
Does having a CPF give me residency or a visa?
No. A CPF is only a tax identification number. It does not grant residency, a visa, or the right to live in Brazil, and it does not create a tax obligation by itself. Residency is a separate process. If you want to move to Brazil, look at the investor, digital nomad, or retirement visa routes.
What documents do I need to apply for a CPF?
Mainly your valid passport and a completed CPF form that includes your full name, date of birth, and your mother's full name. Consulates may ask for proof of address, and in-country counters sometimes want proof of legal entry. You do not need a visa, a Brazilian address, or a lawyer to get a CPF.
My spouse and I are buying together. Do we each need a CPF?
Yes. The CPF is strictly individual, one number per person, and there is no shared or household version. If both names go on the deed and the property's matrícula, each person needs their own CPF. Apply for both in parallel to save time.
What should I do right after getting my CPF?
Save the number and the comprovante (proof of registration), and confirm your status shows as regular on the Receita Federal lookup tool. Then open a Brazilian bank account, and when you bring purchase funds in, have that inbound investment registered with the Central Bank so you can repatriate proceeds and rental income later.
Thinking about buying in Rio?
Get free, no-obligation guidance from a Rio property specialist — neighborhoods, prices and next steps for your budget.
Talk to a specialistThis article is general information for foreign buyers, not legal, tax or investment advice. Rules, rates and prices change — always confirm the details of your own situation with a qualified Brazilian lawyer (advogado) and accountant (contador) before you buy.