Airbnb is legal in Spain overall, but heavily restricted by region and city

Airbnb operates in Spain, but it is not legal everywhere in the country in the same way. Spain's national government allows short-term rentals, but each region (called an autonomous community) and each city sets its own rules. Some cities ban Airbnb entirely. Others require licenses, limit the number of properties you can rent, or restrict where rentals can happen. Barcelona and Madrid have the strictest rules. If you are thinking about renting out a property or booking through Airbnb in Spain, you need to check the specific city's rules first — national law is only the starting point.

The practical effect is that legality depends entirely on your address. A property that is legal to rent on Airbnb in one neighborhood may be illegal in another just a few blocks away if the rules differ between municipalities. This is why landlords and guests both need to verify the rules for their specific city before listing or booking.

Key Takeaways

  • Spain allows short-term rentals at the national level, but cities and regions can ban or heavily restrict them.
  • Barcelona has banned new Airbnb licenses since 2015 and plans to phase out existing ones by 2028.
  • Madrid, Valencia, and Seville all require licenses and limit how many properties one person can rent.
  • Some smaller towns have no restrictions, while others ban short-term rentals entirely.
  • Airbnb listings that break local rules can be removed, and landlords can face fines.

Barcelona's near-total ban on short-term rentals

Barcelona has the strictest rules in Spain. The city stopped issuing new Airbnb licenses in 2015 and has not issued any since. The city government decided that short-term rentals were driving up housing costs and pushing long-term renters out. In 2023, Barcelona announced a plan to phase out all remaining Airbnb licenses by 2028. This means listings that are legal now will become illegal in a few years.

If you own a property in Barcelona and want to rent it short-term, you cannot get a new license. If you already have one, it will expire. Airbnb has removed thousands of Barcelona listings that no longer have valid licenses. Landlords who continue to rent without a license face fines starting at €3,000 and going much higher for repeat violations. The city has also pursued legal action against property owners who repeatedly list illegally.

Madrid, Valencia, and Seville require licenses and set limits

Madrid allows short-term rentals but requires a license from the city. The license is tied to a specific property and a specific owner — you cannot buy a license and move it to another building. Madrid also limits how many properties one person can own and rent short-term, though the exact number has changed as rules have been updated. Unlicensed rentals are removed from Airbnb and the owner can be fined.

Valencia and Seville follow a similar model: licenses are required, properties must be registered, and there are limits on how many one person can operate. Both cities have also tightened rules in recent years as housing pressure has grown. If you list a property without a license in these cities, Airbnb will delist it once the city reports it or the platform's compliance team identifies it. The fines for operating without a license are substantial and increase with each violation.

How Airbnb enforces local rules on its platform

Airbnb does not make the rules, but it does enforce them. When a city passes a law banning or restricting short-term rentals, Airbnb works with local authorities to identify listings that break the rules. The company removes listings that do not have required licenses or that violate local caps on the number of properties. Airbnb also uses its own compliance team to scan for violations.

This means that even if you list a property illegally, it may stay up for a while — but once the city reports it to Airbnb or Airbnb's own compliance team finds it, the listing comes down. Airbnb also asks hosts to confirm they have the right licenses and permits when they list a property. Hosts who lie about having licenses can be permanently banned from the platform, and their payment account may be frozen.

Smaller cities and towns with fewer or no restrictions

Not all of Spain has Barcelona's strict rules. Many smaller cities and towns allow short-term rentals with minimal or no restrictions. Some require a straightforward registration or notification to the local government, but do not issue licenses or set caps on the number of properties. Rural areas and beach towns often have looser rules than major cities, and some have no formal regulation at all.

However, this can change. Cities that have not restricted Airbnb yet may do so in the future as housing pressure grows. Before you book or list a property outside a major city, check the local government website or call the town hall to confirm the current rules. Rules can shift year to year, and what was legal last year might not be legal now. Many smaller municipalities are moving toward stricter rules as they see the impact on local housing availability.

What happens if you rent illegally

If you list a property on Airbnb without the required license or in violation of local rules, several things can happen. First, Airbnb may remove your listing once it is reported or discovered. Second, the city can fine you. Fines vary by city but often start at €3,000 and can reach €10,000 or more for repeat violations or serious breaches. In some cases, cities have pursued criminal charges against landlords who repeatedly rent illegally.

Tenants and guests are generally not at legal risk for booking through Airbnb, even if the listing is illegal. The liability falls on the landlord. However, if a property is operating illegally and something goes wrong — a fire, an injury, a dispute — your insurance may not cover it because the rental itself is not recognized by local law. You could face additional liability beyond the fines.

How to check the rules for a specific Spanish city

The easiest way to learn about Airbnb is legal in a specific city is to contact the local government directly. Most Spanish towns have a website with information about short-term rental rules, or you can call the town hall and ask for the department that handles housing or tourism. In Spanish, you can ask for "regulación de alquileres turísticos" (regulation of tourist rentals) or "viviendas de uso turístico" (tourist use housing).

You can also check Airbnb's own help section, which lists some cities with restrictions, though it is not always complete or up-to-date. If you are booking a property, look at the listing details — Airbnb now asks hosts to confirm they have the right permits, and many listings include information about licenses. If a listing does not mention a license in a city that requires one, that is a red flag that the property may be operating illegally.

Frequently Asked Questions

Can I book an Airbnb in Barcelona right now?

Yes, but the number of legal listings is shrinking. Listings that have valid licenses issued before 2015 are still operating, but they will expire by 2028. When you book, check that the listing mentions a valid license number. Many Barcelona listings are now illegal and may be removed at any time.

What is the difference between a tourist rental license and a regular rental license in Spain?

A tourist rental (or short-term rental) license is for properties rented for days or weeks. A regular rental license is for long-term tenants (usually a year or more). They are different permits, and you cannot use one to cover the other. A property licensed for long-term rental cannot legally be rented short-term on Airbnb.

If I book an illegal Airbnb listing, can I get in trouble?

No. Guests and renters are not held responsible for whether a listing is legal. The liability is entirely on the property owner. However, if something goes wrong and the property is operating illegally, your protections may be weaker because the rental itself is not recognized by local law.

Do I need a license to rent out my apartment in Spain if it is not on Airbnb?

It depends on the city and how you rent it. If you rent it long-term to a tenant, you usually do not need a special license — just a standard rental agreement. If you rent it short-term (days or weeks) to tourists, most cities that regulate short-term rentals require a license regardless of which platform you use. The rules explore to all short-term rentals, not just Airbnb.

Can rules change after I buy a property in Spain?

Yes. Cities can pass new laws that restrict or ban short-term rentals at any time. If you buy a property planning to rent it on Airbnb, you are taking a risk that the city may change its rules and make that illegal. Barcelona is the clearest example — rules that were legal in 2010 are being phased out by 2028. Always check current rules before buying or listing.