Buyer's guide

NIF Portugal — Your Tax Number Through the Property Lifecycle

Every guide tells you how to get a NIF. This one tells you what it actually does — from the day you apply to the day you sell.

Updated April 2026
9 Digits
NIF format
Never Expires
Lifetime number
Portal das Finanças
Where you manage it
Every Stage
Buying to selling
Overview

Your NIF in Portugal — More Than Just a Tax Identification Number

The NIF — número de identificação fiscal — is a nine-digit number issued by the Autoridade Tributária e Aduaneira (Portugal's tax authority). Every person who buys, owns, rents out, pays tax on, or sells property in Portugal needs one. It is the single thread that connects you to the Portuguese tax system from your very first viewing to the day you sign the final deed of sale.

Most guides about the Portugal NIF stop at "how to get it." That's about ten per cent of what you actually need to know. Your NIF appears on the purchase contract, every IMI bill, your annual IRS declaration, every rental invoice, and the capital gains calculation when you sell. If you don't understand how it works at each stage, you'll either overpay, miss a deadline, or both.

This guide walks through the full property lifecycle — getting your NIF, using it when buying, managing annual tax obligations, declaring rental income, handling fiscal representation, and what happens when you sell. Whether you are an EU citizen, a non-EU national, or already living em Portugal, everything is covered here.

Step one

Getting Your NIF as a Foreigner in Portugal

Three routes to a NIF, and the documents you need for each one.

Your NIF is the first thing you need. Before you can open a bank account, sign a promissory contract, or pay any tax in Portugal, the system needs a number to attach to your name. The process is straightforward, but the right route depends on whether you are an EU or non-EU citizen and whether you are already in Portugal.

Option 1 — In person at a tax office

Walk into any Serviço de Finanças (local tax office) with your passport, proof of address, and, if you are a non-EU national, your appointed fiscal representative. The tax office will issue your NIF on the spot — the registo usually takes less than thirty minutes. This is the fastest option if you are already in Portugal.

Option 2 — Online via Portal das Finanças

EU citizens and foreign nationals from countries with a tax information exchange agreement can now request a NIF online through the Portal das Finanças (gov.pt). The pedido de NIF online requires a valid passport scan and proof of address in your home country. Processing takes a few working days. Once approved, you receive your NIF by email and can access Portal das Finanças immediately.

Option 3 — Through a fiscal representative or lawyer

If you are not yet in Portugal, a tax representative or lawyer can apply on your behalf at the local Serviço de Finanças. This is the standard route for non-EU foreign citizens who need a representante fiscal before they can receive a NIF. Your representative in Portugal handles the paperwork and sends you the number once the registo is complete.

RouteWho can use itTypical timeCost
In person at tax officeAnyone (non-EU needs fiscal rep present)Same dayFree
Online via Portal das FinançasEU citizens & eligible nationals2–5 daysFree
Through a representativeAnyone (typical for non-EU)1–2 weeks€100–€200

Documents you'll need

Passport (original or certified copy), proof of address in your home country (utility bill or bank statement, less than three months old), and — for non-EU citizens — a signed fiscal representation agreement. EU citizens applying in person need only a passport and a morada (address) to register against the NIF.

EU vs non-EU — the fiscal representative rule

Since 2022, EU and EEA cidadãos are no longer required to appoint a fiscal representative in Portugal, provided they register an EU address and opt into digital notifications on Portal das Finanças. Non-EU foreign citizens who are not tax-resident in Portugal must still appoint a representante fiscal before they can receive a NIF. This is the single biggest difference between the two routes.

Buying property

Your NIF When Buying Property in Portugal

Every document in the purchase process is tied to your NIF.

Your NIF appears on every piece of paper between making an offer and collecting the keys. Understanding where it shows up — and why — helps you avoid delays that can stall a purchase.

Before the purchase

You need a NIF before you can open a Portuguese bank account, which is itself a requirement for completing a property purchase. If you are applying for a mortgage, the bank will tie the loan application to your NIF from day one. Estate agents and lawyers will ask for your NIF at the very first meeting — without it, nothing moves forward.

The CPCV (promissory contract)

The Contrato de Promessa de Compra e Venda — the binding agreement between buyer and seller — includes both parties' NIF numbers. The deposit (usually ten per cent) is recorded against your NIF for tax purposes. If you don't have a NIF at this stage, you cannot sign.

IMT and stamp duty

Before the final deed, you must pay IMT (Imposto Municipal sobre Transmissões Onerosas de Imóveis) and stamp duty (Imposto do Selo). Both are calculated and paid via the Portal das Finanças, linked to your NIF. The tax office issues payment references that your bank or lawyer uses to settle these before the escritura (deed). Without a NIF registered on Portal das Finanças, you cannot generate the payment slips.

The escritura (final deed)

At the notary, the deed records your NIF as the new legal owner. This NIF is what the Conservatória do Registo Predial (land registry) uses to register the property in your name. From this point on, your NIF is permanently attached to the property until you sell it or transfer ownership.

Why your morada matters on the NIF

The address registered against your NIF determines where the Autoridade Tributária sends correspondence — including IMI bills and IRS notifications. If you register your Portuguese property address as your fiscal morada, you are signalling tax residência in Portugal. If you want to remain non-resident, keep your home-country address on the NIF and ensure your fiscal representative (if required) is handling correspondence. Getting the morada wrong is the single most common NIF mistake foreign buyers make.

Annual taxes

Annual Tax Obligations Linked to Your NIF in Portugal

IMI, IRS, and what every taxpayer needs to file each year.

Owning property in Portugal creates annual tax obligations, all managed through your NIF on the Portal das Finanças. Whether you live in Portugal full-time or visit twice a year, the tax authority tracks everything against your número de identificação fiscal.

IMI — annual property tax

IMI (Imposto Municipal sobre Imóveis) is Portugal's annual property tax. Rates for urban properties range from 0.3% to 0.45% of the property's tax value (valor patrimonial tributário), set by each municipality. The bill arrives on your Portal das Finanças account in April each year, and can be paid in one, two, or three instalments depending on the amount. If your IMI is under €100, it is due in a single payment in May. Between €100 and €500, you pay in two instalments (May and November). Over €500, three instalments (May, August, November).

Newly purchased properties may qualify for a temporary IMI exemption if used as your permanent residência and the tax value is below €125,000 (with household income limits). The exemption request is submitted through Portal das Finanças, linked to your NIF.

IRS — income tax for non-residents

Non-residents who own property in Portugal but do not earn Portuguese income generally have no IRS filing obligation. However, if you receive any Portuguese-source income — rental income, capital gains, or other earnings — you must file an annual IRS declaration through Portal das Finanças. The declaration period runs from April to June each year. Your NIF is the login credential for the entire system.

If you are tax-resident in Portugal, you must declare worldwide income through IRS, regardless of whether it originates in Portugal. The NIF ties your global tax position to the português system.

AIMI — additional property tax for high-value portfolios

If the combined tax value of all properties registered to your NIF exceeds €600,000, you may be liable for AIMI (Adicional ao IMI). The rate is 0.7% on the value above the threshold (1% above €1,000,000). AIMI is calculated automatically by the Autoridade Tributária based on the properties linked to your NIF and billed separately from IMI.

Keep your Portal das Finanças access active

Every tax obligation — IMI bills, IRS declarations, payment references, and official correspondence — is delivered through Portal das Finanças. If you lose access to your account or let your password expire, you will miss deadlines. Bookmark portal.portaldasfinancas.gov.pt and check it quarterly at a minimum. Your fiscal representative should also have access if you have one appointed.

Rental income

Declaring Rental Income With Your NIF in Portugal

What changes when your property earns money.

If you rent out your Portuguese property — whether long-term or as a short-term holiday let — your NIF becomes the anchor for a separate set of tax obligations. The rules differ depending on whether you are a resident or non-resident taxpayer.

Registering the rental contract

Long-term rental contracts must be registered with the Autoridade Tributária through Portal das Finanças. The registration is tied to your NIF and must be submitted within 30 days of the contract start date. Short-term lets (Alojamento Local) require a separate licence, also linked to your NIF, obtained through the local câmara municipal.

Issuing rental receipts

Portuguese law requires landlords to issue electronic receipts (recibos de renda electrónicos) through Portal das Finanças for every rental payment received. Each receipt is generated against your NIF and the tenant's NIF. If you are a non-resident, your fiscal representative can issue these on your behalf.

Tax rates on rental income

Non-residents pay a flat 25% tax on Portuguese rental income. Residents can choose between the flat 25% rate or adding the income to their general IRS declaration at progressive rates. Long-term contracts of five years or more may qualify for reduced rates, encouraging longer tenancies. All rental income is declared annually through the IRS filing linked to your NIF.

Deductible expenses for landlords

Property owners can deduct certain expenses against rental income, including condominium fees, IMI, insurance, maintenance, and management costs. These deductions are claimed in your annual IRS declaration on Portal das Finanças. Keep receipts — every deductible expense should be traceable to your NIF or the property's registo.

Fiscal representation

Fiscal Representation — When You Need It and When You Don't

The rules changed for EU citizens. Here's what applies now.

Fiscal representation is one of the most misunderstood parts of the NIF system in Portugal. A fiscal representative is a person or company resident in Portugal who acts as your official contact with the Autoridade Tributária. They receive correspondence, handle notifications, and can submit tax declarations on your behalf.

Who still needs a fiscal representative

Non-EU and non-EEA foreign nationals who are not tax-resident in Portugal must appoint a representante fiscal. This is a legal requirement — you cannot receive a NIF without one. The representative's details are recorded against your NIF in the tax authority's system, and all official correspondence is sent to their registered morada.

The alteração for EU and EEA citizens

Since the legislative change (alteração) in 2022, EU and EEA cidadãos who live outside Portugal are no longer required to appoint a fiscal representative, provided they register an EU address with the tax authority and activate digital notifications through Portal das Finanças. This is a significant change — it removes an annual cost of €150–€300 and gives you direct control over your tax correspondence. If you are an EU citizen with a fiscal representative appointed before 2022, you can cancel the appointment through Portal das Finanças or at your local Serviço de Finanças.

What a fiscal representative actually does

A fiscal representative receives all correspondence from the Autoridade Tributária on your behalf — IMI bills, IRS notifications, payment deadlines, and any informação or informações requests. They do not have power of attorney unless separately granted. A good representative will forward everything promptly and remind you of deadlines. A poor one will leave you wondering why you received a fine for a missed payment you never knew about.

Costs and what to expect

Annual fiscal representation fees typically range from €150 to €300, depending on the provider. Some lawyers and accountants bundle it with other services. The fee covers the legal obligation of being your contact point — additional services like filing IRS declarations or managing rental receipts are usually charged separately.

When to drop your fiscal representative

If you become tax-resident in Portugal (residência fiscal) — meaning you spend 183 or more days per year here or register Portugal as your habitual residence — the fiscal representative obligation falls away automatically. You can also drop your representative if you are an EU/EEA citizen who has activated digital notifications. Update your NIF record through Portal das Finanças or visit a Serviço de Finanças to make the alteração.

Selling

Your NIF When Selling Property in Portugal

Capital gains, non-resident rules, and what your NIF needs to do at the end.

Selling a property in Portugal does not end your relationship with the NIF — it triggers a new set of tax obligations. The capital gains calculation, the IRS declaration, and the final tax payment all run through your número de identificação fiscal.

Capital gains tax for residents

If you are tax-resident in Portugal, 50% of your capital gain is added to your taxable income for the year and taxed at progressive IRS rates. The gain is calculated as the difference between your sale price and your original purchase price, adjusted for inflation (coeficiente de desvalorização da moeda) and eligible improvement costs. The longer you have owned the property, the more the inflation adjustment reduces your taxable gain. If you reinvest the proceeds into another primary residência in Portugal or the EU within 36 months, you may be exempt from capital gains entirely.

Capital gains tax for non-residents

Non-residents pay tax on 100% of the capital gain at a flat rate of 28%. There is no 50% reduction and no reinvestment exemption. However, non-residents from EU and EEA countries can elect to be taxed under the same rules as residents, which may result in a lower rate depending on total income. This election is made through your annual IRS declaration on Portal das Finanças.

Declaring the sale

The sale must be declared in your IRS filing for the year in which the deed was signed. The declaration is submitted through Portal das Finanças between April and June of the following year. You will need the original purchase details (price, date, costs) and the sale details (price, date, agent fees). If you have a fiscal representative, they should be coordinating this filing with you.

After the sale

Your NIF remains active even after you sell your last property in Portugal. It does not expire and cannot be cancelled. If you have no further fiscal obligations, you can leave it dormant — but keep your Portal das Finanças access active in case the tax authority contacts you. If you were required to have a fiscal representative, you should maintain the appointment until all post-sale tax matters are resolved.

The Agência para a Integração, Migrações e Asilo (AIMA)

If you are a non-EU national whose visa or residency permit was managed through AIMA (formerly SEF — Serviço de Estrangeiros e Fronteiras), your NIF and immigration records are separate systems. Selling your property does not affect your residency status, and ending your residency does not cancel your NIF. They are independent — but both are linked to your passport number, so keep your details consistent across the Autoridade Tributária and AIMA.

The full picture

Your NIF Through the Entire Property Lifecycle

A quick reference for every stage.

1

Get Your NIF

Apply in person, online via Portal das Finanças, or through a fiscal representative. Needed before you can do anything else.

2

Buy Property

NIF appears on the CPCV, IMT payment, stamp duty, and the final deed. Required for bank account and mortgage.

3

Pay Annual Taxes

IMI bills, IRS declarations, and AIMI (if applicable) — all managed through Portal das Finanças against your NIF.

4

Declare Rental Income

Register contracts, issue electronic receipts, and file annual rental income through your NIF on Portal das Finanças.

5

Manage Fiscal Representation

Appoint, maintain, or drop your representative as your situation changes. EU citizens may no longer need one.

6

Sell & Settle

Declare capital gains, file IRS, and keep your NIF active until all post-sale obligations are resolved.

Common questions

NIF Portugal — Frequently Asked Questions

Can I get a NIF online as a foreigner?
EU citizens and nationals of countries with tax information exchange agreements can request a NIF online through the Portal das Finanças (gov.pt). You will need a passport scan and proof of address. Non-EU foreign citizens generally need a fiscal representative to apply on their behalf, either in person at a Serviço de Finanças or through an online service that coordinates the process.
Do EU citizens still need a fiscal representative in Portugal?
No. Since the 2022 legislative change, EU and EEA citizens living outside Portugal are exempt from the fiscal representative requirement, provided they register an EU address and activate digital notifications on Portal das Finanças. Non-EU citizens who are not tax-resident in Portugal still need a representante fiscal.
Does my NIF expire if I leave Portugal?
No. Your NIF is a permanent number issued by the Autoridade Tributária — it never expires and cannot be cancelled. Even if you sell your property and leave Portugal, the number remains active. Keep your Portal das Finanças login details safe and your registered address up to date.
What is IMI and how does it relate to my NIF?
IMI (Imposto Municipal sobre Imóveis) is Portugal's annual property tax, charged at 0.3%–0.45% of the property's tax value for urban properties. The bill is generated against your NIF and delivered through Portal das Finanças each April. You pay it in one, two, or three instalments depending on the amount.
How is capital gains tax calculated when I sell a property in Portugal?
Residents pay tax on 50% of the gain at progressive IRS rates. Non-residents pay 28% on the full gain. The gain is calculated as sale price minus purchase price, adjusted for inflation and eligible improvement costs. EU/EEA non-residents can elect to be taxed under resident rules if it results in a lower rate. The declaration is filed through Portal das Finanças in the year following the sale.
Do I need a NIF to sell a property in Portugal?
Yes. Your NIF is on the property deed and every document in the sale process. The capital gains declaration, the buyer's IMT payment reference, and the notarial deed all reference your NIF. You cannot sell without one — and if you somehow lost track of yours, the Autoridade Tributária can retrieve it from your passport number.
What is the cartão de cidadão and does it replace the NIF?
The cartão de cidadão is the Portuguese national identity card, issued to Portuguese citizens. It contains their NIF, social security number, and health number on a single card. Foreign nationals do not receive a cartão de cidadão — your NIF exists as a standalone number in the tax authority's system, not tied to an identity card.
Need Help Navigating the Tax Side?
We guide buyers through the full purchase process — including NIF setup, fiscal representation, and making sure every tax obligation is handled before and after you buy.
Get in touch