Germany inches towards a new government after Angela Merkel strikes deal with SPD to enter formal coalition talks.

Chancellor Angela Merkel has reached a breakthrough agreement with Germany's second biggest party during talks aimed at forming new coalition government.

The agreement comes after months of uncertainty and political paralysis.

Following all-night negotiations in Berlin, Merkel's conservative Christian Democratic Union (CDU), her Bavarian-based allies the Christian Social Union (CSU), and the centre-left Social Democrats (SPD) produced a 28-page document outlining positions on a range of issues including migration, the Eurozone and taxes.

"In the long time since the elections, we have seen that the world is not waiting for us," Merkel told reporters on Friday.

"And as far as Europe is concerned, we are convinced that we need a new awakening for Europe," she added.

The draft pact will form the basis of formal talks aimed at creating a new coalition government, which the CDU and SPD hope to form by April.

The agreement helps avert new elections after September's poll failed to give Merkel a clear majority. The vote also saw the far-right Alternative for Germany (AfD) enter the Bundestag for the first time.

Merkel initially attempted to form a coalition with two smaller parties. But those talks collapsed in November, and the long-time chancellor turned to the SPD to renew their alliance.

Draft pact

In the draft pact, announced on Friday, the parties agreed to limit the arrival of asylum seekers to around 200,000 a year, and to work with France to strengthen the Eurozone.

The draft deal outlined tax cuts and extra spending on home-building, education and research. On the foreign policy front, the document said the parties would end weapons exports to countries involved in the war in Yemen, and rein in progress in EU accession talks with Turkey.

The deal averts the prospect of snap elections for now, but it has to be approved by SPD delegates at a congress planned for January 21.

Martin Schulz, SPD leader, said on Friday that his party's negotiators agreed to recommend to the rank-and-file to back the draft coalition agreement.

"I think we achieved an excellent result," Schulz said. ''The coalition document is a new start for Europe. Germany will keep its strong position in the bloc if the next German government is going to be built on this document."