As reported by Reuters, citing eurozone sources, officials reached the consensus on Monday afternoon in a one-hour conference call of the Eurogroup Working Group (EWG).
Reuters has seen a document drawn up by one member of the eurozone, detailing some of the elements that countries should consider.
The EWG is made up of officials who prepare meetings of finance ministers and also make up the board of the temporary bailout fund, the EFSF. These are mostly deputy ministers of finance and senior officials in charge of the budget.
A eurozone official told Reuters that so far nothing has been prepared at the level of the entire monetary bloc for fear of information leaks.
The situation in Greece was expected to be one of the topics of last night's European Union summit in Brussels.
The Greek Ministry of Finance has denied that there is an agreement on the preparation of plans for the potential consequences of Greece's exit, which has been named "Grexit".
However, Belgian Finance Minister Steven Vanakere told reporters on the eve of the EU summit that the plans for Greece boil down to one thing: "the responsibility of a government implies that it anticipates what it hopes to avoid."
"We must insist on efforts to avoid an exit scenario, but that does not mean that we are not preparing for that possibility. "I believe many countries have plans for things they want to avoid at all costs, like terrorist attacks, and it would be irresponsible to say we don't have plans for every eventuality," Vanekere said.
An amicable divorce
Greek officials have announced that without foreign aid, the country will run out of money in a few months.
The document seen by Reuters lays out the potential costs of a Greek exit for individual member states and states that they will seek an "amicable divorce" if that happens.
It is also reported that the EU and the IMF could give Greece up to 50 billion euros to facilitate its exit from the euro zone.
The document says that Athens would bear enormous costs if it decided to abandon the euro, while other eurozone members would have more limited costs.
However, it is pointed out that the risk of side effects on other members of the eurozone, which are under the watchful eye of the market, is now underestimated.
In its monthly report, Germany's Bundesbank said the situation in Greece was "extremely worrying" and that it was questioning further financial aid by threatening not to implement reforms that are a condition of two aid packages.
She said a Greek exit would bring "significant but solvable" challenges for its European partners, increasing pressure on Athens to continue painful economic reforms.
Greek officials have announced that without foreign aid, the country will run out of money in a few months.
Change in the German-French axis
For the first time in more than two years of meetings on the debt crisis, the leaders of France and Germany did not hold consultations ahead of the summit, marking a major shift in the Franco-German axis, which traditionally leads European policymaking.
Before leaving for Brussels, the new French president met with Spanish Prime Minister Mariano Rajoy.
Francois Hollande said yesterday that he wanted all options on the table, including debt-sharing through Eurobonds - which Germany is firmly opposed to.
The purpose of the summit was to promote ideas about job creation and economic growth.
Last night's informal meeting in Brussels was chaired by the President of the European Council, Herman van Rompie. He asked leaders to come up with "innovative, even controversial ideas" to stimulate growth, which could lead to decisions being adopted at the next EU summit in June, the BBC reported.
After meeting with the Spanish prime minister, Hollande said: "The priority is to inject liquidity into the European financial system to ensure that all European banks are consolidated."
The Prime Minister of Spain, whose banks are under enormous pressure, has guaranteed that they will need a bailout but admitted that the high interest rate that Spain has to pay is unsustainable. Both Hollande and Rajoy said it was vital that Greece stay in the eurozone.
Merkel is not giving up on Eurobonds
The idea of Eurobonds implies that countries jointly guarantee the debt, which would reduce the high cost of borrowing
Hollande's election victory has significantly changed the tone of the debate in Europe, with his call to put more emphasis on economic growth than debt relief now gaining support.
This puts him at odds with the German chancellor, who supports growth but whose primary goal is budget austerity and structural reforms.
Hollande will have the support of Italian Prime Minister Mario Monti and European Commission President José Manuel Barroso, among others, for the idea of Eurobonds.
Merkel has not indicated that she is giving up her opposition to the proposal. She said that it can be discussed only when a tighter fiscal union is established in Europe.
It is supported by the Netherlands, Finland and some smaller members of the eurozone.
Gallery
Bonus video:
