NIE vs NIF in Spain: What Foreign Company Buyers Need
When buying an existing Spanish limited company, international investors often confuse two identification numbers: the NIE used by foreign individuals and the NIF used for tax identification. They serve different purposes. A company having its own Spanish NIF does not remove the need to identify its new shareholders and directors.
NIE vs NIF: what is the difference?
NIE vs NIF in Spain is primarily a question of who is being identified. A NIE (Número de Identidad de Extranjero) is the personal identification number assigned to a foreign individual who has relevant dealings with Spain. NIF (Número de Identificación Fiscal) refers to tax identification. A Spanish S.L. has its own NIF, distinct from the identification of the people or companies that own it.
| Identification | Who it identifies | Why it matters in a purchase |
|---|---|---|
| NIE | A foreign individual | Identifies a non-Spanish buyer or incoming individual director |
| Spanish company NIF | The Spanish S.L. | Identifies the legal entity for tax and administrative purposes |
| Foreign corporate buyer’s Spanish NIF, when required | An overseas legal entity | Allows the overseas entity to be identified in Spanish tax-relevant dealings |
Do you need a NIE to buy an existing Spanish S.L.?
NIE for a Spanish company purchase should be addressed before reserving flights or arranging the notarial appointment. The Spanish Ministry of the Interior explains that foreign individuals with economic or professional interests in Spain can request an NIE through the appropriate channels, including Spanish consular offices abroad. The exact supporting documents and route depend on the applicant’s circumstances.
In our purchasing process, we require foreign individual buyers and incoming directors to have the appropriate Spanish identification ready before signing. Other sellers or procedures may have different documentary arrangements, so obtain transaction-specific advice rather than assuming that a passport alone will be sufficient.
An NIE is an identification number. It does not itself grant Spanish residence or work authorisation.
What if the buyer is a foreign company rather than an individual?
Corporate buyers of Spanish S.L. shares need a different document checklist. An overseas company may need a Spanish NIF, evidence that it legally exists, proof of who may represent it, and documentary identification of its ultimate beneficial owners. Documents issued abroad may require appropriate legalisation or apostille and translation, depending on their origin and the notary’s requirements.
The Spanish tax authority publishes separate guidance for the NIF of legal entities, including non-resident entities. A foreign parent company’s incorporation certificate does not automatically replace the Spanish identification requirements relevant to a particular transaction.
Does a ready-made company already have a tax number?
A Spanish shelf company is an entity incorporated before its sale. The companies offered in our live Spanish company inventory are presented as already incorporated and with a definitive NIF, subject to verification of the selected file before payment.
Purchasing shares does not issue a new NIF to the Spanish company simply because the owner has changed. Instead, the transaction may involve corporate resolutions and updates to the company’s registered information, directors, beneficial ownership and tax census. The exact changes depend on the agreed purchase.
Which documents should be ready before the notarial appointment?
Notarial preparation for a foreign buyer is easier when the identification and ownership structure are agreed before a signing date. A practical starting checklist is:
- Valid passport or other identity document accepted for the transaction.
- NIE for the relevant foreign individuals, where required by the notarial file and transaction.
- For a corporate buyer, corporate existence and representation documents.
- Identification of the natural persons who ultimately own or control the purchasing structure.
- Description of the intended activity, ownership and incoming management.
- Documents needed for any power of attorney, interpretation, legalisation or translation.
Confirm the checklist with the selected Spanish notary. Requirements may change based on nationality, residence, company structure and the documents presented.
What happens after buying the company?
After a Spanish S.L. purchase, the buyer should distinguish ownership changes from the steps needed to start trading. Appointing directors, updating the registered office or corporate purpose and filing the relevant census modifications may be necessary. Modelo 036 is used for a range of business census registrations and modifications. Bank account activation is a separate decision made by the bank following its checks.
For the sequence of work, see our Spanish company purchase process and the buyer requirements for non-residents.
Frequently asked questions
Is an NIE the same as a Spanish tax number?
Not exactly. The NIE identifies a foreign individual. It may also serve as that person’s tax identifier in relevant circumstances, whereas the Spanish S.L. itself has its own NIF.
Can I buy an S.L. with only a passport?
For our purchasing process, foreign individual buyers must prepare the relevant Spanish identification before signing. Confirm the documentary requirements with the notary.
Does a company’s NIF change when the shareholders change?
A share transfer does not ordinarily create a new legal entity. The existing company retains its corporate identity; required tax and registry data may need updating.
Can a foreign company be the shareholder?
Foreign companies can invest in Spanish companies, subject to the relevant identification, representation, due-diligence and other applicable requirements.
Does an NIE let me live or work in Spain?
No. Obtaining an identification number is not the same as obtaining residence or employment authorisation.
Will a Spanish bank automatically open an account?
No. A bank applies its own identification, business and compliance checks and can request further information or decline an application.
Legal references and next steps
- Spanish Ministry of the Interior: NIE.
- Spanish Tax Agency: NIF for legal entities.
- Spanish Tax Agency: identifying non-established businesses.
For a wider view of the ownership file, read our guide to beneficial ownership in Spain, then see how the notarial transfer works.
This guide provides general information. Individual legal, tax and notarial requirements must be checked against the buyer's circumstances and the selected company's documents.
