Do You Need an NIE to Sell a Property in Spain?

Are you a foreign property owner planning to sell your home in Spain? Find out why an NIE is generally needed, which documents you should prepare, how the sale process works and what tax obligations may apply to residents and non-residents.

Do You Need an NIE to Sell a Property in Spain?

If you are a foreigner who owns property in Spain and are planning to sell it, you will generally need a Spanish NIE number (Número de Identidad de Extranjero).

An NIE is your personal identification number in Spain. It is used for administrative, financial and tax-related matters, including property transactions.

Whether you live in Spain or own a Spanish property as a non-resident, having the correct identification and paperwork is an important part of completing the sale.

In this guide, we explain why you need an NIE to sell property in Spain, which documents you may need, how the sale process works and what tax obligations you should consider.

1. Do you need an NIE to sell a property in Spain?

In most cases, yes.

Foreign property owners generally need an NIE to complete the administrative and tax formalities associated with selling Spanish property.

The NIE identifies you in dealings with Spanish authorities and is commonly required when preparing the property sale documentation, completing the notarial transaction and dealing with tax obligations.

The Spanish National Police explains that foreigners who have economic, professional or social interests in Spain can be assigned an NIE.

You can read the official information on the Spanish National Police website.

It is important to understand that an NIE is an identification number, not a residence permit. You do not need to live in Spain or become a Spanish resident simply because you own and sell property there.

2. Can you sell property in Spain if you live abroad?

Yes. You do not have to live in Spain to sell a property you own there.

Many foreign property owners sell Spanish homes while living in another country. This is particularly common among people who purchased a holiday home, inherited property or previously lived in Spain.

If you are a non-resident seller, you can generally complete the sale by:

  • Travelling to Spain and signing the sale deed before a notary.

  • Appointing a representative through an appropriate power of attorney.

  • Arranging the necessary documentation and tax formalities with professional assistance.

If you cannot attend the notary appointment personally, a representative may be able to sign on your behalf, provided the power of attorney is valid and gives the representative the necessary authority.

The Spanish consular services provide information about notarial powers of attorney.

Make sure the arrangements are agreed with the Spanish notary in advance.

3. What documents do you need to sell a property in Spain?

The documents required can vary depending on the property, your residency status and the circumstances of the sale.

As a foreign property owner, you should generally prepare the following:

Document

Why it may be needed

Valid passport

Identifies you as the seller

NIE certificate or evidence of your NIE

Identifies you for Spanish administrative and tax procedures

Property title deed (Escritura)

Demonstrates ownership

Recent land registry information

Helps confirm the registered property details

Energy performance certificate

Generally required when selling a property, subject to applicable exemptions

Latest IBI receipt

Shows local property tax information

Utility information

Helps establish the status of electricity, water and other services

Community fee information

Relevant if the property belongs to a community of owners

Mortgage information

Required if there is an outstanding mortgage

Additional documents may be necessary depending on the transaction.

For example, if the property is jointly owned, each owner will normally need to be properly identified and represented in the sale.

If you inherited the property, the inheritance documentation and registration of ownership may also need to be checked before the sale can proceed.

It is advisable to ask your notary or property lawyer for a document checklist before agreeing on a completion date.

4. What happens when you sell a property in Spain as a non-resident?

One of the most important differences between resident and non-resident sellers concerns taxation.

If you are not tax resident in Spain when you sell your property, special rules apply under Spain's Non-Resident Income Tax (IRNR).

The 3% withholding tax

When a non-resident sells Spanish property, the buyer is generally required to withhold 3% of the agreed purchase price and pay it to the Spanish Tax Agency using Modelo 211.

This is a payment on account of the seller's potential tax liability. It is not automatically the final tax amount.

For example:

Imagine that you sell your Spanish property for €250,000.

The buyer generally withholds 3%:

€250,000 × 3% = €7,500.

The buyer pays this amount to the Spanish Tax Agency and should provide you with a copy of the relevant Modelo 211 documentation.

You can then take the withholding into account when calculating your final tax liability.

If the withholding exceeds the tax actually due, you may be entitled to request a refund.

The official rules are explained by the Spanish Tax Agency – Withholding when a non-resident sells property.

Do you need to submit Modelo 210?

In general, a non-resident seller must declare the capital gain or loss resulting from the sale using Modelo 210.

The taxable gain is not necessarily the difference between the sale price and the original purchase price alone. The applicable rules take account of the acquisition value, eligible costs and expenses, and other relevant adjustments.

The filing deadline is generally three months after the one-month period following the date of the property transfer.

This means you should not assume that the 3% withholding completes all your tax obligations.

The Spanish Tax Agency's Modelo 210 guidance explains the reporting requirements and deadlines.

Your actual tax liability depends on your circumstances, including applicable double taxation agreements and any relevant exemptions.

5. What if you are a Spanish tax resident?

If you are tax resident in Spain, the tax treatment of the property sale is different.

Rather than the non-resident tax rules described above, capital gains are generally dealt with under Spanish Personal Income Tax (IRPF).

The calculation depends on factors such as:

  • The original purchase price.

  • Eligible acquisition and selling expenses.

  • Improvements that qualify under the tax rules.

  • Your personal tax circumstances.

  • Whether an applicable exemption is available.

For example, certain qualifying sales of a habitual residence may benefit from tax relief when the relevant reinvestment conditions are met.

There are also specific rules for certain older sellers.

These exemptions have detailed requirements, so it is important to obtain tax advice before assuming that your sale will be exempt.

6. What is the Spanish plusvalía municipal tax?

Another tax to consider when selling property in Spain is the municipal capital gains tax, commonly known as plusvalía municipal.

Its official name is Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana (IIVTNU).

It relates to the increase in the value of urban land over the period of ownership.

The tax is administered by the relevant local council, and the calculation depends on the applicable rules and the circumstances of the transaction.

The responsibility for payment can also depend on whether the seller is resident or non-resident.

For example, specific rules apply when an individual seller is not resident in Spain, under which the buyer may act as the substitute taxpayer for this municipal tax.

You should therefore establish the applicable responsibility with the local authority and your legal adviser before completion.

The Spanish Government provides information about taxes connected with buying and selling property.

7. Can you sell your property if your NIE certificate is lost?

Yes. Losing your NIE certificate does not mean you lose your NIE number or your ownership of the property.

Your NIE is a personal and unique identification number. It does not change simply because you lose the document showing it.

However, you may need to obtain evidence of your NIE for the sale documentation and administrative procedures.

If you have lost your certificate, contact the relevant Spanish authority or consulate to establish the appropriate procedure for obtaining replacement evidence.

The process can depend on how your original NIE was issued and your current circumstances.

Do not automatically apply for a new NIE number. You should first establish whether your existing number can be confirmed or documented.

8. Can someone else sell your Spanish property on your behalf?

Yes, in many circumstances.

If you live abroad or cannot travel to Spain, you may appoint someone to represent you during the sale.

This is normally arranged through a power of attorney.

Your representative may be authorised to:

  • Sign the public deed of sale.

  • Attend the notary appointment.

  • Complete specified administrative formalities.

  • Deal with relevant tax documentation.

  • Receive or arrange payment where expressly authorised.

The wording of the power of attorney is important. It should clearly state which actions your representative is permitted to carry out.

Discuss the document with the notary or Spanish property lawyer before signing it.

9. When should you apply for an NIE before selling property?

If you do not already have an NIE, it is sensible to arrange it well before your planned property sale.

Waiting until the last moment can create unnecessary delays, particularly if you need to obtain documents, arrange an appointment or apply from outside Spain.

The exact procedure depends on where you apply and your personal circumstances.

Generally, the application process involves:

  1. Completing the relevant NIE application documentation.

  2. Providing your passport and any required supporting documents.

  3. Explaining the economic, professional or social reason for requesting the NIE.

  4. Paying the applicable government fee.

  5. Attending the relevant appointment or following the procedure available through the Spanish consulate.

If you are applying because you intend to sell a Spanish property, prepare evidence of your connection with the transaction, such as property ownership documents or relevant sale-related paperwork.

The Spanish National Police provides the official NIE application information.

10. How Spain Expat Consulting can help you obtain an NIE

If you need an NIE to sell your Spanish property, Spain Expat Consulting can help you prepare the application.

Our NIE assistance service costs €125.

The service includes:

  • Assistance with preparing your NIE application documents.

  • Sending the prepared documents to you.

  • Providing instructions for paying the applicable Spanish government fee.

  • Assistance with arranging an appointment in your preferred Spanish region, subject to availability.

You print the documents and pay the government fee separately.

Appointment availability depends on the relevant Spanish office, so an appointment within two weeks cannot be guaranteed.

Our service focuses on assistance with the NIE application. It does not include property conveyancing, capital gains tax calculations or legal representation in the property sale.

If you need help obtaining your NIE before selling your property, you can contact Spain Expat Consulting through WhatsApp.

Frequently Asked Questions

Can I sell my Spanish property without living in Spain?

Yes. Foreign property owners can sell Spanish property without being Spanish residents. You will still need to meet the relevant identification, notarial and tax requirements.

Can I sell my Spanish property without an NIE?

In practice, an NIE is generally required for foreign sellers to complete the identification and tax formalities associated with a Spanish property sale. Arrange this before the transaction progresses too far.

Does the buyer have to pay 3% tax when buying from a foreign seller?

The buyer is generally required to withhold 3% of the agreed purchase price when purchasing Spanish property from a non-resident seller. This is a payment on account of the seller's tax liability, rather than necessarily the final tax.

Do I get the 3% back after selling my property?

Not automatically. The 3% is credited against the tax due. If the final tax is lower than the amount withheld, you may be entitled to claim the difference back by following the applicable tax procedure.

Can I sell my Spanish property from another country?

Yes. You may be able to appoint a representative through a valid power of attorney, subject to the requirements of the notary and the transaction.

Do I need a new NIE if I already have one?

No. Your NIE is a unique personal identification number. If you already have one, you generally continue using the same number.

How much does it cost to obtain an NIE?

Spain Expat Consulting charges €125 for its NIE assistance service. The Spanish government fee is separate. The applicable government fee should be checked at the time of application.

How long does it take to get an NIE?

Processing and appointment availability vary depending on the location and the relevant Spanish authorities. It is best to arrange your application early rather than relying on a fixed processing time.

Final Thoughts

Selling a property in Spain as a foreigner is entirely possible, even if you live abroad. However, having the correct identification and understanding your tax obligations are essential parts of the process.

An NIE is generally needed to complete the administrative and tax formalities associated with the sale. Non-resident sellers should also pay particular attention to the 3% withholding requirement and the subsequent Modelo 210 declaration.

If you are planning to sell your property and do not yet have an NIE, arranging it early can help you avoid unnecessary complications later.

Need help obtaining your NIE?

Spain Expat Consulting can assist you with preparing your NIE application and arranging an appointment in your preferred Spanish region, subject to availability.

Chat with us on WhatsApp.


Information checked on 4 November 2026. This article provides general information and is not a substitute for individual legal or tax advice. Property sale requirements and tax treatment depend on the seller's circumstances and the location of the property.

Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.