Visas and Residency
NIF for the digital nomad visa (D8): the remote worker’s first step
Remote work has a paperwork order, and Portugal’s digital nomad visa is no exception. Long before you choose a neighbourhood or a coworking desk, the D8 file asks for Portuguese foundations: a bank account in Portugal, evidence of somewhere to live, and forms that carry a Portuguese tax number. That number, the NIF, is where the application really starts. This guide explains where the NIF fits in a D8 application, the order the steps usually run in, and how the D8 differs from its better known cousin, the D7. It covers the tax number side only, in general terms.

The short answer
For a D8 application, the NIF comes first. The file typically involves a Portuguese bank account, accommodation evidence in Portugal and Portuguese paperwork, and all of it is arranged against your Portuguese tax number, so remote workers get the number from home, before the consulate appointment. The consulate does not issue it: the NIF comes from Finanças, the Portuguese tax authority, and applicants living outside the EU and EEA apply through a fiscal representative in Portugal. Sort the number early and the rest of the file can be built on it.
- Bank account, accommodation evidence and appointment all sit behind the number, so it goes first.
- You apply from your home country as a non-resident, using a fiscal representative if you live outside the EU and EEA.
- One number covers the visa file, the residence permit and your working life in Portugal. It never changes.
What the D8 visa is, in general terms
The D8 is Portugal’s residence visa for remote workers: people employed by a company outside Portugal, or freelancing and contracting for clients outside Portugal, who want to live in Portugal while keeping that foreign work. You apply at the Portuguese consulate, or the visa centre serving applicants, in the country where you live. If the visa is granted, you travel to Portugal and complete the residence permit stage with AIMA, Portugal’s agency for integration, migration and asylum.
That short description is as far as this guide goes on the visa itself, deliberately. The detailed rules, document lists and fees belong to the authorities, they change, and the consulate handling your case applies them. What stays constant is the practical sequence underneath, and that sequence begins with a tax number.
D8 or D7: two different income stories
Readers often meet the D8 and the D7 in the same search results, and the two are easy to confuse. The honest dividing line is the kind of income. The D7 is built for passive income: pensions, rents, dividends and savings that arrive whether or not you work. The D8 is built for active income from remote work: a salary from a foreign employer, or fees from foreign clients you serve online. Same country, same tax number at the start, different story about where the money comes from. If your income is passive, our guide to the NIF for the D7 visa covers that route in full.
Why nomads sort the NIF before the appointment
A D8 file is assembled from two countries at once: your work evidence comes from home, and your Portuguese evidence comes from Portugal. The Portuguese side is where the NIF does its work. The file typically involves a Portuguese bank account, and a Portuguese bank records your NIF when the account opens, so the account step waits on the number. Our guide to whether you need a NIF first or a bank account first explains that order, and remote workers meet it at the very start of their move.
Accommodation evidence works the same way. The file typically shows somewhere to live in Portugal, which might begin as a long booking and become a rental contract, and a Portuguese lease is drawn up with the tenant’s NIF on it. Add the application forms and declarations, each with its space for the tax number, and the pattern is the same one every visa applicant meets: the NIF is not a box to tick at the end. It is the piece the other pieces attach to.
So nomads who have done this before work in a particular order: number first, from home, while the timeline is still relaxed, then the account, the accommodation and the evidence on top of it. Our step by step guide to getting a Portuguese NIF from outside Portugal shows the remote application itself.

The D8 sequence, in the order it usually runs
Consulates publish their own lists and the details vary, so treat this as the general shape rather than a checklist for your case. In that shape, a D8 application usually moves through six stages:
Get the NIF from home
The tax number comes first, arranged from your country of residence while you are still living there.
Open a Portuguese bank account
The bank records your NIF as the account opens, and the account supports the Portuguese side of the file.
Line up accommodation evidence
Evidence of somewhere to live in Portugal, from a long booking to a rental contract drawn up against your NIF.
Gather work and income evidence
Employment or contract evidence and proof of remote work income, in the form your consulate asks for.
Attend the consulate appointment
Submit the file at the Portuguese consulate or visa centre in your country of residence.
Travel, then the AIMA appointment
With the visa granted, travel to Portugal and attend AIMA for the residence permit stage.
Read the sequence backwards and the timing lesson appears: stages two and three cannot properly start until stage one is finished. A nomad who leaves the NIF until the appointment is close can watch the account opening and the accommodation evidence queue up behind a single number. The number itself is quick to arrange from home. It is the queue behind it that takes the time.
Income evidence, and the figure this guide will not quote
Because the D8 is a remote work visa, income evidence sits at its centre: the employment contract or client contracts, and records showing the income they produce, presented as your consulate asks. One thing this guide will not give you is the minimum income amount. That is deliberate, and it protects your application. The D8 income requirement is tied to multiples of the Portuguese minimum wage, and the minimum wage changes, so a euro figure printed in a guide quietly goes out of date, and planning around a stale figure can sink an otherwise sound file.
For the current requirement, go to the source: the consulate or visa centre handling your application, and the official Portuguese government information for visa applicants, checked close to when you apply. This guide can be exact about the tax number, and it stays exact by refusing to guess at the rest.
You apply as a non-resident, so the representative route applies
At the moment you need the NIF, you are living outside Portugal, which makes you a non-resident in Finanças terms. Applicants living in the EU and EEA can register with a European address. Applicants living elsewhere generally apply through a fiscal representative in Portugal, who files for the number and receives tax post on their behalf. Our guide to getting a NIF without a fiscal representative explains who needs one and who does not, and our guide to what a fiscal representative does explains the role itself.
The representative does not vanish when the visa arrives. They stay on your Finanças record until you are living in Portugal and registered at your own Portuguese address, when the arrangement is reviewed, as our guide to needing a fiscal representative after you move explains. Think of representation as scaffolding: essential while the file is being built from abroad, and removable once your own address in Portugal is standing.
Working life once you are resident
Once the residence permit is in place, the NIF stops being visa paperwork and becomes your everyday working number. It sits on your Portuguese bank account, your lease, your utilities and your tax record. If you invoice for your work, freelancers in Portugal generally invoice through the recibos verdes system, the official green receipts route, and your NIF is the number on every receipt. How invoicing interacts with your own tax position is a separate topic with real consequences, so take proper tax advice for your situation rather than treating any guide as a manual.
One more number usually follows later. Social security in Portugal runs on the NISS, a separate number that arrives through employment or registration once you are resident and working here, not through the visa file. Our guide to NIF vs NISS vs SNS number keeps the three numbers straight, so you know which one a form is asking for and why.

The visa is not your tax position
A D8 visa gives you the right to live in Portugal while you work remotely. It does not, by itself, settle where you are tax resident. Visa status and tax residency are separate systems with separate tests, and spending most of the year in Portugal generally has tax consequences that your arrangements in your home country need to account for, which is why D8 movers usually plan the two tracks side by side. Holding a NIF does not make you tax resident either: the number is identification, nothing more. Our guide to NIF and tax residency and the 183-day rule explains the separation in general terms.
Common confusions
- I will land first and sort the NIF afterwards. You can get a NIF in Portugal, but the D8 file is built before you travel: the bank account and accommodation evidence behind it are arranged from home. Landing first usually means rebuilding the timeline under pressure.
- The D8 is a way to live in Portugal on a tourist stay. It is not. The D8 is a residence visa applied for in your country of residence before you move. A tourist stay is a visit, with its own limits, and it is not a stage of the D8 process.
- Getting a NIF makes me tax resident in Portugal. It does not. The NIF is an identification number that residents and non-residents alike hold. Tax residency turns on separate tests, such as the days you spend in Portugal and where your habitual home is.
This guide is general information about where the NIF fits in a D8 application. It is not immigration or tax advice. Visa rules, document lists and income requirements change, and they are applied by the consulate that handles your case: check the current official requirements for your consulate before you apply, and take advice from a Portuguese immigration lawyer for the visa itself.
Frequently asked questions
Start your D8 file with the number everything asks for
Apply in 5 minutes from your sofa, see your full price before you submit, and let us deal with Finanças for you. A NIF through this service costs €99 Standard or €145 Urgent per person, with fiscal representation included for the first 6 months and renewal afterwards at €99 per year, cancel anytime. Your official NIF arrives by email, ready for the bank account, the accommodation evidence and the consulate file.