‹ Back to the blog

Renting · · 23 min read

Renting Out Your Flat for the First Time in Spain in 2026: What You Have to Do, Step by Step (Madrid and Barcelona)

There are 10 steps and 5 are required by law: the energy performance certificate, with its label in the listing; the cédula de habitabilidad (habitability certificate) if the flat is in Catalonia; the gas inspection if there is gas; depositing the tenant’s deposit (30 working days in Madrid, two months in Catalonia); and declaring the rent in your income tax return. In order: which contract to choose, how much you can ask in Madrid and Barcelona, what you can require from the tenant, why the Single Rental Register number is no longer needed and how much tax a €1,100-a-month let pays.

10 yearsMaximum validity of the energy performance certificate; 5 if the rating is G (Royal Decree 390/2021, article 13; BOE)
5 yearsMinimum duration of a main-home tenancy if the landlord is an individual, 7 if it is a company (LAU, article 9; BOE, November 2026)
2 months’ rentMaximum additional guarantee on a main home, on top of the one-month deposit; one month in temporary housing (LAU, article 36; BOE, November 2026)
30 working daysDeadline to lodge the deposit with Madrid’s Agencia de Vivienda Social from signing (Community of Madrid, 28-10-2026)
2 monthsDeadline to lodge the deposit with INCASÒL in Catalonia (Law 13/1996, article 3; BOE, March 2026)
100%Maximum income tax reduction on a first let signed from 1-12-2026 with the rent below the reference index (Spanish Tax Agency, October 2026)

Letting a flat for the first time looks simple: a few photos, a price and wait for the phone to ring. But before you advertise it there are documents the law requires, decisions that are hard to undo and rules that differ between Madrid and Barcelona. And after signing come the deposit and your tax return, where a properly declared let pays less tax than you might think.

Using the rules published as of 18 November 2026, we set it out in ten steps. We do not repeat what we have covered in detail elsewhere: the deposit is in «Rental deposits in Madrid and Barcelona in 2026…»; rent default insurance, in «Rent default insurance in 2026…»; clauses that are not valid, in «Rental contract clauses that are not valid in 2026…»; and the annual increase, in «How much can the rent go up in 2026 and 2027…». Here is the full map for beginners.

Before you start. This article is for information only and is not a substitute for advice from a lawyer or tax adviser. It is up to date as of 18 November 2026 and reflects Spain’s Urban Leases Act (LAU) as published in the BOE, Spain’s Official State Gazette (consolidated text last amended on 13 November 2026), Royal Decree-law 29/2026, ratified on 12 November by the Standing Committee of Congress (Diputación Permanente), the deposit rules of Madrid and Catalonia, and information from the Spanish Tax Agency. Each contract is governed by what was signed and by the law in force at the time.

The essentials in one minute

  • Before advertising, you need the energy performance certificate: its label goes in the listing and a copy in the contract. In Catalonia, you also need the cédula de habitabilidad. If there is gas, an inspection every five years.
  • If the flat will be the tenant’s home, it is a main-home tenancy and lasts at least five years if you are an individual. A seasonal (temporary) let requires a genuine reason, such as work or studies away from home.
  • In Barcelona, a stressed housing market area, the rent on a new contract is capped. In the Community of Madrid there is no stressed area: the starting rent is free, but the annual increase is limited.
  • You can ask the tenant for one month’s deposit, up to two months of additional guarantee (one if temporary) and at most one month in advance. You cannot charge them agency fees or contract costs, or require rent default insurance.
  • The deposit is lodged with the Agencia de Vivienda Social (Madrid) or INCASÒL (Catalonia). The Single Rental Register number is no longer required: the Supreme Court struck down that register in May 2026.
  • In income tax (IRPF), not everything is taxed: the reduction is generally 50% on contracts signed up to 1 December 2026, and can reach 100% on some first lets from that date.

The 10 steps at a glance

StepWhat it isRequired?Where
1. Energy certificateThe home’s rating, from A to G, with its labelYes, before advertisingQualified professional; registered with your region
2. Cédula de habitabilidadProves the home meets minimum standardsYes, in CataloniaTrámites gencat (Catalan government)
3. Gas and electricityGas inspection; electrical certificate if neededGas: yes, every 5 years. Electrical certificate: only in some casesDistributor or installation company
4. Type of contractMain home, seasonal or roomsThe minimum duration is set by lawLAU, arts. 2, 7, 9 and 9 bis
5. RentHow much you ask and how it risesThe cap, in stressed areasLAU, arts. 17 and 18; Housing Ministry index
6. ListingPrice, conditions and energy labelThe label, yes; in Catalonia, also the previous rent or the indexWherever you advertise
7. Tenant and guaranteesWhat you can and cannot ask forThe limits, yesLAU, arts. 17.2, 20 and 36
8. Contract and inventorySigning, annexes and condition of the flatCopy of the label, yes; inventory, highly advisableBetween the parties
9. DepositOne month’s rent, lodged with a public bodyYesAgencia de Vivienda Social or INCASÒL
10. After signingUtilities, padrón and taxDeclaring the rent, yesSuppliers, town hall, Tax Agency

Summary for guidance as of 18 November 2026, based on the LAU, Royal Decree 390/2021, the Catalan government, the Community of Madrid, Catalan Law 13/1996 and the Spanish Tax Agency.

Step 1. The energy certificate, before you advertise

It is a report drawn up by a qualified professional after visiting the home. It rates the flat with a letter, from A (most efficient) to G, according to what it consumes and emits, and suggests improvements. Royal Decree 390/2021 requires it for buildings or parts of buildings that are sold or let to a new tenant (article 3).

The energy efficiency label shall be included in every offer, promotion and advertisement…

Royal Decree 390/2021, article 15.2 (our translation)

So it is not a document for signing day but for listing day; agencies that advertise must also include the rating (article 17.3). On signing, a copy of the label is attached to the contract and the tenant receives the recommendations for use (article 17.2). It is valid for a maximum of ten years, or five if rated G (article 13.1), and to be legally valid it must be registered with your regional government (article 6.6); the professional usually handles this.

Step 2. The cédula de habitabilidad, if the flat is in Catalonia

According to the Catalan government, the cédula confirms that a home meets minimum habitability standards; if it has already been lived in, it is a second-occupation cédula. It records the usable floor area, the rooms and the maximum occupancy, and it is needed to sell, let or assign the use of a home and to connect water, electricity or gas. It is requested on the Catalan government’s procedures website, with options depending on the year of construction. In stressed areas, Catalan Decree-law 1/2025 also gives the tenant the right to receive it, together with the energy certificate where applicable.

Step 3. Gas and electricity: what is and is not required

Gas does have a periodic inspection: the Community of Madrid reminds users of piped gas and gas bottles that the installation must be inspected every five years. With piped gas, the company notifies the contract holder of the deadline; with bottles, the inspection is booked with an installation company. Check it is up to date before letting and, if the gas contract moves to the tenant’s name, tell them when the next one is due.

The electrical “boletín”, on the other hand, is not required to let a flat. It is the installation certificate signed by an authorised electrician. According to the OCU (Spain’s consumer organisation), the distributor usually asks for it when connecting electricity at a new supply point, raising the power above the certificate’s level or making technical changes, and in installations over 20 years old some contract changes may require an inspection. If the flat has been without electricity for years, ask your distributor.

Step 4. Choosing the contract: main home, seasonal or rooms

The type of contract depends on how the tenant will use the flat. If it will be their home, it is a main-home tenancy whatever the paper says: the LAU defines it as the letting of a habitable building to meet the tenant’s permanent housing need, and it includes letting a room (article 2).

TypeFor whomDurationWhat you need to know
Main homeSomeone who will live in the flat on a stable basisIf you agree less than 5 years (7 if the landlord is a company), it is extended each year up to that minimum if the tenant wishesThen, if nobody gives notice, up to 3 more years. You give at least 4 months’ notice; the tenant, 2
Temporary housingSomeone away from home for a specific reason, such as work or studiesMore than 31 days and, as a general rule, up to 12 monthsThe reason must be stated in the contract and be real and provable; without it, it is not temporary. Additional guarantee: one month at most
RoomsSeveral people, each with their own contractDepending on whether main home or temporaryThe sum of the rents cannot exceed that of the whole flat (art. 17.9)
Tourist letShort stays for touristsOutside the LAUNeeds regional and municipal authorisation; not covered here

Source: LAU, articles 2, 7.2, 9, 9 bis, 10, 17.9 and 36.5 (BOE, last amended on 13 November 2026).

Two details. If you might need the flat for yourself or a close relative, article 9.3 only lets you recover it before five years if you are an individual, state it expressly in the contract and give two months’ notice. And a temporary contract cannot be used to dodge the minimum duration: if it lasts more than twelve months without justification, or more than two are chained with the same person and home, the first is treated as a main-home tenancy (article 9 bis).

The rules on duration and notice have not changed: Royal Decree-law 28/2026 was not ratified on 12 November. Royal Decree-law 29/2026 does remain in force, with the extraordinary extension the tenant can request, as we explain in «Result of the vote on the housing decrees of 12 November 2026…».

Step 5. Setting the rent: Barcelona and Madrid are very different

Barcelona has been a stressed housing market area since 16 March 2024, according to the resolution published in the BOE the day before, for three years; the Catalan government has approved an extension, which we cover in «Renting a flat in Barcelona in 2026…». On a new main-home contract, the starting rent cannot exceed the last rent of the previous five years for that home, updated (article 17.6 of the LAU); if you are a large landlord (gran tenedor), nor the Housing Ministry’s reference index (article 17.7). If you have never let it, there is no previous rent: as we explain in that guide, based on the OCU’s analysis, the cap becomes the index. Download your home’s report and keep it, because in Catalonia you will have to state the figure in the listing and in the contract.

In the Community of Madrid, no municipality is on the BOE list of stressed areas (TaxDown, 16 November 2026): you and the tenant agree the first rent. What is limited is the annual increase: the LAU ties it to the IRAV index (article 18) and, until 31 December 2027, Royal Decree-law 29/2026 caps it at 2% unless otherwise agreed, and at nothing if the rent exceeds the maximum of the reference index. Even so, check the index in Madrid too: from 1 December 2026 it can give you the highest income tax reduction.

Step 6. The listing, and why you no longer need the Single Register number

In the listing, the mandatory item is the energy label. In Catalonia’s stressed areas, Decree-law 1/2025 added that advertising and offers must state the index price or, where applicable, the rent of the previous contract, and whether the landlord is a large landlord; failing to do so is a serious infringement.

And the registration number? Royal Decree 1312/2024 created a Single Rental Register (Registro Único de Arrendamientos) for short-term lets offered on online platforms: tourist, seasonal and room lets. From 1 July 2025 an identification number was needed to advertise on them, obtained by registering with the Land Registry. It was never mandatory for main-home tenancies.

That obligation no longer exists. In a judgment of 19 May 2026, published in the BOE on 8 June, the Supreme Court, on an appeal by the Valencian regional government, struck down the provisions that created the single register and the obligation to register in order to obtain the number, including the voluntary number for long-term lets. It upheld the single digital window and the platforms’ obligation to send data. For a tourist flat, your region’s tourism register applies.

Step 7. Choosing the tenant: what you can and cannot ask for

WhatCan you ask for it?LimitWhere
Cash depositYes, it is mandatoryOne month’s rent for a homeLAU, art. 36.1
Additional guarantee (deposit or bank guarantee)Yes, if agreedUp to two months on a main-home contract of up to 5 years (7 if you are a company); one on a temporary oneLAU, art. 36.5
Rent in advanceOnly one monthOne month at mostLAU, art. 17.2
Agency fees and contract costsNoCannot be passed on to the tenant, directly or indirectlyLAU, art. 20.2
Rent default insuranceCannot be requiredIf you want it, you take it out and pay for itLAU, art. 36.5
ID and proof of incomeYesOnly what is necessary, deleted once no longer neededGeneral Data Protection Regulation

Source: LAU, consolidated text in the BOE (13 November 2026). The additional guarantee is kept separately: only the deposit is lodged with the public body.

With personal data, ask for what is needed, when it is needed: for a viewing it is enough to know who is coming; proof of income, once both sides are interested; and copies, for the contract. If you do not choose someone, delete what they sent you. We go into detail in «What data and documents you can be asked for to rent a flat in 2026…», and what to do about non-payment in «Tenant not paying the rent in 2026…».

Step 8. The contract and the inventory

The contract identifies the parties and the home and sets the duration, the rent and how it is paid (unless agreed otherwise, within the first seven days of the month, article 17.2), the deposit, the guarantees and who pays which costs; in a temporary one, the reason. In Catalonia’s stressed areas it must also state the last rent of the previous five years or the index, whether you are a large landlord and the purpose (Decree-law 1/2025).

…may not be passed on to the tenant, either directly or indirectly…

Urban Leases Act (LAU), article 20.2, on property management and contract formalisation costs (our translation)

If you use an agency or pay someone to draw up the contract, that is your cost, whatever it is called. General building costs, such as community fees, can be agreed in writing as payable by the tenant, stating the annual amount (article 20.1); taxes cannot, unless the tenant is the taxpayer. And draw up an inventory: a record of the condition of each room, dated photos, meter readings, keys and furniture, signed by both. Without it, arguing over the deposit in a few years will be your word against theirs. How to do it, in «Handing over the keys and the inventory at the start of a tenancy in 2026…».

Step 9. The deposit: collecting it and lodging it

The one-month deposit is not yours: it is returned within a month at the end of the contract if there are no debts or damage. Meanwhile, in Madrid and Catalonia you have to lodge it:

Community of MadridCatalonia (Barcelona)
WhereAgencia de Vivienda Social (Calle Basílica, 23) or onlineInstitut Català del Sòl (INCASÒL)
Deadline30 working days from signing, according to the deposit page (another section says 30 days from the following day)Two months from the contract being formalised (Law 13/1996, art. 3.1)
HowOnline self-assessment, which counts as the receipt; payment by card or at Banco Santander. Also in person, ideally by appointmentINCASÒL channels
Copy to the tenantAdvisableMandatory, within the following two months (art. 5)
Changes and refundForm 252 (update or new tenant) and 254 (refund, within the following five years)Updates are also lodged
If you do not comply2% surcharge if late (5% after a year). Without lodging, fines of 5% to 25% (up to €6,010.12) or 26% to 50% (up to €90,151.82)Surcharges, interest and fines under Catalan law

Sources: Community of Madrid, «Fianzas de arrendamiento» (updated 28 October 2026), and Catalan Law 13/1996 (BOE, last amended 25 March 2026). As Madrid gives the deadline in two ways, the prudent course is to lodge it in the first few days after signing.

Step 10. After signing: utilities, padrón and tax

Utilities can stay in your name, with the tenant paying you for consumption, or move to theirs, which is usual; if they stay in your name, unpaid bills are yours (see «Breakdowns, utilities and the rubbish tax in a rented flat in 2026…»). The tenant must register on the padrón (the municipal register of residents) where they live, and their current contract with the last receipt is enough: they do not need your permission, as we explain in «Registering on the padrón in a rented flat in 2026…». And from the first month, what you collect is income you must declare.

Tax: how your rental income is taxed

What you collect is income from real estate capital. Not all of it is taxed: from the year’s income you subtract expenses and depreciation and, if the result is positive and the let is a main home, you apply a reduction. Only what remains is added to your other income.

  • Deductible expenses, according to the Tax Agency: mortgage interest and other financing costs, upkeep and repairs, taxes and charges (such as IBI, the local property tax), doubtful debts, third-party services, insurance, utilities you pay and other necessary costs, such as drawing up the contract or legal defence.
  • Limit: interest and repairs together cannot exceed what you collect for that flat in the year; the excess can be deducted over the next four years.
  • Depreciation: 3% a year of the higher of what the home cost you and its cadastral value, in both cases excluding the land. You do not pay it, but it recognises the wear on the building.
  • Reduction: only if the flat meets the tenant’s permanent housing need; not for seasonal or tourist lets, nor on amounts the Tax Agency adjusts in an inspection.

The reduction depends on the contract date. Since 26 May 2023 (Law 12/2023) it has generally been 50%. Royal Decree-law 29/2026 creates a new scale for contracts concluded from 1 December 2026. This is what affects someone letting for the first time who is not a large landlord:

Contract signed…CaseReduction
Up to 1-12-2026General rule50%
Up to 1-12-2026First let in a stressed area to a tenant aged 18 to 35, or social let to a public body or non-profit70%
Up to 1-12-2026Home refurbished in the previous two years60%
From 1-12-2026, first letStarting rent below the maximum of the reference index (or the value set by the Housing Ministry)100%
From 1-12-2026, first letStressed area and tenant aged 18 to 3595%
From 1-12-2026, first letStressed area90%
From 1-12-2026, first letTenant aged 18 to 3585%
From 1-12-2026, first letStarting rent equal to or above the index limit50%
From 1-12-2026Social let / home refurbished in the previous two years70% / 60%

Sources: Spanish Tax Agency, Practical Income Tax Manual 2025 and «Main tax changes introduced by Royal Decree-law 29/2026». If several cases apply, the highest percentage is used, and the reduction is kept while the requirements are met.

Watch out for 1 December. According to the Tax Agency, the new scale applies to contracts concluded from 1 December 2026, and the previous one to those signed between 26 May 2023 and 1 December 2026: that day appears in both rules. If you want a particular scale, do not sign on that exact day and check with a tax adviser.

Worked example: €1,100 a month in Madrid

You let a flat in the city of Madrid for the first time as a main home, for €1,100 a month for a full year. It cost you €230,000 plus €20,000 in purchase costs and taxes, and according to the IBI bill the building is 50% of the cadastral value: the depreciable part is €125,000. You pay the IBI (€480), community fees (€1,320), insurance (€240) and a repair (€360), with no mortgage. The figures are made up, and the 30% marginal rate is only an assumption: yours depends on your income.

50% (contract up to 1-12-2026, or later with rent equal to or above the index)85% (from 1-12-2026, tenant aged 18 to 35)100% (from 1-12-2026, rent below the index)
Income (€1,100 × 12)€13,200€13,200€13,200
Deductible expenses−€2,400−€2,400−€2,400
Depreciation (3% of €125,000)−€3,750−€3,750−€3,750
Net income€7,050€7,050€7,050
Reduction−€3,525−€5,992.50−€7,050
Added to your taxable income€3,525€1,057.50€0
Indicative tax at 30%€1,057.50€317.25€0

Illustrative example with assumed figures. In the first year, income and expenses count from the contract date. For the 100%, the index limit for your home on the signing date must be checked.

With expenses and depreciation properly declared, of €13,200 collected at most €3,525 is taxed; and from 1 December 2026, the rent you set and the tenant’s age can change the figures considerably. Before setting the price, ask an adviser for the calculation of the corresponding taxes with your own figures.

Checklist before handing over the keys

  1. Valid, registered energy certificate, with the label in the listing.
  2. In Catalonia, a valid cédula de habitabilidad.
  3. Gas inspection up to date; if you connect electricity or raise the power, ask about the electrical certificate.
  4. Contract chosen according to the tenant’s real use, with the need to recover the flat in writing if you reserve it.
  5. Rent within the cap in Barcelona, with the index report saved; in Madrid, check the index for income tax.
  6. Listing with the label and, in Catalonia, the previous rent or index and whether you are a large landlord.
  7. Guarantees within the limits, with no fees or rent default insurance charged to the tenant.
  8. Contract signed with the copy of the label, and an inventory with photos and meter readings.
  9. Deposit lodged and a copy of the receipt given to the tenant.
  10. Receipts and invoices kept for your tax return.

How we do it at Llavely

The hardest part of letting for the first time is usually not the paperwork, but choosing the right person. At Llavely, renting works the other way round: you list your home for free in the provinces of Madrid and Barcelona and see the tenants who match it, with their identity and income already verified by our team (documents are deleted after the check). You choose whom to invite to view it: tenants do not message you, so you do not have to sift through dozens of messages or ask strangers for payslips. A member of our team reviews every home in under 24 hours before it is published.

Once you agree, the contract is signed electronically and includes the inventory. What we do not do: Llavely does not collect the rent or the deposit, which go directly from tenant to landlord; you lodge the deposit with the Agencia de Vivienda Social or INCASÒL yourself, and taxes are for your adviser. If you have a flat to let, list it for free. And if you are thinking of selling it in the Community of Madrid, you can also do that with us for 2.5% + VAT, all included, and request your free valuation.

Frequently asked questions

What do I need to let my flat for the first time in Spain?

The energy performance certificate before advertising, because its label goes in the listing and a copy in the contract. In Catalonia, also the cédula de habitabilidad, and if there is gas, an up-to-date inspection. After signing, lodge the deposit (Agencia de Vivienda Social in Madrid, INCASÒL in Catalonia) and declare the rent in your income tax return.

Is an energy certificate mandatory to let a flat?

Yes. Royal Decree 390/2021 requires it for homes let to a new tenant, and its label must appear in every offer and advertisement. It is valid for a maximum of ten years, or five if rated G, and must be registered with your regional government.

Can I use a seasonal contract to avoid being tied in for five years?

Only if the tenant is genuinely away from their main home for a specific reason, such as work or studies, stated in the contract and provable. As a general rule it lasts from 31 days to 12 months. Without a reason it is not temporary, and if it is extended without justification or more than two are chained, it is treated as a main-home tenancy from the start.

Do I need a Single Rental Register number?

No. It only applied to short-term lets (tourist and seasonal) advertised on platforms, and the Supreme Court struck down the provisions that created it in its judgment of 19 May 2026, published in the BOE on 8 June. The single digital window and platforms’ obligation to send data remain.

How long do I have to lodge the deposit?

In the Community of Madrid, 30 working days from signing, according to the Agencia de Vivienda Social’s page; late lodging carries a 2% surcharge (5% after a year). In Catalonia, two months with INCASÒL, and you must give the tenant a copy of the receipt.

Can I charge the tenant agency fees or contract costs?

No. Article 20.2 of the LAU prevents passing on property management and contract formalisation costs, and you cannot require rent default insurance either. You can ask for one month’s deposit, up to two months of additional guarantee (one if temporary) and at most one month in advance.

How much tax do I pay on rental income in Spain?

It depends on your expenses and your income tax rate. You subtract expenses and 3% depreciation from your income and, for a main home, apply a reduction: 50% in general on contracts signed up to 1 December 2026 and, from that date, up to 100% on a first let with the rent below the index. In our €1,100-a-month Madrid example, at most €3,525 of the €13,200 collected would be taxed.

Sources

  1. Law 29/1994 of 24 November on Urban Leases (LAU), consolidated text: articles 2, 7, 9, 9 bis, 10, 17, 18, 20 and 36 (BOE – Spain’s Official State Gazette, last amended 13 November 2026)
  2. Ratification of Royal Decree-law 29/2026 of 6 October (Diario del Derecho, Iustel; BOE of 13 November 2026)
  3. Royal Decree 390/2021 of 1 June approving the basic procedure for certifying the energy efficiency of buildings (BOE, 2 June 2021)
  4. Judgment of the Third Chamber of the Supreme Court of 19 May 2026 on Royal Decree 1312/2024 and the single rental register (BOE, 8 June 2026)
  5. Catalan Law 13/1996 of 29 July on the Register and Deposit of Deposits for Urban Property Leases, consolidated text (BOE, last amended 25 March 2026)
  6. Catalan Decree-law 1/2025 of 28 January on urgent rent containment measures (Government of Catalonia; BOE, 14 March 2025)
  7. Resolution of 14 March 2024 of the Secretary of State for Housing on the stressed housing market areas declared in Catalonia (BOE, 15 March 2024)
  8. Main tax changes introduced by Royal Decree-law 29/2026 of 6 October (Spanish Tax Agency, October 2026)
  9. Practical Income Tax Manual 2025: reduction for letting property used as a home (Spanish Tax Agency, accessed 18 November 2026)
  10. Practical Income Tax Manual 2025: net income from real estate capital, deductible expenses and depreciation (Spanish Tax Agency, accessed 18 November 2026)
  11. Rental deposits (Community of Madrid, page updated 28 October 2026)
  12. Reminder to users of piped and bottled gas that an inspection is required every 5 years (Community of Madrid, 28 November 2019)
  13. Second-occupation habitability certificate (Trámites gencat, Government of Catalonia, accessed 18 November 2026)
  14. Electrical certificate: what it is and when it is needed (OCU, 10 July 2025)
  15. Stressed areas: what they are, where they are and how to tell if your home is in one (TaxDown, updated 16 November 2026)
  16. Single Digital Rental Window: legal alert (KPMG Abogados, March 2025)

Your next home is looking for you.

Create your free profile in 5 minutes.