Rishi Sunak has railed against “extremist forces trying to tear us apart” during a Downing Street address to the nation.
The prime minister said there has been a “shocking increase in extremist disruption and criminality” and added that “now our democracy itself is a target”.
Politics latest: Starmer reacts to Rochdale defeat
He also described the Rochdale by-election result on Thursday night as “beyond alarming”, and claimed “our streets have been hijacked by small groups who are hostile to our values”.
Please use Chrome browser for a more accessible video player
His speech came after the victory of maverick politician George Galloway in the Greater Manchester seat, following a campaign dominated by the highly-emotive issue of Gaza and dogged by accusations of abuse and intimidation.
In response, Mr Galloway told Sky News he “despised” the prime minister and did not care what he thought as he had won “a free and fair election”.
Community tensions in the UK have heightened against the backdrop of the Israel-Hamas conflict, triggered by the militant attack on 7 October.
MPs have spoken of their experiences of receiving death threats and their concerns for the safety of their families prompting the government to announce an extra £31m to protect elected representatives.
It followed chaotic scenes in Westminster over the vote on a ceasefire in Gaza, when Commons Speaker Sir Lindsay Hoyle broke with precedent in his handling of proceedings because he had concerns about the intimidation suffered by some parliamentarians, sparking a backlash.
Mr Sunak said: “In recent weeks and months, we have seen a shocking increase in extremist disruption and criminality.
“What started as protests on our streets have descended into intimidation, threats and planned acts of violence.
“Jewish children fearful to wear their school uniform lest it reveals their identity. Muslim women abused in the street for the actions of a terrorist group they have no connection with.
“Now our democracy itself is a target. Council meetings and local events have been stormed. MPs do not feel safe in their homes. Long-standing parliamentary conventions have been upended because of safety concerns.
“And it’s beyond alarming that last night, the Rochdale by-election returned a candidate that dismisses the horror of what happened on 7 October, who glorifies Hezbollah and is endorsed by Nick Griffin, the racist former leader of the BNP.”
He added: “We are a country where we love our neighbours and we are building Britain together.
“But I fear that our great achievement in building the world’s most successful multi-ethnic, multi-faith democracy is being deliberately undermined.
“There are forces here at home trying to tear us apart.”
He went on: “Islamist extremists and far rights groups are spreading a poison, that poison is extremism.
“It aims to drain us of our confidence in ourselves as a people, and in our shared future.
“They want us to doubt ourselves, to doubt each other, to doubt our country’s history and achievements.”
Labour leader Sir Keir Starmer backed Mr Sunak’s call.
In a statement, he said: “The prime minister is right to advocate unity and to condemn the unacceptable and intimidatory behaviour that we have seen recently.
“It is an important task of leadership to defend our values and the common bonds that hold us together.
“Citizens have a right to go about their business without intimidation and elected representatives should be able to do their jobs and cast their votes without fear or favour.
“This is something agreed across the parties and which we should all defend.”