NIF Portugal from Spain: How Residents of Spain Apply Online

6 min read · Updated 18 November 2026 · Reviewed by Ícaro Couto · Ordem dos Advogados n.º 67883F

Start my application

Spain and Portugal both use the letters NIF, which causes confusion at the border. The Portuguese NIF (Número de Identificação Fiscal) is issued by the Portuguese Tax Authority, and banks, notaries, landlords and utility companies in Portugal ask for it. This guide is for people who live in Spain, whatever their nationality, and need the Portuguese number.

In short

  • The Portuguese NIF and the Spanish NIF or NIE are different numbers, issued by different authorities. One is not valid in the other country.
  • Anyone, resident in Portugal or not, can request a Portuguese NIF.
  • From Spain the application can be done online, under a power of attorney that you sign from home.
  • Typically 5–14 business days once your signed documents are received.

What does a Portuguese NIF number look like?

It has nine digits and no letters, and the ninth digit is a check digit. For example, 123 456 789 is a made-up number that only illustrates the format. The first digits generally show the type of taxpayer: individuals commonly begin with 1, 2 or 3, non-resident individuals with 45, and companies with 5. A well-formed number is not proof that the NIF exists: only the Tax Authority issues real NIFs. See the NIF number format and checker.

Is the Portuguese NIF the same as an intra-community VAT number?

No. A Portuguese VAT number is written as PT followed by the nine digits of the NIF (for an individual) or of the NIPC (for a company), so the made-up example above would read PT123456789. The digits are the same, but the status is not: being a VAT taxpayer means being registered for VAT, which normally happens when you start a business activity with the Tax Authority. A private person with only a NIF is generally not VAT-registered and will not be found in VIES. See Portugal VAT number and NIF vs NIPC.

Which documents do you need if you live in Spain?

  • A copy of your valid passport: the photo page, clear and fully legible. A passport is the document we recommend. If you only hold a national identity card, contact us first so that we can confirm it will be accepted.
  • A proof of address in Spain: a utility bill, a bank statement or an official letter issued within the last 3 months, showing your name and your home address.

Documents in Spanish are usually accepted, and we tell you during the review if a translation is ever needed. The full list, including minors, is in documents required for a Portuguese NIF.

Do you need a fiscal representative when you live in Spain?

Not to request the NIF. The obligation arises when a tax relationship with Portugal is established (for example, owning a property or a vehicle, signing an employment contract or working on your own account), and the Tax Authority can then require an appointment within 15 days. Spain is in the European Union, and residents of the EU or EEA can choose between appointing a fiscal representative and joining the Tax Authority’s electronic notifications, which are in Portuguese and require your own access to the Portal das Finanças. The rule follows where you live, not your passport. See who needs a fiscal representative in Portugal. With NIF Express the first year of fiscal representation is included.

Online, at a consulate or across the border?

All routes give the same NIF. At a Portuguese consulate you book an appointment, often weeks or months out, and forms are typically in Portuguese. If you are in Portugal you can also apply yourself at a tax office, by appointment: see how to get a NIF in person. Online, a representative files the application for you under a power of attorney, with no travel: see NIF online vs at a consulate.

How does the online application work?

  1. Fill in a short form with your passport and contact details.
  2. Upload your documents: the passport copy and the proof of address.
  3. Sign online. We prepare the power of attorney and you sign it from your client portal.
  4. Receive your NIF in the portal as soon as the Tax Authority issues it, typically in 5–14 business days once the signed documents are received.

The Tax Authority charges nothing for issuing a NIF. Our price covers preparation, the power of attorney, filing and the first year of fiscal representation; the current amount is shown on the order page and explained in how much a Portuguese NIF costs.

NIF Express is a private consultancy, the online service of Blue Ocean Immigration, and not a government service: we prepare and file the application, and the Portuguese Tax Authority issues the NIF. Start your application.

Frequently asked questions

Is my Spanish NIF or NIE valid in Portugal?

No. Spain also uses the letters NIF (and NIE for foreigners), but that is a different number issued by a different authority. For Portugal you need a Portuguese NIF.

What is an example of a Portuguese NIF number?

A Portuguese NIF has nine digits and no letters, for example 123 456 789, which is a made-up number that only shows the format. The ninth digit is a check digit.

Is a Portuguese NIF an intra-community VAT number?

Not by itself. A Portuguese VAT number is PT plus the nine digits of the NIF or NIPC, but it only works as a VAT number when the taxpayer is registered for VAT. A private person with only a NIF is generally not in VIES.

Can I request a Portuguese NIF online from Spain?

Yes. You upload a passport copy and a proof of address, sign a power of attorney online, and the application is filed for you. No trip to Portugal is needed.

Do residents of Spain need a fiscal representative?

Not to request the NIF. If a tax relationship with Portugal is later established, residents of the EU or EEA can choose between a fiscal representative and electronic notifications. NIF Express includes the first year of fiscal representation.

How long does it take?

Typically 5–14 business days once your signed documents are received. The access password for the Tax Authority’s portal follows separately, about a week later.

Keep reading

Replies and opening hours

Support is open Monday to Friday, 10:00 to 17:00 (Lisbon time).

Once you upload your documents, we review them within 1 business day.

Ready to get your Portuguese NIF?

Five minutes to apply. We handle everything else.

Start my application

See the NIF online service →

The NIF Express app, home screen

Also in the NIF Express app: guided form, secure payment, real-time tracking, 8 languages.

Available on the App Store Get it on Google Play

€49.99 Usually 5–14 business days

Start my application