
NIE Numbers and Hiring Tradespeople in Spain - What You Need to Know
Your NIE number matters more than most expats realise when hiring trades
Most expats know they need a NIE, Número de Identificación de Extranjero, to buy property in Spain, open a bank account, or sign a rental contract. What fewer people realise is how the NIE system connects to hiring tradespeople, managing building contracts, and dealing with the tax implications of work carried out on a Spanish property.
Get this wrong and you can find yourself personally liable for unpaid social security contributions, facing a tax inspection, or unable to claim back IVA on legitimate building work. This guide explains what you need to know before work starts.
What is a NIE number and who needs one
A NIE is a tax identification number issued to foreign nationals in Spain. It is required for any financial or legal transaction, buying or selling property, signing contracts, paying taxes, opening bank accounts, and registering as a resident. If you own property in Spain, you need a NIE regardless of whether you live there full time or use it as a holiday home.
Your NIE does not expire once issued, but the certificate confirming it does. If you obtained your NIE some years ago, check whether the certificate is still current, some Spanish institutions and notaries will ask to see a recently issued certificate rather than the original document.
How your NIE connects to hiring tradespeople
When you commission building work in Spain above a certain value, you are entering into a formal contract as a property owner. Your NIE is the identifier that connects you to that contract for tax purposes. There are two specific situations where this becomes practically important:
- Signing a written building contract - any formal contract for building work should include your NIE alongside the tradesperson's NIF. Without it, the contract lacks a key identifier that the Spanish tax system requires.
- Paying for work and receiving invoices - invoices for building work should be addressed to you as the property owner, including your NIE. An invoice without this information is not a compliant Spanish invoice and cannot be used for tax purposes or insurance claims.
The retention obligation, something most expats have never heard of
This is the area that catches the most expats off guard. Under Spanish tax law, if you are a non-resident property owner commissioning building work in Spain, you may be subject to a retention obligation on payments made to certain tradespeople.
Specifically, if the tradesperson or contractor is also a non-resident operating in Spain without being registered as a Spanish tax resident, you are legally required to withhold a percentage of each payment and pay it directly to the Agencia Tributaria on their behalf. The retention rate is currently 24 percent of the gross payment.
In practice, most registered tradespeople working on the Costa del Sol are registered as Spanish tax residents, either as autónomos or through a Spanish company, which means the retention obligation does not apply. But if you hire someone who is not registered in the Spanish tax system, you may unknowingly take on their tax liability.
This is one of several reasons why hiring unregistered tradespeople is a greater legal risk than most expats appreciate. It is not just about the quality of the work, it is about what their tax status means for yours.
Resident versus non-resident, does it change your obligations
Yes, it does. The retention rules above apply specifically to non-resident property owners. If you are registered as a Spanish tax resident, which means you spend more than 183 days per year in Spain and have submitted your empadronamiento and registered with the Agencia Tributaria accordingly, your tax obligations are different and the retention rules do not apply in the same way.
Determining your tax residency status is not always straightforward, particularly for expats who split their time between Spain and another country. If you are unsure of your status, speak to a gestor or Spanish tax adviser before commissioning significant building work. Getting this right before work starts is considerably simpler than untangling it afterwards.
IVA on building work, when you can reclaim it and when you cannot
Private individuals in Spain cannot generally reclaim IVA paid on building work on their own home, it is a personal expense rather than a business cost. However, there are two situations where IVA becomes particularly relevant for expat property owners:
- Rental properties - if your Spanish property is registered as a rental property and you are paying tax on rental income in Spain, certain renovation and maintenance costs may be deductible against that income. Your gestor can advise on what qualifies and how to document it correctly.
- Reduced IVA rate on primary residence renovations - as covered in the quotes article, renovation work on a vivienda habitual may qualify for a reduced IVA rate of 10 percent rather than the standard 21 percent. To benefit from this, invoices must be correctly addressed to you as the owner, must include your NIE, and must describe the work accurately.
In both cases, the invoice trail matters. Invoices addressed incorrectly, missing your NIE, or vague in their description of the work will not hold up to scrutiny from the Agencia Tributaria.
How to get a NIE if you do not already have one
If you are buying property or commissioning significant building work in Spain and do not yet have a NIE, the process is as follows:
- Book an appointment at your nearest Oficina de Extranjeros or National Police station (ComisarÃa de PolicÃa Nacional) with a foreigners department. In the Málaga area, the main office is in Málaga city.
- Complete form EX-15, available from the Spanish government website or from your nearest Spanish consulate if you are applying from the UK before moving.
- Bring your passport, a photocopy of your passport, the completed EX-15 form, and proof of why you need the NIE, a property purchase contract, a job offer, or a similar document.
- Pay the fee, currently around €10, at a designated bank using form 790 before your appointment.
- Collect your NIE certificate at the appointment or at a follow-up appointment depending on the office.
Appointments at the Málaga foreigners office book up quickly. Many expats use a gestor to handle the NIE application on their behalf, the cost is modest and it avoids the bureaucratic complexity of navigating the process in Spanish.
What to check about the tradesperson's registration status
Before commissioning work, confirm that your tradesperson is registered in the Spanish tax system. The simplest way to do this is to ask for their NIF and confirm they will provide a proper Spanish invoice for the work. A registered autónomo or company will do this without hesitation. Someone operating outside the system will not.
You can also search a company NIF on the Agencia Tributaria website (agenciatributaria.gob.es) to confirm it is registered and active. It takes less than two minutes and removes any doubt about the tradesperson's tax status before you hand over any money.
Getting the paperwork right from the start
The simplest way to avoid NIE-related complications when hiring tradespeople in Spain is to start with registered, tax-compliant professionals. SpainTrades lists vetted tradespeople across Málaga and the Costa del Sol, all registered in the Spanish tax system, all able to provide compliant invoices, and all reviewed by expat clients after real jobs.
Find tax-compliant tradespeople in your area at www.spaintrades.es
Important note
The information in this article is intended as a general guide for expats navigating the tax and legal implications of hiring tradespeople in Spain. It is not legal or tax advice and should not be treated as a complete or definitive account of Spanish tax law or immigration regulations. Tax residency rules, retention obligations, and IVA regulations are complex and change over time. Always seek independent advice from a qualified Spanish gestor, tax adviser, or lawyer before making decisions based on this article. SpainTrades accepts no liability for decisions made on the basis of this article.

