Chancellor Angela Merkel's centre-right bloc was leading in European elections in Germany, exit polls showed Sunday, but the score was shaping out to be a historic low, while the Greens recorded a surge.

Chancellor Angela Merkel's centre-right bloc was leading in European elections in Germany, exit polls showed Sunday, but the score was shaping out to be a historic low, while the Greens recorded a surge.

Merkel's Christian Democratic Party and allies Christian Social Union were set to garner around 28 percent, two separate polls by national broadcasters ARD and ZDF showed, sharply under their 35.3 percent in 2014.

Her coalition partner SPD was also headed for its poorest showing in an EU poll with 15.5 percent, as the centre-left party was knocked from second position by the Greens, which surged to between 20.5 and 22 percent.

The far-right AfD was set to improve on their 2014 score of 7.1 percent, with both exit polls seeing it coming in at 10.5 percent.

Latest surveys have suggested that the climate crisis has overtaken immigration as the main worry.

Illustrating the shift, the Greens were forecast to be heading for an all-time high score which is double that of their 2014 showing.

"It's the first time that climate change has played such a role in an election," said Greens chief Robert Habeck.

Ska Keller, who was leading the Greens' list, pledged that "we must now implement (our proposals) on climate change".

School strikes by students joining young Swedish activist Greta Thunberg's protests on Fridays have given momentum to the cause.

The environmental party may have also benefited from the impact of an online assault by a young German YouTuber against Merkel's CDU party days before the vote.

Accusing the Christian Democratic Union of not doing enough against global warming, the almost one hour long blistering attack has been viewed more than 11 million times by Sunday.

The leadership of both Merkel's centre right and the SPD voiced disappointment at their scores.

But both were at pains to stress that they are not about to break up the coalition.

CDU party general secretary Paul Ziemiak told ZDF the coalition "must go on so that there is stability in Germany," stressing that for his party, "it's about the country and not party political questions".

Separately, his counterpart at the SPD, Lars Klingbeil said the result "cannot remain without consequences".

But he said he "would advise against any personnel discussion", in what appeared to be a move at batting down rumours of a putsch being planned against party chief Andrea Nahles.