.avif)
Spain continues to be one of the most attractive destinations for foreigners in 2026, whether for work, studies, retirement, or lifestyle. Cities like Barcelona, Madrid, Valencia, and Malaga welcome thousands of expatriates, digital nomads, and international students each year, creating high demand for rental housing.
For landlords, renting to foreigners can be an excellent opportunity, as in many cases they are willing to pay higher prices, especially in tourist areas or near universities. However, this process involves certain legal, tax, and logistical specificities that are important to understand to avoid problems.
In this updated guide, you will find everything you need to know about the legality of renting to foreigners (including non-residents and tourists), the necessary documents and requirements, the different types of rentals, how to draft a contract adapted for international tenants, practical steps for finding and managing foreign tenants, and the advantages, disadvantages, and risks to consider. If you are thinking of renting your apartment to foreigners, this guide will help you do so safely and profitably.

Yes, it is completely legal. There are no restrictions on renting a property to foreigners, regardless of their nationality or immigration status. However, there are certain legal aspects you should consider.
Foreign residents in Spain can rent without issues, provided they meet the same requirements as a Spanish citizen (contract, deposit, etc.).
Non-resident foreigners can also rent, but the landlord must withhold 19% of the rent as IRNR tax (Non-Resident Income Tax) if they do not have a NIE or residency.
In the case of students and tourists, many foreigners rent apartments for temporary purposes (such as Erasmus students or digital nomads). In these cases, a temporary contract is recommended.
According to the Urban Leases Act (LAU), renting to foreigners is permitted as long as tax and contractual regulations are met.
A valid identification is required. For residents, a DNI, NIE, or EU passport; for non-residents, a passport and NIE (mandatory for contracts longer than 3 months).
Payment guarantees are required: a deposit of 1 to 2 months, depending on the autonomous community, a bank guarantee, or a guarantor if the tenant does not have income in Spain.
The legal situation in Spain indicates that permanent residency is not required, but for long-term contracts, it is advisable to verify their immigration status.
The rental contract must be provided, which can be standard or adapted for foreigners, along with a copy of the NIE or passport, proof of income (payslip, employment contract, or bank statements), and home insurance, which is optional but recommended.
This type of contract is ideal for foreigners settling in Spain for work or permanent residency. It is governed by the Urban Leases Act (LAU) and offers greater stability for both the landlord and the tenant.
The minimum duration is 1 year (renewable), requiring a 1 to 2-month deposit, depending on the autonomous community. The tenant can request a mandatory extension of up to 3 years if they are an individual, and it is ideal for families, employees with permanent contracts, or permanent residents.
It is recommended to verify that the tenant has an NIE and an employment contract in Spain, and to note that if the tenant is a non-tax resident, a 19% withholding tax (Non-Resident Income Tax) applies.
It is highly sought after by Erasmus students, digital nomads, or expatriates on temporary projects. It is not regulated by the LAU, so the conditions are more flexible.
It is not subject to mandatory extension, can be agreed upon without a deposit, allows for early termination clauses, and is common in university cities.
Platforms like Uniplaces, Spotahome, or Beroomers can be used to find tenants, and it is advisable to require upfront payment if the tenant does not have a guarantor in Spain.
If your apartment is in a tourist area (Costa del Sol, Ibiza, Canary Islands), you can opt for tourist rental, regulated by the Tourist Accommodation Law.
A tourist license is required, which is a mandatory requirement in Catalonia, the Balearic Islands, and Andalusia. It is billed as an economic activity (not as real estate income), and platforms like Airbnb, Booking, or Holidu are the most commonly used.
It is recommended to verify if the autonomous community requires a license, and income must be declared on Form 179 (Personal Income Tax) if it exceeds 2,000 euros per year.
You may also like: investing in tourist apartments.
The rental contract for foreigners must be adapted to their situation (resident/non-resident, temporary/indefinite). Key elements it must include are full details, including name, NIE/passport, property address; the contract duration with its start and end dates, and extensions; the price and payment method, which can be monthly, quarterly, in euros or foreign currency; included expenses such as community fees, water, electricity, internet; the deposit and security deposit of 1 to 2 months, according to autonomous law; the early termination clause, penalty for early departure, and the tenant's obligations such as maintenance, and prohibition of subletting.
Special adaptations for foreigners include adding a clause about the 19% withholding tax (Non-Resident Income Tax) if the tenant does not reside in Spain; specifying that it is not subject to the LAU if it is a temporary rental; and including a bank guarantee or payment guarantee if the tenant does not have income in Spain.
For students, there are platforms like Uniplaces, Beroomers, HousingAnywhere; for professionals, you can search on Spotahome, Idealista, Fotocasa; and for tourists or nomads on sites like Airbnb, Booking (if it's a short-term rental).
The NIE, passport, and proof of income (payslip, employment contract, or savings) must be requested. If they do not have a job in Spain, advance payment or a bank guarantee must be required, and a video call interview should be conducted to confirm their profile.
In Catalonia, the Balearic Islands, and Madrid, the deposit must be registered with the corresponding body (INCASOL, IVIMA, etc.). If the tenant is a non-resident, a 19% withholding tax applies (Form 210).
A detailed inventory with photos of the apartment's condition must be made, and a protocol for the deposit's return (with deadlines and deductions for damages) must be established.
Resident tenants must declare their rental income on their tax return (IRPF). For non-resident tenants, a 19% withholding tax (IRNR) is applied, and Form 210 must be submitted quarterly.
Rental insurance covering non-payment (such as Housers or Alia) should be taken out. If the tenant is a foreigner without a guarantee, it's advisable to request several months' rent in advance.
You might also be interested in: rental non-payment insurance.
It's important to note that some foreigners may be unaware of rules such as waste separation (which is mandatory in some cities), noise schedules (in Spain, quiet hours are typically from 10 PM to 8 AM), or that air conditioning use in areas like Andalusia can significantly increase electricity consumption.
If the tenant doesn't speak Spanish, you can use translators or bilingual contracts. Platforms like Homming offer management services for landlords.
You might be interested in: how to declare rental income.
There's higher profitability in tourist and university areas like Barcelona and Seville, a lower risk of illegal occupation if you verify documents and signatures, the possibility of renting at higher prices since digital nomads often pay more, and constant demand as Spain remains a key destination for expatriates.
There can be potential issues with non-payment if the tenant leaves the country without notice, higher turnover, especially with students or temporary workers. It also involves a 19% non-resident income tax (IRNR) withholding if the tenant is not a tax resident, and there can be legal difficulties in case of conflict if the tenant is not in Spain.
It depends on the area. In cities like Barcelona or Madrid, foreigners often pay more, but in other areas, it might be the same.
Request a bank guarantee, take out non-payment insurance, or require several months' rent in advance.
If they breach the contract, you can retain the deposit and take legal action, although it's more complicated if they don't reside in Spain.
Spotahome for professionals, Uniplaces for students, or Idealista for all types of tenants.
Yes, it must be declared quarterly using Form 210.
Did you know you can invest in real estate from just €200? Domoblock makes it possible to enter the world of real estate investment without complications or major risks. The platform has been designed to suit any profile: if you want profitability without worrying about management, maintenance, or paperwork, this is the right place.
With blockchain technology and expert analysis behind every opportunity, and with extensive experience in real estate tokenization and real estate crowdfunding, Domoblock guarantees trust, transparency, and efficiency. Invest easily, manage nothing.
Domoblock offers various real estate investment projects in Madrid real estate investment, Alicante real estate investment, Zaragoza real estate investment and Valencia real estate investment. Check them out!
Explore real, secure, and digital opportunities with Domoblock. Start your investment today!
Renting an apartment to foreigners in Spain can be a great opportunity, but it requires a good understanding of the legal and tax requirements. By verifying documents, choosing the right type of contract, and using specialized platforms, you will minimize risks and maximize benefits.

Josep Ramón Batalla, 54
Funded
100%
647.323,06 €
Target
647.323,06 €