Prime Minister Theresa May’s Brexit deal has been rejected by 230 votes – the largest defeat for a sitting government in history.
MPs voted by 432 votes to 202 to reject the deal, which sets out the terms of Britain’s exit from the EU on 29 March.
Labour leader Jeremy Corbyn has now tabled a vote of no confidence in the government, which could trigger a general election.
The confidence vote is expected to be held at about 1900 GMT on Wednesday.
The defeat is a huge blow for Mrs May – who has spent more than two years hammering out a deal with the EU.
The plan was aimed at bringing about an orderly departure from the EU on 29 March, and setting up a 21-month transition period to negotiate a free trade deal.
The UK is still on course to leave on 29 March but the defeat throws the manner of that departure – and the timing of it – into further doubt.
MPs who want either a further referendum, a softer version of the Brexit proposed by Mrs May, to stop Brexit altogether or to leave without a deal, will ramp up their efforts to get what they want, as a weakened PM offered to listen to their arguments.
The Brexit debate has cut across traditional party lines.
Some 118 Conservative MPs – from both the Leave and Remain wings of her party – voted with the opposition parties against Mrs May’s deal.
And three Labour MPs supported the prime minister’s deal: Ian Austin (Dudley North), Kevin Barron (Rother Valley) and John Mann (Bassetlaw).
Click here if you cannot see the look-up. Data from Commons Votes Services.
In normal times, such a crushing defeat on a key piece of government legislation would be expected to be followed by a prime ministerial resignation.
But Mrs May signalled her intention to carry on in a statement immediately after the vote.
“The House has spoken and this government will listen,” she told MPs.
She offered cross-party talks to determine a way forward on Brexit, if she succeeded in winning the confidence vote.
Former foreign secretary and leading Brexiteer Boris Johnson said it was a “bigger defeat than people have been expecting” – and it meant Mrs May’s deal was now “dead”.
But he said it gave the prime minister a “massive mandate to go back to Brussels” to negotiate a better deal, without the controversial Northern Ireland backstop.
And he said he would back Mrs May in Wednesday’s confidence vote.
Labour MP Chuka Umunna said that if his leader did not secure a general election, Mr Corbyn should do what the “overwhelming majority” of Labour members want and get behind a further EU referendum.
Lib Dem leader Sir Vince Cable, who also wants a second referendum, said Mrs May’s defeat was “the beginning of the end of Brexit” – but conceded that campaigners would not get one without Mr Corbyn’s backing.
Scotland’s First Minister Nicola Sturgeon said Mrs May had suffered “a defeat of historic proportions” and called again for the Article 50 “clock to be stopped” in order for another referendum to take place.
“We have reached the point now where it would be unconscionable to kick the can any further down the road,” she said.
However, government minister Rory Stewart said there was no majority in the Commons for any Brexit plan, including another referendum.
How a confidence motion works
By the BBC’s head of political research Peter Barnes
Under the Fixed Term Parliaments Act 2011, UK general elections are only supposed to happen every five years. The next one is due in 2022.
But a vote of no confidence lets MPs decide on whether they want the government to continue. The motion must be worded: “That this House has no confidence in Her Majesty’s Government.”
If a majority of MPs vote for the motion then it starts a 14-day countdown.
If during that time the current government, or any other alternative government cannot win a new vote of confidence, then an early general election would be called.
That election cannot happen for at least 25 working days.
MPs are set to debate Labour’s no confidence motion for about six hours following Prime Minister’s Questions at 1200.
Mr Corbyn said it would allow the House of Commons to “give its verdict on the sheer incompetence of this government”.
But DUP leader Arlene Foster said her party, which keeps Mrs May in power, would be supporting her in Wednesday’s confidence vote.
She told the BBC MPs had “acted in the best interests of the entire United Kingdom” by voting down the deal.
But she added: “We will give the government the space to set out a plan to secure a better deal.”
In her statement to MPs, Mrs May said she planned to return to the Commons next Monday with an alternative plan – if she survives the confidence vote.
She said she would explore any ideas from cross-party talks with the EU, but she remained committed to delivering on the result of the 2016 referendum.
But European Commission President Jean-Claude Juncker said the risk of a disorderly Brexit had increased as a result of the deal being voted down.
He said the agreement was “the only way to ensure an orderly withdrawal” and that he and President of the European Council, Donald Tusk, had “demonstrated goodwill” with additional clarifications this week to put MPs minds at rest.
“I urge the United Kingdom to clarify its intentions as soon as possible,” he said. “Time is almost up.”
Mr Tusk said he regretted the outcome of the vote and later tweeted to ask “who will finally have the courage to say what the only positive solution is?”