CPF — the tax number
How a foreigner gets a CPF: the free route, documents, steps, and pitfalls with a SIM card and banks.
CPF (Cadastro de Pessoas Físicas) is a personal tax number kept by the Receita Federal, Brazil's tax authority. You can hardly do anything in Brazil without it: a SIM card, a bank account, a rental, food delivery, even ordering a taxi. It is the first document worth getting after you arrive.
Checked on 8 October 2026. Rules and websites change: check the links at the end before you go.
In short
- Any foreigner can get a CPF, with or without a residence permit.
- Through the Receita Federal (tax service) website and its offices it is free. At "conveniado" points (a partner network) the fee is R$ 7.00.
- You need a passport. Middlemen are not required.
- The real-life route: fill in the online form, get a protocol number, show the protocol and your passport at the office.
What you need
According to the service page on gov.br:
- An official photo ID. For a foreigner, that is the passport.
- A birth or marriage certificate (a foreign equivalent works), only if your photo ID does not show your place of birth, your parents' details or your date of birth.
- The staff member may ask for extra papers on the spot.
For a child: the birth certificate or the child's photo ID, plus a photo ID of a parent (guardian) and a document proving guardianship if someone other than a parent applies.
Step by step (you are already in Brazil)
- Fill in the form "Inscrição de estrangeiro no CPF" on the Receita Federal website (link in the sources). Turn off your pop-up blocker, otherwise the form will not submit. Enter your details exactly as written in your passport.
- Save the protocol number (or print the form).
- Bring the protocol and your documents to a Receita Federal office or a conveniado point. The list of points and opening hours is on the website: it depends on the city.
- Get your number. You can follow the progress of your application on the "Consulta de andamento do pedido" (opens in a new tab) page.
If you are still abroad
A foreigner has to book an appointment at the Brazilian consulate or embassy for their place of residence through the e-consular system. The official gov.br page "Inscrever no CPF no exterior" confirms only this: foreigners apply in person at a consular post.
- Fill in the form on the Receita Federal website and save the protocol.
- Book an appointment at the consulate through e-consular.
- Bring the form protocol, a passport, a photo and a birth certificate to the appointment.
The Receita Federal e-mail address for requests from abroad is listed on the same page for Brazilian citizens. According to people who moved, in-person applications have been available since September 2023, and before that an e-mail was enough for foreigners. The official page does not confirm this.
How long to wait
According to people who moved, the timing depends on the office: from the same day to 5 working days. Sometimes the number is issued at the appointment immediately, and sometimes it arrives by e-mail at the address from the form. Write your full name and e-mail address legibly: a mistake means extra visits.
Pitfalls
- Check your number in the Receita Federal public lookup: if it shows as active, the problem is in the carrier's or bank's database, not in your application.
- When you move to a new address, update your details with the Receita Federal.
- A bank will almost certainly ask for the RNM too: see RNM / CRNM.
- Update your CPF record after you get residence: see the section below.
- Giving your CPF at a shop or pharmacy will not speed up the update: the number only goes into the shop's loyalty programme. The "ativo/regular" status in the public lookup only says the CPF is not blocked, not that the record has been updated.
- If someone asks for your CPF "as a document" rather than a number: the Receita Federal now sends only the number, and a PDF confirmation is generated in its "Impressão do Comprovante" service (link below). The plastic CPF card is no longer issued, and the printout and the digital version in the apps carry equal weight.
After you get residence: update your CPF
In the Receita Federal database you stay a tourist until you report the new status yourself, and banks or carriers refuse for exactly that reason. According to people who moved, after the update the systems pick up the data in about 5–7 days. There are two routes, both through the gov.br service "Atualizar Cadastro de Pessoas Físicas".
Route 1: by e-mail, no visit
- Fill in the "Alterar dados cadastrais no CPF" request on the Receita Federal site and save the protocol as a PDF. The protocol is optional but makes it faster.
- Find the Receita address for your state. It is
[email protected], whereNNis the region number: 01 DF, GO, MT, MS, TO; 02 AC, AM, AP, PA, RO, RR; 03 CE, MA, PI; 04 AL, PB, PE (Recife), RN; 05 BA, SE; 06 MG; 07 ES, RJ; 08 SP; 09 PR, SC; 10 RS. The current list is on the "Como enviar documentos por e-mail" page, linked in the sources. - Attach a scan of the RNM, a selfie holding the RNM next to your face (the card fully visible, otherwise two photos: front and back) and proof of address. With no lease or utility bill, just give the full address in the message.
- State that the CPF was issued while you were a tourist and that you later got the RNM or changed address: it helps Receita decide what to do.
- Send the e-mail. If approved, the reply arrives by e-mail.
Route 2: in person
- Book an appointment at a Receita Federal office.
- Bring an ID document, the RNM (or the PF protocol) and proof of address, such as a lease.
CPF on the receipt: "Quer colocar CPF na nota?"
At the till and at the petrol station you are often asked whether to put your CPF on the receipt. The tax office is not watching you: this is how the state monitors sellers, and you get bonuses. In Rio state the accumulated cashback can be set against the IPTU property tax, but only in September (registration on the Nota Carioca portal); in São Paulo state it goes towards an IPVA discount (NFP portal), and Paraná has its own Nota Paraná programme. Each state has its own rules.
Sources
- Inscrever Cidadão no CPF — gov.br (opens in a new tab): cost, channels, documents
- Inscrever no CPF no exterior — gov.br (opens in a new tab)
- Form "Inscrição de estrangeiro no CPF" — Receita Federal (opens in a new tab)
- Public status lookup — Receita Federal (opens in a new tab)
- Application progress lookup — Receita Federal (opens in a new tab)
- Atualizar Cadastro de Pessoas Físicas — gov.br (opens in a new tab)
- Como enviar documentos por e-mail — Receita Federal (opens in a new tab): e-mail addresses by state
- CPF registration printout — Receita Federal (opens in a new tab)
- Obter cartão de CPF — gov.br (opens in a new tab): the plastic card is no longer issued
Exchange rates: fawazahmed0/exchange-api, Rates By Exchange Rate API