Berlin: Turkey's President Recep Tayyip Erdogan lashed out at Germany on Wednesday, warning that it was "committing political suicide" on the eve of his expected meeting with Chancellor Angela Merkel.

Erdogan's latest outburst came after Germany refused to allow him to address members of the large ethnic Turkish community in a rally in Germany ahead of the G20 summit.

Turkey President Tayyip Erdogan. Reuters

"What kind of mentality is that? That's very ugly. I have never seen anything like that. Germany is committing suicide. That's a political suicide," Erdogan charged in an interview with weekly magazine Die Zeit.

"Germany must correct this error," he added, arguing that "he could not be silenced".

The issue is expected to come up when Erdogan meets Merkel face to face ahead of Friday's Group of 20 summit.

Merkel's spokesman Steffen Seibert said on Wednesday that the talks would "likely take place tomorrow".

Relations between the two countries have been fraught, deteriorating sharply over Turkey's mass crackdown after a failed coup last year and a host of other civil rights controversies.

On Tuesday, Turkey protested officially to Germany after an artist was allowed to set up an installation in central Berlin offering a car as a prize in exchange for killing world leaders including Erdogan.

The installation was set up outside Merkel's offices on Monday, comprising a Mercedes C-class car and banners with pictures of Erdogan, Russian President Vladimir Putin and Saudi Arabia's King Salman.

Another key dispute centres on Deniz Yucel, a German-Turkish journalist with the newspaper Die Welt who was imprisoned by Turkey on terror charges earlier this year.

And last month Germany decided to withdraw its troops who support the fight against the Islamic State group in Syria from NATO partner Turkey's Incirlik base and move them to Jordan after German lawmakers were prohibited from visiting the base.