Spain's Supreme Court to rule on Barcelona's controversial 'Amazon Tax' on e-commerce delivery firms

The city respected the court's decision but disagreed with it fundamentally.
Barcelona's response after lower courts struck down the tax, before appealing to Spain's Supreme Court.

En el cruce entre la economía digital y la soberanía municipal, el Tribunal Supremo de España se dispone a resolver una pregunta que trasciende a Barcelona: ¿pueden las ciudades exigir a las grandes plataformas de comercio electrónico que paguen por el espacio público que consumen? Lo que comenzó como una condición política para aprobar un presupuesto municipal en 2020 se ha convertido en un litigio de alcance nacional, donde el derecho a gravar la nueva economía choca con el principio de libre circulación de mercancías. La respuesta del alto tribunal no solo determinará el destino de 2,6 millones de euros anuales, sino que trazará los límites de lo que las administraciones locales pueden hacer ante las transformaciones que el comercio digital impone sobre la vida urbana.

  • Barcelona aprobó el llamado 'impuesto Amazon' con el respaldo de cinco partidos, convencida de que las empresas de reparto deben compensar el desgaste y la congestión que generan en el espacio público.
  • En julio de 2024, el Tribunal Superior de Justicia de Cataluña lo anuló al considerar que vulneraba el principio de libre circulación de mercancías, dando la razón a seis organizaciones del sector logístico y digital.
  • La ciudad no cedió: la teniente de alcalde Laia Bonet anunció el recurso ante el Supremo, argumentando que la lógica aplicada a los cajeros automáticos bancarios debería extenderse a las flotas de reparto que colonizan las aceras.
  • El Tribunal Supremo ha admitido el recurso y deberá decidir si un municipio puede gravar a empresas en función de sus ingresos brutos por el uso intensivo de la vía pública.
  • El veredicto marcará un antes y un después: una victoria de Barcelona podría desencadenar una oleada de tributos similares en otras ciudades españolas y europeas; una derrota cerrará esa vía regulatoria para los ayuntamientos.

El 'impuesto Amazon' de Barcelona nació como una condición política: el republicano Ernest Maragall lo exigió a cambio del apoyo de su partido a los presupuestos municipales de 2020. La ordenanza, que finalmente entró en vigor en verano de 2024 con el respaldo de cinco formaciones, pretendía cobrar a las empresas de reparto de comercio electrónico por el uso que hacen del espacio público. Solo afectaría a operadores con ingresos superiores al millón de euros anuales y generaría unos 2,6 millones de euros al año, una cifra modesta pero cargada de simbolismo.

La respuesta del sector no tardó. Seis organizaciones, entre ellas la Asociación Española de Empresas de Mensajería y la Asociación Española de Economía Digital, impugnaron la medida alegando inseguridad jurídica y tributación encubierta. En julio de 2024, el Tribunal Superior de Justicia de Cataluña les dio la razón: el impuesto vulneraba el principio de libre circulación de mercancías. Un magistrado discrepó en voto particular, apuntando que la tasa podría ser defendible, pero la mayoría fue contundente.

La teniente de alcalde Laia Bonet respondió con una defensa firme y anunció el recurso ante el Tribunal Supremo, que en enero de 2026 lo admitió a trámite. El argumento central del Ayuntamiento es una analogía con los cajeros automáticos: si los tribunales han aceptado durante años que los bancos paguen por instalar máquinas en la vía pública, ¿por qué no podrían hacerlo las empresas cuyas flotas de reparto saturan calles y aceras generando un beneficio económico directo?

El sector replica que el impuesto discrimina al comercio electrónico frente a las tiendas físicas que también realizan entregas a domicilio. Barcelona sostiene que la comparación es falsa: el volumen de paquetes que mueve el e-commerce no tiene parangón con el de la distribución tradicional, y la carga sobre la infraestructura urbana tampoco.

Lo que el Supremo decida irá mucho más allá de las arcas municipales barcelonesas. Está en juego la capacidad de los ayuntamientos para gestionar mediante la fiscalidad las externalidades de una economía que transforma la ciudad a una velocidad que la regulación apenas puede seguir. Si Barcelona gana, otras ciudades tendrán un modelo a imitar. Si pierde, ese camino quedará cerrado.

Barcelona's controversial 'Amazon Tax' has reached Spain's highest court. In January, the Supreme Court formally accepted the city's appeal of lower court decisions that had struck down the tax just months earlier, setting up what promises to be a defining legal battle over how municipalities can regulate the booming e-commerce delivery industry.

The tax itself is straightforward in concept but explosive in practice. Barcelona's city government wants to charge delivery companies—primarily those handling e-commerce orders—for their use of public space. The ordinance took effect in summer 2024 after winning support from five different political parties, including Barcelona en Comú, the Socialist Party, and the Republican Left of Catalonia. It was, in fact, a condition imposed by Republican politician Ernest Maragall in exchange for his party's backing of the 2020 municipal budget. The city calculated it would affect only operators earning more than one million euros annually and would generate roughly 2.6 million euros per year—a modest sum, by municipal standards, but symbolically significant.

Then, in July 2024, Catalonia's Superior Court of Justice dismantled it. Six major organizations—including the Spanish Association of Messaging Companies, the National Commission for Markets and Competition, and the Spanish Association of Digital Economy—had challenged the tax, arguing it created legal uncertainty and amounted to hidden taxation. The court agreed, ruling the measure violated the principle of free movement of goods. One judge dissented, writing a separate opinion that suggested the tax might be defensible, but the majority position was clear: the city had overstepped.

Barcelona's deputy mayor, Laia Bonet, responded with measured defiance. The city respected the court's decision, she said, but disagreed with it fundamentally. The appeal to Spain's Supreme Court followed.

Now the highest court must grapple with questions that go well beyond Barcelona. Can a municipality tax companies for using public space to conduct commerce? Does it matter that the tax is calibrated based on a company's gross revenues—in this case, Amazon's revenues, since the company organizes the logistics network? Is there a meaningful difference between a traditional shop that delivers goods from a storefront and an e-commerce operation that delivers from a warehouse, such that one can be taxed and the other cannot?

The city's legal team has drawn an analogy to ATM machines. Spanish courts have long held that banks can be taxed for the special use they make of public space when they install automated teller machines—a use that generates economic benefit. Barcelona argues the same logic applies to delivery companies using streets and sidewalks to move packages. The dissenting judge at the lower court seemed to agree, noting that Amazon's logistics operations, while organized by the company, ultimately function as a postal service and should be treated as such.

The industry and competition authorities see it differently. They contend the tax discriminates against online retailers in favor of traditional brick-and-mortar shops that also offer home delivery. Barcelona counters that these are fundamentally different situations deserving different treatment. The volume of packages moving through city streets for e-commerce dwarfs what traditional retailers generate; the infrastructure burden is not comparable.

What hangs in the balance is not just 2.6 million euros in annual revenue, though that matters to a city perpetually strapped for funds. It is the question of whether cities can use taxation to manage the externalities of rapid economic change—the congestion, the wear on infrastructure, the coordination challenges that come with same-day delivery becoming routine. If Barcelona loses, other cities watching this case will have their answer. If it wins, expect a wave of similar taxes across Spain and beyond.

We respect the court's pronouncements but clearly disagree with them
— Laia Bonet, Barcelona's deputy mayor
The Hearth Conversation Another angle on the story
Inventor

Why did Barcelona's city government think it could tax these delivery companies when traditional retailers doing the same thing weren't taxed?

Model

Because they saw a difference in scale and impact. A traditional shop might deliver a few orders a day from a storefront. Amazon's logistics network moves thousands of packages through the same streets. The city argued that justified different treatment.

Inventor

But the courts said that's discrimination. How does Barcelona answer that?

Model

By saying the situations aren't actually comparable—that you can't discriminate between things that are fundamentally different. A warehouse-based operation and a storefront are different beasts, they argue. One generates vastly more public space usage.

Inventor

The dissenting judge seemed to agree with Barcelona. Why didn't that matter?

Model

Because it was one voice against the majority. The other judges on the court saw it as hidden taxation, as creating legal uncertainty. One judge's agreement doesn't overturn a ruling.

Inventor

What's the ATM analogy about?

Model

Barcelona is saying: if we can tax banks for putting machines on public sidewalks, why can't we tax delivery companies for using those same sidewalks to move packages? Both are special uses of public space that generate profit.

Inventor

Does that actually work as an argument?

Model

That's what the Supreme Court has to decide. It's clever, but the industry will say ATMs are stationary infrastructure, while delivery is constant movement. Whether the court sees those as meaningfully different is the whole question.

Inventor

What happens if Barcelona loses again?

Model

Other cities stop trying. The tax becomes a cautionary tale. If Barcelona wins, you'll see similar taxes pop up across Spain within months.

Contact Us FAQ