There were eight arrests in total, mostly for attempted arson, but no injuries were reported.
“We’ve had no reports of police or firemen injured, despite having things thrown at them,” police press spokesman Kjell Lindgren told news agency TT.
In several suburbs crowds of young people as well as groups of parents and community workers were in the streets as well as a large police presence. A reporter from SR’s Somali service said police in Husby kept their distance when the atmosphere became threatening.
“It was pretty chaotic. There were hundreds of people there just watching to see what would happen,” Wasami Elmi told Radio Sweden.
“The mood got really aggressive among some of the teenagers when the police moved in."
Local youths in several of the suburbs - which have high first second generation immigrant populations - repeated complaints on Tuesday night that police were acting heavy handedly and using racist insults.
Rioting first broke out in Husby on Sunday night in reaction to the shooting by police last week of a man in the area believed to be mentally ill who was wielding a machete.