German industrial output fell more than expected in June, driven by weaker production of intermediate and capital goods, data showed on Wednesday, adding to signs that Europe's biggest economy contracted in the second quarter.

Industrial output dropped by 1.5% on the month - a far steeper decline than the 0.4% fall that had been forecast, figures released by the Statistics Office showed.

"The continued plunge in production is scary," Bankhaus Lampe economist Alexander Krueger said, adding that a recession in the manufacturing sector was likely to continue due to the recent escalation of the trade dispute between China and the United States.

Both countries are important export destinations for German companies, which means that the tit-for-tat tariff dispute between the world's two largest economies is also having a disproportionately large impact on Germany.

"The longer this continues, the more likely it is that other sectors of the economy will be dragged down too. Growth forecasts for Germany may be trimmed further," Krueger said.

In the second quarter as a whole, industrial output fell by 1.8% on the quarter, driven by steep drops in metal production, machinery and car manufacturing, the economy ministry said.

The figures came after German industrial orders on Tuesday exceeded expectations in June, but the economy ministry cautioned that this sector of the economy had not yet reached a turning point.

The German economy is widely expected to have at best stagnated in the second quarter, and sentiment indicators suggest it could shrink in the third as exporters are hit by trade disputes, Brexit uncertainty and a slowing world economy.

The German government expects the economy to grow by a meagre 0.5% this year and rebound with a 1.5% expansion in 2020.