Sókerim.
Barcelona

Cédula de Habitabilidad and First Occupation Licence in Barcelona: What They Are and Why You Need Them

Before you can move into a resale or newly built home in Barcelona, Spanish law requires at least one habitability certificate from the town hall. This article explains, in plain English, what the Cédula de Habitabilidad and the Licencia de Primera Ocupación actually certify, when each applies, and how they fit into a purchase from abroad.

Who is behind this page. Sókerim is a Spanish real-estate agency (Lyrio Home Solutions, S.L.) with offices in the Madrid region and Alicante and a network of about 1,000 collaborating agencies across Spain. We help people who live abroad find, buy and manage property in Spain, in English, from the first search to the keys.

Two Certificates, One Purpose: Proving a Home Is Fit to Live In

If you are buying a home in Barcelona from the United Kingdom, you will come across Spanish paperwork that has no exact equivalent back home. Two terms turn up again and again: the Cédula de Habitabilidad and the Licencia de Primera Ocupación. Both are issued by the town hall, both relate to whether a dwelling can legally be lived in, and both can affect how quickly you can move in, rent out the property, or connect utilities in your own name.

This guide sets out what each certificate actually proves, which one is likely to apply to a resale flat or a new-build home in Barcelona, and where a buyer based abroad typically needs to ask for help. None of this replaces advice from a Spanish lawyer working on your behalf, but it should help you ask the right questions before you commit to a purchase.

Rules differ by region, so always confirm with a local lawyer or gestoría which certificate applies before signing anything in Barcelona.

Buying in Barcelona: what changes here

Barcelona province combines the cosmopolitan city of Barcelona with coastal towns and inland areas of Catalonia. It appeals to buyers interested in urban living, cultural life, and business opportunities, as well as those seeking coastal or countryside properties within reach of a major European city.

Barcelona's international airport offers extensive global connections, supporting both permanent relocation and investment purposes. Property types range from historic apartments in the city center to modern flats and houses in surrounding towns, with tourism activity in coastal areas increasing during summer.

This section sets out dated, sourced figures for Barcelona (province) — residents, advertised prices, access and climate — so you can see the place as it is now. They help you judge, realistically, whether Barcelona (province) suits what you have in mind, whether living there, holidaying or renting it out.

The people who live in Barcelona (province)

The province of Barcelona as a whole, not merely its capital city, had 5,959,941 registered residents on 1 January 2025, according to the INE annual census. This figure covers every municipality within the province, from its largest towns to its smallest villages. In the province of Barcelona, 1,075,119 residents hold a foreign nationality, about 18 of every 100 people registered there. That is a significant but not dominant share, and it varies considerably from one town to another within the province.

INE counted only 15,818 British nationals registered in the whole province of Barcelona on 1 January 2025, a small number of compatriots. Remember that the padrón only reflects people living there most of the year, not second-home owners. Here are the largest foreign communities registered in Barcelona (province) on 1 January 2025, drawn from the nationality figures INE publishes for each municipality.

Nationality20252021Per 100 inhabitants
Morocco141,867135,2132.4
Colombia76,47734,9771.3
China58,78352,1781.0
Peru49,36125,1550.8
Venezuela40,33525,9910.7
Romania31,51632,9770.5
France29,96626,2680.5
Argentina28,96518,5550.5
United Kingdom15,81816,5700.3

Beyond the main nationalities listed above, the INE also registers smaller groups, Germans, Italians, Dutch, Belgians or Scandinavians among them, across Barcelona province. This breakdown reflects 1 January 2022, the last edition counting every nationality individually, a different year from the table above.

NationalityRegistered residents
Italy66,375
Russia15,979
Germany14,649
Portugal11,186
Chile8,333
United States8,156
Poland7,362
Netherlands6,571

What homes are advertised for in Barcelona (province)

Our price bank includes 8,868 homes for sale throughout the province of Barcelona, with a median of €3,190/m² and a median ticket of €315,000. Both numbers land close to the €3,150/m² median of the 133 towns we track across Spain. Prices vary considerably from one listing to the next, though the bulk of the market, its middle half, falls between €2,250 and €4,470 per square metre.

Type of homeMedian asking price per m²Median asking priceAdverts
Flats and apartments€3,360/m²€290,0007,222
Houses and villas€2,420/m²€460,0001,646
All homes€3,190/m²€315,0008,868

On the median asking price in Barcelona (province) of €315,000, transfer tax on a resale home at the regional rate of 10 % comes to about €31,500, plus roughly €3,800 for notary, land registry and gestoría. That brings the extra amount a buyer needs on top of the price to about €35,300, money that has to come from savings rather than the mortgage. The figures reflect asking prices in listings live on 2026-12-01, rather than prices actually paid. Final amounts are agreed through negotiation and vary with the state, location and orientation of each property.

This table sets out population, foreign residents per 100 people and median price per square metre for the towns we track in Barcelona (province), highlighting how much local markets can vary.

PlaceInhabitantsForeign residents per 100Median asking price per m²
Barcelona1,713,24725.5€5,000/m²
Badalona230,64218.4€2,960/m²
Sant Cugat del Vallès97,95915.3€5,000/m²
Vilanova i la Geltrú71,30514.0€3,000/m²
Castelldefels69,68924.2€4,690/m²
Sitges32,69027.5€5,450/m²
Calella20,77522.7€2,740/m²

Renting in Barcelona (province): holiday lets and long-term

In 05/2026, INE's experimental estimate based on platform listings counted just 15,905 tourist homes in Barcelona (province), with 80,469 bed places, roughly 3 per 1,000 residents. This low figure fits a market that is predominantly residential. The Ministry of Housing's reference system puts the median long-term rent for a flat in Barcelona (province) in 2024 at €750 a month, drawn from 360,279 declared tenancy contracts. It reflects what was actually paid in the past rather than holiday-let income, and rents can move in either direction. Long-term rents for flats in the official register typically range from €600 to €950 a month for the middle half of the market.

Getting to Barcelona (province) and its climate

The only commercial airport within the province of Barcelona is Aeropuerto de Barcelona-El Prat (BCN), so it is worth checking in advance whether it operates in the season you plan to travel, since schedules can vary through the year. These weather readings come from Barcelona, the capital of the province, so inland areas, higher ground or other islands within the same province can show noticeably different conditions. January averages 8.2 °C, with a typical overnight minimum of 5.3 °C, while August reaches a mean of 23.9 °C and a daily maximum around 28.3 °C. Winter here is cool rather than cold, so heating matters and is worth checking in any home. This is a relatively wet part of Spain, with about 621 mm of rain a year falling on roughly 57 days. Buyers should pay attention to damp when inspecting any home. All figures are AEMET's official 1981-2010 normals for the Barcelona, Fabra station, about 6 km away; expect small local variations, especially further inland or at higher elevation.

MonthMean °CAvg. max °CAvg. min °CRain (mm)Sunshine (h)
January8.211.15.350166
February9.112.55.743175
March11.415.27.644188
April13.217.29.153211
May16.821.012.558248
June20.825.216.430270
July23.828.419.324304
August23.928.319.541262
September20.724.616.775190
October16.820.113.491178
November11.814.78.866158
December9.111.86.446156

INE recorded 73,506 home sales in Barcelona (province) in the year to 09/2026. That level of activity typically gives buyers more comparables to judge a fair price and a broader pool of properties to choose from. The figures above cover the whole province of Barcelona, but they vary widely from town to town and from property to property. Share what you are searching for and we can review the details with you.

Sources and dates of the figures: INE, Censo anual de población (2025-01-01); INE, Estadística del Padrón continuo (1 de enero de 2022), provincias (2022-01-01); our group's own price bank, asking prices in active adverts (2026-12-01); Ministerio de Vivienda y Agenda Urbana, SERPAVI (2024); INE, Medición del número de viviendas turísticas (05/2026); INE, Estadística de Transmisiones de Derechos de la Propiedad (09/2026); OpenStreetMap contributors (ODbL); rutas OSRM (2026-10-05); AEMET, valores climatológicos normales (1981-2010).

Purchase costs in Barcelona

The transfer tax on a resale home is set by each Spanish region. In Barcelona the general rate is 10 %, and on top of it come notary, land registry and gestoría (roughly one more percent). On a new build you pay 10 % VAT plus stamp duty instead of the transfer tax. This money is not lent by the bank.

ItemOn a price of 250 000 €Set by
Transfer tax (10 %)25 000 €The region
Notary, registry, gestoría3 000 €Official fees
Approximate total28 000 €About 11,2 % of the price

What the Cédula de Habitabilidad Proves

The Cédula de Habitabilidad is a certificate issued by the town hall, or in some regions by the regional housing department, confirming that a dwelling meets the minimum conditions needed to be lived in: adequate ventilation and natural light, working sanitation, and a kitchen and bathroom that function properly. It says nothing about the quality of a renovation or its finishes, only that the basic conditions for occupation are met.

Not every autonomous community uses this document in the same way. In some areas it is a routine step before utility companies will connect water and electricity to a resale home; in others, including the Madrid region, town halls have largely replaced it with different paperwork tied to the First Occupation Licence described below. Your lawyer or gestoría will confirm exactly which document Barcelona asks for before you commit to a purchase.

Ask early: requesting the right certificate can take several weeks, and utility companies in Barcelona will not open a new contract without it.

The First Occupation Licence and New-Build Purchases

The Licencia de Primera Ocupación, or First Occupation Licence, is issued by the town hall once a newly built property, or one that has undergone major works, has been inspected and matches the approved building project. For new builds, the notary and the bank financing the purchase usually want to see this licence, or at least proof that it has been formally requested, before completion takes place.

If you are buying a property that our own renovation team has refurbished as part of a managed investment, the works are designed so that this paperwork can be obtained through the normal municipal process; we coordinate with the town hall and your lawyer throughout, but we cannot promise a date, since municipal timetables vary and sit outside our control.

NIE

Your Spanish tax number

You will need an NIE to be named on any licence application, sign the deed, and register utility contracts in your own name.

22 %

Typical renovation share

Across the 19 homes our group has bought, renovated and resold since 2022, the median renovation budget has represented 22% of the purchase price; works of this scale usually call for these licences to be checked or renewed.

90/180

Visits from the UK

As a UK citizen you can visit Spain for up to 90 days in any 180-day period without a visa, which is normally enough time for viewings, signing and dealing with paperwork.

10 %

New-build VAT

New-build homes carry 10% VAT plus stamp duty rather than transfer tax, and the First Occupation Licence is typically requested as part of the same paperwork trail.

How These Certificates Fit Into a Purchase From the UK

When you buy from the United Kingdom, these certificates usually surface at two points: before you sign the deed, when your lawyer checks that the property is registered correctly and all paperwork is in order, and again if you ever apply for a mortgage, since Spanish lenders such as those arranged through our partner Colibrí Finances want reassurance that the home is legally habitable before they commit any funds.

None of this paperwork replaces independent legal advice. A lawyer working on your behalf, separate from the seller's team, should review these certificates alongside the Land Registry extract, confirm there are no outstanding debts attached to the property, and explain in plain terms how any missing document might affect your timeline, since municipal processes in Spain can move slowly and are not something any agency, including ours, can speed up by itself.

DocumentApprox. time to obtain (weeks)Who issues it
Cédula de Habitabilidad4Town hall or regional housing body
First Occupation Licence8Local town hall (Ayuntamiento)
Updated certificate after major works6Town hall

If you live in the United Kingdom

Spain is a relatively short flight away from most UK airports, making regular visits to a Spanish property straightforward for owners based in Britain. Many British buyers are drawn to Spain for its climate, coastal lifestyle and established expatriate communities. One practical point to bear in mind is that Spanish inheritance law differs from UK rules, so it is worth taking specific advice on how it may affect the property and one's estate. Currency movements between sterling and the euro can also affect the overall cost of purchase and ongoing expenses.

What a Spanish bank will usually ask you for

Tax at home and in Spain

Spain and the United Kingdom have a double taxation agreement in place, and a local tax adviser should confirm how rental income or gains from Spanish property must be declared and reported to HMRC.

Staying in Spain

As the United Kingdom is no longer an EU member state, British citizens may stay in Spain for up to 90 days in any 180-day period without a visa, and must apply for a visa or residence permit for longer stays.

Since the United Kingdom uses the pound sterling (GBP) rather than the euro, buyers should factor in exchange-rate movements and currency conversion costs when paying for a property or transferring funds to Spain.

Frequently asked questions

Do I need the Cédula de Habitabilidad to get a mortgage in Barcelona?

Most Spanish lenders, including those arranged through our partner Colibrí Finances, ask for proof that a home meets basic habitability standards before releasing funds. Whether that means the Cédula de Habitabilidad or another document from the town hall depends on Barcelona; your lawyer should confirm the exact requirement before you sign any mortgage offer, since rules vary by region and by lender.

What happens if a resale home in Barcelona does not have a valid certificate?

An expired or missing certificate does not automatically stop a sale, but it can delay connecting utilities in your name and may need to be renewed before you move in. Your lawyer can request it on your behalf during due diligence, and sellers often cover the cost of renewal since it is a standard part of preparing a property for sale.

Is the First Occupation Licence the same as a habitability certificate?

No. The First Occupation Licence confirms that a newly built or substantially renovated property matches the approved building project; the Cédula de Habitabilidad, where it applies, confirms ongoing habitability conditions for any dwelling, new or old. In many areas the two documents work together, and a lawyer familiar with Barcelona can explain which one is relevant to your purchase.

Can Sókerim help me get these certificates as a buyer based in the UK?

We coordinate with your lawyer and the town hall throughout a purchase handled in English, and our own renovation team works with these requirements in mind on managed investment projects. We do not issue certificates ourselves, since that is a municipal process, but we make sure the right applications are filed and followed up on your behalf.

Will Brexit affect how long it takes to sort out this paperwork?

Brexit has not changed the municipal process for these certificates, but it does mean that as a UK citizen you are limited to 90 days in any 180-day period in Spain without a visa, so it is worth planning viewings, signing and any follow-up paperwork around that limit rather than assuming open-ended time in the country.

Tell us about your plan and we reply in English within 24-48 hours

A member of our team who works with international buyers every day will read your message and answer you personally. No cost and no obligation.

By sending this form you accept our Privacy policy.

More guides for you