Looking to combat soaring housing costs, Barcelona mayor Jaume Collboni announced plans to ban short-term apartment rentals by the end of 2028.
The measure, announced June 21 during a city government event, would strip more than 10,000 apartments of their short-term rental licenses, according to Reuters.
Collboni called short-term vacation rentals "Barcelona's largest problem," saying the city's rents have risen 68% over the past decade while the cost to buy a home has jumped 38% over the same period.
Barcelona's decision comes as New York takes stock of its own recent crackdown on short-term rentals of 30 days or fewer, which went into effect last September.
Supporters of New York's measure have also cited improved housing affordability as a goal, but vacation rental platform Airbnb has been critical of the regulation's effectiveness.
"We've seen incredible jacking up in pricing for hotels, no change in inventory for long-term leases or sales, and prices are still going up for homes in New York City," said Jay Carney, Airbnb's head of global policy and communications, in an interview with Travel Weekly in May.
"We want and work toward reasonable, balanced regulation that works for cities and helps solve specific problems but allows our hosts to succeed and bring that economic activity to localities," added Carney.