How to get a CPF in Brazil as a Foreigner
If you are planning to be in Brazil for an extended period of time, you will need a CPF.
What is a CPF (and why you’ll quickly realize you need one)?
A CPF (Cadastro de Pessoas Físicas) is Brazil’s taxpayer identification number that is free to obtain as a citizen or a foreigner. It sounds official… because it is… but in real life, it’s about taxes and being able to function normally while you’re here, more seamlessly.
It is needed for a lot of everyday things like online purchases, booking bus tickets, getting a Brazilian phone number, opening a bank account, and even making reservations in some places.
There are places where you are asked for a CPF and you can opt out or try to bypass it… but honestly, it gets annoying very quickly. You’ll hit a point where you’re tired of not being able to check out online or having your card declined for something simple.
After being inconvenienced multiple times online, I decided to just go ahead and get one… and I’m glad I did.
Benefits of having a CPF (especially if you’re staying longer-term)
Once you have it, things just move differently for you here.
You can actually complete online purchases without getting stuck halfway through checkout. You can use local payment methods like PIX more easily (because you’re able to get a phone number and bank account). You can get a Brazilian SIM card without jumping through extra hoops. You can open accounts, sign up for services, and overall just exist in the system without constantly being blocked or inconvenienced to find a way around it.
If you’re planning to be in Brazil for more than a short trip, this is one of those things that saves you time, stress, and unnecessary friction.
How to apply for a CPF (online or in person)
You can submit a CPF application online or in person at a Receita Federal location.
If you want to apply online, you can use this official link, it costs like $12 Brazilian reals to apply online:
I got mine while I was in São Paulo and decided to go in person, which was free and honestly pretty straightforward.
If you go in person, you will need to go to a local Receita Federal office. The process is simple, but you do need a little patience because you’ll be waiting your turn.
The main document I used was my passport.
When you arrive, you present your documents and get a number to wait to be serviced. When your number is called, you go to the first attendant and fill out your personal information. That includes your permanent address, your parents’ names and information, your current local address in Brazil, and your residency details.
After that, you meet with another attendant who takes your picture, asks you to verify everything you entered, and then submits your application.
They’ll tell you to expect an email with your CPF number. Some people get it the same day… but don’t count on that.
They told me 8 days and I received mine in 3 days via email.
If you want to see the process visually, I documented it in a reel here:
One thing people don’t talk about: you have to keep it active
This part is important and a lot of people miss it.
Your CPF needs to be kept active, and that usually means making sure your information is updated and, in most cases, renewing or revalidating it annually depending on your status as a foreigner.
If you don’t keep it active, it can become irregular, and then you’re right back to having issues when trying to use it.
Final thoughts
Getting a CPF is one of those small decisions that makes a big difference in your day-to-day life in Brazil. It takes a little time upfront, but it removes a lot of the friction you’ll experience without it.
If you’re serious about staying here, building a routine, or even just making your life easier while traveling… this is something you don’t want to keep putting off.