Can your landlord end the lease if you're away for months?
Only if the flat has stopped being your home, and a trip or secondment you're coming back from doesn't normally count. The Ley de Arrendamientos Urbanos (LAU) defines a housing lease, in article 2.1, as one whose main purpose is to meet the tenant's necesidad permanente de vivienda, their permanent need for a home. Article 27.2(f) then gives the landlord a ground to end the contract "cuando la vivienda deje de estar destinada de forma primordial a satisfacer la necesidad de vivienda del arrendatario": when the flat is no longer mainly used as the tenant's home.
The law sets no number of days. There's no rule that says three months away is fine and six isn't. A court looks at the whole picture: why you left, whether you plan to come back, and whether your life is still visibly based in the flat. A landlord who wanted to use this ground would have to go to court and prove it, and the burden is on them.
Courts have generally been reasonable about work. In judgment 321/2020 of 9 July 2020, the Audiencia Provincial de La Rioja turned down a landlord's claim against a tenant who spent weekdays in another town for work and came back at weekends, holding that this wasn't abandonment. That's a provincial court, not the Supreme Court, so treat it as a guide to how judges think rather than a rule. The risk grows when the absence has no end date, the flat is stripped bare, or someone else is living there.
One detail helps couples and families. Under article 7.1 of the LAU, a housing lease keeps its status even if the tenant isn't living there, as long as their spouse (not legally or in practice separated) or dependent children are. If your partner stays behind while you work abroad, the lease is on firm ground.
Do you have to tell your landlord you'll be away?
There's no general legal duty to report a trip, but you should tell them anyway, in writing. Read your contract first: some Barcelona leases include a clause asking you to notify long absences, and if yours does, follow it. Either way, a short email or WhatsApp saying when you're leaving, when you'll be back and how to reach you is good evidence later that the flat was still your home and you never meant to give it up.
There's also a practical reason. Article 21.3 of the LAU requires a tenant to tell the landlord about any repair that's needed as soon as possible, and you'll be held responsible for damage that gets worse because nobody reported it. If you're abroad, a slow leak can run for weeks. Give the landlord or agency the name of someone in Barcelona who has a key and can let a plumber in. Without your permission, the landlord still can't let themselves in, trip or no trip; our guide to when a landlord can enter your flat explains why.
Can you sublet or rent the flat out while you're away?
Not the whole flat, and not to tourists. Article 8 of the LAU allows subletting only in part (a room, say) and only with the landlord's prior written consent. Letting the entire flat to someone else is a cesión, which also needs written consent. An unauthorised sublet or assignment is one of the grounds on which a landlord can end the lease outright (art. 27.2(c)), so a few months of sublet income could cost you the flat.
Short-term holiday lets are a harder no. In Barcelona, renting a flat to tourists needs a tourist-use licence, and the city isn't granting new ones; our guide to Barcelona's tourist-flat ban covers where that's heading. Listing your rented flat on a holiday platform risks the lease and a fine from the city. If a friend house-sits for free, that's closer to having a guest, but a friend living there for months on their own starts to look like a new occupant. Our guides to subletting rules and guests in a rented flat explain where the lines are.
Does your home insurance still cover an empty flat?
Possibly not in full, so check before you go. Many Spanish home policies have a clause on the home being deshabitada (unoccupied). Past a certain number of consecutive days away, some cover is reduced or excluded, most often theft and water damage, which are the two things most likely to go wrong in an empty flat. The threshold and what it affects vary by insurer, so read your own policy's general and particular conditions, or ask the insurer to confirm in writing.
Remember that there are usually two policies. The landlord's building policy covers the structure; your contents policy covers your belongings and, often, your liability to the neighbour downstairs. If you don't have one, our guide to renters' insurance in Barcelona explains what's worth buying. Then do the simple thing that prevents most claims: turn off the water at the stopcock (the llave de paso) before you leave. Our guide to water leaks and neighbours shows how expensive a forgotten one can be.
How do you handle rent, bills and post while you're gone?
Keep paying everything as normal, and make sure it happens without you. Rent is still due every month whether or not you're there, and a missed payment while you're out of reach is the one thing that gives a landlord a clean case against you. A direct debit or a scheduled transfer from an account you can manage from abroad takes care of it; our guide to paying rent by direct debit or transfer explains the options.
- Keep the utility contracts in your name and running. Cutting the electricity and water entirely makes a flat look abandoned and can mean reconnection fees later. Fixed charges continue even when you use nothing.
- Sort out the post. Official letters, including fines and notices from the landlord, still arrive at the flat. Correos can redirect your post for a fee; see our guide to redirecting post in Barcelona. Switch to electronic notifications wherever you can.
- Watch for a burofax. A landlord's formal notice can be sent by burofax to the flat. Ask the person with your key to check the letterbox and tell you about any Correos delivery slip.
- Tell a neighbour or the building's portero that you're away. They can spot a leak or a forced door long before you would.
What about squatters in an empty flat?
The risk is low, but an obviously empty flat is a softer target than one that looks lived in. A tenant's flat is still their home while they're away, and police and courts treat someone entering a person's home very differently from someone occupying an empty property. If anything looks wrong, call the Mossos d'Esquadra on 112 straight away; acting quickly makes a big difference.
Prevention is mostly common sense. Don't leave the letterbox overflowing, don't post your travel dates publicly, ask someone to visit now and then, and think about a timer switch on a lamp. Our guide to squatting risk for Barcelona renters covers what to do in more detail.
Does a long absence affect your padrón, residency or tax?
It can, and this is the part to check with a professional if you're away for more than a few months. Your padrón registration stays at the flat as long as it's still your home, which is another reason not to give it up on paper. Tax is the bigger issue. Under article 9 of the Spanish income tax law, one of the tests for being tax-resident in Spain is spending more than 183 days of the calendar year here, and occasional absences count as time in Spain unless you prove tax residence somewhere else. A secondment abroad can shift that balance either way. Our guide to tax residency for Barcelona renters explains the basics.
If you're a non-EU national with a residence card, long periods outside Spain can also affect your permit or its renewal. The rules depend on the type of permit, so ask an immigration lawyer or gestor before you book a long trip.
A checklist before you leave
- Read the lease for any clause on absences, subletting or notice, and do what it asks.
- Email or WhatsApp the landlord or agency with your dates, a contact number and the name of your key holder. Keep a copy.
- Set up rent so it pays itself, and check the account will have enough in it every month.
- Read the deshabitada clause in your home insurance, and tell the insurer if the policy asks you to.
- Turn off the water at the stopcock and unplug anything that doesn't need power. Leave the fridge empty and propped open if you switch it off.
- Arrange post redirection or a regular check of the letterbox.
- Leave your belongings in the flat. A furnished, lived-in home is the clearest evidence that it's still where you live.
- Take photos of every room on the day you leave, so you can show the condition if something happens while you're away.
Should you give the flat up instead?
If you're not sure you'll come back, it may be cheaper to leave properly than to pay rent on an empty flat. Under article 11 of the LAU, once a lease has run for six months you can end it with at least 30 days' written notice, although the contract may set compensation for leaving early. Our guide to ending a rental contract early runs through the numbers.
The trade-off is the search when you return. Good flats in Barcelona go fast, and keeping a flat you know is often worth a few months of rent. Weigh up the rent you'd pay while away against the cost and stress of finding a new flat later, including the deposit and agency fee.
How Llavai helps
If you decide to give the flat up, or your secondment turns into a move to another part of the city, Llavai makes the next search shorter. It watches the main Barcelona rental portals, scores every new agency listing against your brief (budget, neighbourhoods, bedrooms) and puts the best ones first, with the agent's number one tap away, so you can call before the queue forms. You can set it up from abroad and have a shortlist waiting when you land. Set up your search in a couple of minutes. If you'd rather not make the call yourself, Julia can make it in Spanish on the Pro plan.