Business glossary
NIF and NIE Numbers in Spain
The NIF (Numero de Identificacion Fiscal) is the tax identification number assigned to Spanish individuals and legal entities by the Tax Agency. The NIE (Numero de Identidad de Extranjero) is the identification number assigned to foreign nationals in Spain for dealings with public authorities, financial institutions, and legal transactions. Both are essential for operating economically and legally in Spain.
InternationalWhat Is the NIF?
The NIF (Tax Identification Number) is the alphanumeric code that identifies an individual or legal entity before the Spanish Tax Agency and in Spanish legal transactions. Its structure depends on the type of holder:
- Spanish individuals: the NIF coincides with the DNI national identity card (8 digits + check letter).
- Foreign residents in Spain: the NIF coincides with the NIE (letter + 7 digits + check letter).
- Legal entities (companies): the NIF is the former CIF, composed of an identifying letter for the entity type + 8 digits. SAs (public limited companies) use the letter A; SLs (private limited companies), B; associations, G; and so on.
Any person or entity carrying out transactions with tax implications in Spain must have a NIF.
What Is the NIE?
The NIE (Foreigner Identity Number) is the personal, unique, and permanent number assigned to foreign citizens (both EU and non-EU) who have economic, professional, or social interests in Spain. It is issued by the Ministry of the Interior (National Police) and is essential for:
- Opening a bank account in Spain
- Buying or renting a property
- Incorporating or acquiring shares in a Spanish company
- Signing employment contracts
- Filing tax returns
- Processing any notarial act
How to Apply for a NIE
From within Spain: Apply at the National Police station or Foreigners’ Office, providing form EX-15, original passport and copy, documentation justifying the need for the NIE (contract, deed, etc.), and paid tax form 790.
From abroad: The NIE can be requested at the Spanish consulate or embassy in the applicant’s country of residence.
NIF for non-resident companies: Foreign companies operating in Spain or owning assets or rights in the country must obtain a Spanish NIF (generally with the letter N for foreign entities). This is processed at the AEAT using form 036.
Practical Considerations
- The NIE is not equivalent to a residency permit: having a NIE does not mean the holder has the right to reside in Spain.
- EU citizens who intend to reside in Spain must register with the Central Register of Foreigners and obtain the EU Citizen Registration Certificate, which incorporates the NIE.
- The NIE is permanent and does not expire, although the documents that certify it do have an expiry date.
Relevance for Businesses
Any foreign company wishing to establish a presence in Spain, acquire assets, or hire employees will need to obtain a Spanish NIF for the company and, in many cases, NIEs for its directors and shareholders. Starting this process early is essential, as processing times at foreigners’ offices can exceed four weeks during periods of high demand.
Frequently asked questions
What is the difference between NIF and NIE in Spain?
Does a foreign company doing business in Spain need a Spanish NIF?
How long does it take to get a NIE number in Spain?
Is a NIE the same as a Spanish residency permit?
What documents do directors and shareholders of a Spanish company need if they are foreign nationals?
Related service
Discover our services in this area
Related sectors
Request a personalized consultation
Our experts are ready to analyze your situation and provide tailored solutions.