Hundreds of protesters battled police in the heart of Barcelona amid anger over the jailing of Catalan separatist leaders.
Masked protestors were seen blocking areas, damaging police vehicles, setting fire to large garbage bins, ransacking banks and attacking riot police officers with stones, cans and bottles.
Police responded with repeated volleys of foam bullets, smoke grenades, tear gas and water cannons.
The violence followed a largely peaceful demonstration that drew more than half a million people onto the streets of the Catalan capital.
Catalan interior affairs chief Miquel Buch distanced themselves from the riots, claiming "this kind of violence is unprecedented in Catalonia ... these people are not separatists".
Some 128 people have been arrested in the region over the past five days, with Spain's acting interior minister, Fernando Grande-Marlaska, warning that rioters faced up to six years in prison.

Thailand's Queen Mother Sirikit dies at 93
Louvre transfers jewels to Bank of France after heist
Thai PM to sign Cambodia ceasefire deal, cuts short ASEAN trip after royal death
UK seizes record haul of illegal weight-loss drugs in factory raid
Trump aims to clinch deal with China's Xi during Asia trip
Ringleader of Wagner-directed UK arson on Ukrainian business jailed
Britain pushes allies to boost Ukraine support as Zelenskyy lands in London
Erdogan says US, others must press Israel to abide by Gaza ceasefire
