The Conservative election victory activated a manifesto pledge to hold an in/out referendum on Britain's membership of the EU before the end of 2017, with expectations rising that it could come as soon as next year.
The prospect of meaningful parliamentary opposition to the referendum evaporated over the weekend as Labour's temporary leader Harriet Harman reversed her party's position and backed an EU referendum. Whoever it elects as its leader, Labour is likely to campaign for continued membership of the EU.
David Cameron promised to deliver a referendum at a time when he was under pressure from Euroscpetic backbenchers within his own parties - and when the Conservatives appeared to be losing votes to Ukip.
Cameron has argued the case for remaining in the EU, provided that key reforms are made, but reluctance from within the EU for such changes could thwart his plans. The PM's position has been strengthened by his unexpected election victory, and he will be hoping to use the prospect of a UK vote to leverage major concessions.
So what are the advantages and disadvantages of being a part of Europe? And would Britain be better off staying inside the club or going it alone?
What are the pros and cons of leaving the EU?
Perhaps the greatest uncertainty associated with leaving the EU is that no country has ever done it before, so no one can predict the exact result. Nevertheless, many have tried.
Trade: One of the biggest advantages of the EU is free trade between member nations, making it easier and cheaper for British companies to export their goods to Europe. Some business leaders think these savings outweigh the billions of pounds in membership fees Britain would save if it left the EU. The UK also risks losing some of its negotiation power internationally by leaving the trading bloc, but it would be free to establish trade agreements with non-EU countries.
Ukip leader Nigel Farage believes Britain could follow the lead of Norway, which has access to the single market but is not bound by EU laws on areas such as agriculture, justice and home affairs. But others argue that an "amicable divorce" would not be possible. The Economist says Britain would still be subject to the politics and economics of Europe, but would no longer have a seat at the table to try to influence matters.
A study by the think-tank Open Europe, which wants to see the EU radically reformed, found that the worst-case "Brexit" scenario is that the UK economy loses 2.2 per cent of its total GDP by 2030. However, it says that GDP could rise by 1.6 per cent if the UK could negotiate a free trade deal with Europe and pursued "very ambitious deregulation".
Jobs: Free movement of people across the EU opens up job opportunities for UK workers willing to travel and makes it relatively easy for UK companies to employ workers from other EU countries. Ukip says this prevents the UK "managing its own borders". But, writing for the LSE, Professor Adrian Favell says limiting this freedom would deter the "brightest and the best" of the continent from coming to Britain, create complex new immigration controls and reduce the pool of candidates employers can choose from.
Regulations: Eurosceptics argue that the vast majority of small and medium sized firms do not trade with the EU but are restricted by a huge regulatory burden imposed from abroad. However, others warn that millions of jobs could be lost if global manufacturers, such as car makers, move to lower-cost EU countries, while British farmers would lose billions in EU subsidies.
Influence: Britain may lose some of its military influence – many believe that America would consider Britain to be a less useful ally if it was detached from Europe.
On the plus side, The Economist says Britain would also be able to claim back its territorial fishing waters, scrap caps on limits to the number of hours people can work per week, free itself from the EU's renewable energy drive and create a freer economic market. This would turn London into a "freewheeling hub for emerging-market finance – a sort of Singapore on steroids", it says.
But it concludes that the most likely outcome is that Britain would find itself "as a scratchy outsider with somewhat limited access to the single market, almost no influence and few friends. And one certainty: that having once departed, it would be all but impossible to get back in again."
If a referendum were held tomorrow, what would happen?
One of the latest polls carried out by YouGov found that 45 per cent of people would vote for Britain to remain a member of the European Union, while 35 per cent said they would vote to leave. Another four per cent said they would not vote and 16 per cent were undecided.
How did the European Union come about?
After the Second World War, Winston Churchill proposed "a structure under which [Europe] can dwell in peace, in safety and in freedom... a kind of United States of Europe".
At the time, the proposal was broadly popular in Britain, but when the European Coal and Steel Community was founded in 1951 with the aim of making "war not only unthinkable but materially impossible", Britain stood aside.
Britain also declined to join the European Economic Community, when the six founding nations – Belgium, France, Italy, Luxembourg, the Netherlands and West Germany – signed the Treaty of Rome in 1957.
Britain relented in 1961 and applied to join the EEC after watching France and Germany's economies show signs of recovery. But its application was rejected not once but twice because the then French President Charles de Gaulle saw "deep-seated hostility" in the British attitude towards Europe.
Ironically it was the Conservative Party that eventually led Britain into Europe in 1973, with the more sceptical Labour party promising a referendum on whether the country should stay in, leave or seek renegotiated terms. When the referendum was held in 1975, the main political parties and all national newspapers campaigned for a vote to stay in the EEC, a stance backed by 67 per cent of voters.
Over the next two decades Britain's relationship with Europe became more complex, with Margaret Thatcher expressing deep antipathy towards the project. In 1992, however, her successor John Major signed the Maastricht Treaty, which created the European Union and the single pan-European currency (though Britain later opted out of that).