Visas and Residency
NIF for the D7 visa: why your application starts with a tax number
Most D7 applications do not really begin at the consulate. They begin weeks or months earlier, at a desk at home, with a nine digit Portuguese tax number. The D7, Portugal’s passive income visa, is applied for in your country of residence, and the file the consulate expects typically rests on Portuguese foundations: a bank account opened and funded in Portugal, and accommodation arranged there. All of it asks for a NIF. This guide explains where the tax number fits in a D7 application, the order the steps usually run in, and the points that catch applicants out. It covers the NIF side only.

The short answer
Your D7 application starts with a NIF. The D7 file typically includes a Portuguese bank account opened and funded, accommodation evidence in Portugal, and forms and contracts that all ask for a Portuguese tax number, so applicants get the number first, from home, often months before they travel. The consulate does not issue it: the NIF comes from Finanças, the Portuguese tax authority, and non-EU/EEA applicants apply through a fiscal representative in Portugal. Get the number early and the rest of the file has something solid to stand on.
- The NIF comes before the bank account, the lease and the appointment, not after them.
- You apply for it from home, while you are still a non-resident, through a fiscal representative if you live outside the EU and EEA.
- The same NIF follows you through the visa, the residence permit and your life in Portugal. It is issued once and never changes.
What the D7 visa is, in general terms
The D7 is Portugal’s residence visa for people who live on passive income: retirees drawing pensions, and people whose income comes from savings, rents, dividends or similar sources rather than from a Portuguese job. It is the route many people mean when they talk about retiring to Portugal. You apply at the Portuguese consulate, or the visa centre that serves applicants, in the country where you live, and 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 is the shape of it, and this guide deliberately stays at that level. Visa categories, document lists, fees and processing are set by the authorities and change over time, and the consulate that handles your file is the source that matters for your case. What does not change is the practical order of the paperwork, and that order starts with a tax number.
Why the NIF comes before the visa appointment
Look at what a D7 file usually has to show, and the position of the NIF explains itself. The file typically includes a Portuguese bank account in your name, opened and funded. A Portuguese bank records your NIF when it opens the account: without the number, this step cannot properly start. Our guide to whether you need a NIF first or a bank account first walks through that order in detail, and D7 applicants meet it earlier than almost anyone.
The same is true of accommodation. The file typically includes evidence of somewhere to live in Portugal, often a rental contract, and a Portuguese lease is drawn up with the tenant’s NIF on it. Landlords and lawyers ask for the number as a matter of routine. Add the forms and declarations that run through the file, each with a space for the tax number, and the pattern is clear: the NIF is not one item on the D7 list. It is the key that unlocks several of the others.
So experienced applicants work backwards: they get the NIF first, while there is no deadline pressure, and build the bank account, the lease and the evidence on top of it.

The D7 sequence, in the order it usually runs
Every consulate publishes its own list, and the details vary. In general terms, though, a D7 application usually moves through the same six stages, and the NIF sits at the front of the queue:
Get your NIF from home
The tax number comes first, arranged from your country of residence, often months before you travel.
Open and fund a Portuguese bank account
The bank records your NIF as the account opens, and the D7 file typically shows the account funded.
Arrange accommodation evidence
A rental contract or other evidence of somewhere to live in Portugal, drawn up against your NIF.
Gather your income evidence and the rest of the file
Pension, savings, rent or dividend evidence, plus the other documents 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.
Notice what the sequence means in practice: stages two and three cannot properly begin until stage one is done. An applicant who leaves the NIF to the week before the appointment can find the bank account, the funding evidence and the lease all waiting on a single number. The number itself is quick to arrange from home. It is the queue behind it that takes the time.
You apply as a non-resident, so the representative route applies
When you apply for a D7, you are living outside Portugal, which makes you a non-resident in Finanças terms at the moment you need the number. Applicants living in the EU and EEA can register with a European address. Applicants living elsewhere generally need a fiscal representative in Portugal to apply and to receive tax post on their behalf, which is the standard route our guide to getting a NIF from outside Portugal describes step by step, and our guide to getting a NIF without a fiscal representative explains who needs one and who does not.
The representative is not a visa formality that ends at the airport. They stay on your Finanças record, receiving your tax post, until you are living in Portugal and registered at a Portuguese address, when the arrangement can be reviewed, as our guide to needing a fiscal representative after you move explains. For a D7 move, think of the representative as a bridge, holding your Portuguese tax post until your own address in Portugal takes over.
Couples and families: two names, two numbers
D7 moves are very often made by couples, and the NIF rule for couples is simple: each adult needs their own number. The joint bank account the file rests on is opened in both names, and the bank records a NIF for each holder. A lease names both partners, each with their number, and the consulate file identifies each applicant by their own tax number. There is no such thing as a shared or household NIF.
The practical answer is to apply together, in one family application, so both numbers arrive on the same timetable and the bank and lease steps are never waiting on one missing half. Our guide to getting a NIF for your children and family covers the family side, including children, and when a family applies together through this service, the family discount applies to the NIF fees.
Income evidence, and the threshold this guide will not quote
The D7 turns on passive income, so income evidence sits at the heart of the file: pension statements, savings records, rental income, dividends, presented in the form your consulate asks for. One thing this guide will not do is quote you the minimum income figure. That is deliberate. The D7 income threshold is tied to the Portuguese minimum wage, and the minimum wage changes, so any euro amount printed in a guide like this one quietly goes out of date, and an out of date threshold can mislead an application by a wide margin.
For the current figure, go to the source: the Portuguese consulate or visa centre handling your application, and the official Portuguese government information published for visa applicants. Check it close to the date you apply, not from a blog post written in a different year. This article’s job is the tax number, and on that we can be exact.

After the visa: the same NIF, a new chapter
A granted visa is not the end of the paperwork. You travel to Portugal and attend the residence permit stage with AIMA, and the permit file uses the same NIF you started with. Nothing is reissued and nothing starts again: the number from your first bank account is the number on your residence paperwork, your lease, your utilities and your tax record. This is why getting it right at the start, the exact name as it appears in your passport, matters so much.
Two updates usually follow the move. You register your Portuguese address, and your Finanças record is updated to match, which our guide to updating the address on your NIF covers step by step. And your tax position needs its own thinking: holding a residence permit and being tax resident in Portugal are related but different questions, and our guide to NIF and tax residency and the 183-day rule explains where the line sits. A visa lets you live in Portugal. It does not, by itself, settle your tax status.
Common confusions
- The consulate will give me a NIF. It will not. Consulates handle visas; NIFs are issued by Finanças, the tax authority, and the NIF has to exist before parts of the visa file can be built.
- The NIF is part of the visa fee or the visa process. It is a separate application, made separately, usually before the visa appointment is even booked. Nothing you pay for the visa includes it.
- I will sort the NIF in the last week. It is only a number. It is only a number, and the bank account, the funding and the lease are all queued behind it. The last week is when applicants discover that a quick number can still hold up a slow file. Get it first, while nothing is urgent.
This guide is general information about where the NIF fits in a D7 application. It is not immigration or tax advice. Visa rules, document lists and income thresholds 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 D7 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, the lease and the consulate file.