Sirens wailed and police told peaceful protesters to leave as they deployed water cannon to disperse the increasingly agitated crowd.
The initially peaceful rally against a shocking spate of sexual assaults during New Year's festivities in Cologne took an ugly turn when a group of far-right extremists began flinging projectiles at officers.
Police estimate that around 800 hooligans were among the 1,700 who took part in the Pegida march.
A Pegida spokesman urged “all participants to go home”.
“The event is officially over,” he said.
Earlier, chanting “expulsion”, supporters of Pegida waved banners and signs bearing slogans like “Rapefugees not welcome”.
They also took aim at Chancellor Angela Merkel, accusing her of allowing migrants to run rampage in Germany through her liberal stance towards those fleeing war.
“Merkel has become a danger to our country. Merkel must go,” a member of Pegida told the crowd, which repeated the call.
Witnesses have described the perpetrators of the assaults in Cologne on the night of December 31 as people with “North African or Arab” appearance.
Federal police have said that a majority of the suspects identified so far are of foreign origin, inflaming a debate over Germany's ability to integrate the 1.1 million asylum seekers it took in last year alone.
“These women who fell victim will have to live with it for a long time. I feel like my freedom has been robbed from me,” a mother of four introduced as Christiane told the rally.
“That's impossible. Frau Merkel, Frau Reker, you are women! Where is your solidarity? What are women worth in this society?” she said.
Henriette Reker runs refugee services in Cologne
Nearby, kept away from the Pegida crowd by police, leftist demonstrators staged a counter-protest, chanting “Nazis raus!” (Nazis out!).
“There is nothing right about Nazi propaganda,” said a slogan on the sign held up by one protester, while another read “Fascism is not an opinion, it is a crime”.
“We are there to tell them to shut up. It is unacceptable for Pegida to exploit this horrible sexual violence perpetrated here on New Year's day and to spread their racist nonsense,” said Emily Michels, 28.
Pegida started life over a year ago as a xenophobic Facebook group, initially drawing just a few hundred protesters to demonstrations in the eastern city of Dresden before gaining strength, peaking with rallies of 25,000 people.
Interest subsequently began to wane following overtly racist comments by founder Lutz Bachmann, and the surfacing of “selfies” in which he sported a Hitler moustache and hairstyle.
But Pegida has seen a revival with the record influx of migrants to Germany.