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.

Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
Powerful 6.3 quake kills at least 20 in Afghanistan, hundreds injured
Turkey set to call for action on Gaza as soon as possible, source says
Hamas hands over three more hostage bodies
India federal agency freezes Anil Ambani Group's $351 million properties
Israeli strike kills one in Gaza as sides trade blame for truce violations
UK police say mass stabbing on train not terrorist incident, two arrested
