Britain's Prime Minister Theresa May leaves after a press conference following a special meeting of the European Council to endorse the draft Brexit withdrawal agreement and to approve the draft political declaration on future EU-UK relations on November 25, 2018 in Brussels. PHILIPPE LOPEZ | AFP | Getty Images

British lawmakers are set to vote on Prime Minister Theresa May's much-maligned Brexit deal on Tuesday, with less than 75 days to go before the U.K. is set to leave the European Union. Remarkably, May's template to exit the bloc faces virtually certain defeat. That leaves the prospect of a complete collapse of government, a disorderly exit from the bloc or even the entire Brexit process being scrapped altogether over the coming weeks. CNBC takes a look at what to expect ahead of the all-important vote.

What is the vote?

May's proposal is split into a "Withdrawal Agreement," setting out the terms of the divorce and a "Future Relationship" document, which drafts how the U.K. will interact with the EU in the future. The U.K. government and EU heads of state have signed off on the preliminary deal and now U.K. lawmakers have a "meaningful vote" to decide whether it can proceed.

Following five full days of parliamentary debate, the vote is due to take place on the evening of Tuesday January 15. Westminster must now either accept the government's plans for a structured exit and relatively close economic ties with the EU or reject it and spawn massive uncertainty over the country's next steps.

What are the chances of its success?

Parliamentary opposition to May's deal looks daunting, but the prime minister remains hopeful of getting more assurances from the EU on her Brexit deal. So far, there has been little sign of any willingness from Brussels to offer May the legal cover she has been seeking — most notably on the so-called "backstop" arrangement for the Irish border. If the deal comes to pass, Britain and the EU would be on track to enter into a transition period from March 29. However, negotiations between the U.K. and the bloc would still continue as they attempt to resolve a future relationship.

An EU flag outside Parliament. Alberto Pezzali | NurPhoto | Getty Images

Her proposal needs the backing of 320 lawmakers, more than half of the 639 MPs (Members of Parliament) that vote in Westminster. But, the numbers do not appear to be in May's favor. After stacking up opposing votes from the main opposition Labour party along with those from the Scottish National Party and Northern Ireland's DUP (Democratic Unionist Party), May is already under pressure. Add to that the opposition from both the pro and anti-EU wings of her own Conservative Party and her Brexit deal looks in real trouble.

What happens immediately after the vote?

If the prime minister's deal is voted down on Tuesday evening, the government would only have three parliamentary working days to come up with revised plans. Downing Street was expecting to have a 21-day period to file a parliamentary motion, but U.K. lawmakers backed calls to bring the deadline forward on Wednesday. The margin of a possible defeat could also be important. A minor defeat of around 30 or 40 votes could tempt May to return to Brussels in a last-ditch attempt to tweak the draft withdrawal agreement. But, a substantial loss would probably result in chaos descending upon British politics once again. For now at least, the United Kingdom is set to leave the European Union at 11:00 p.m. London time on March 29, 2019.

How will markets react?