The Ifo institute’s monthly confidence barometer, based on a survey of about 9,000 companies, reached 86.3 points, rising for a second month after a revised 84.5 points in October.
Before October, the reading had fallen for four months straight.
“Sentiment in the German economy has improved,” Ifo president Clemens Fuest said in a statement.
“Pessimism regarding the coming months reduced sharply. The recession could prove less severe than many had expected.”
Germany is facing soaring inflation – consumer price rises hit 10.4 percent in October – driven by high energy costs after Russia slashed gas supplies following its invasion of Ukraine.
The government has forecast that Europe’s economic powerhouse will contract 0.4 percent in 2023, with inflation set to remain stubbornly high.
But hopes are growing that government relief measures – including a €200 billion package to shield companies and citizens from inflation – will soon bring prices down.
Germany’s gas storage facilities were completely filled up earlier this month, easing fears of winter shortages.
Carsten Brzeski of ING bank said the Ifo survey “adds to recent glimmers of hope that the German economy might avoid a winter recession.”
But he added the government stimulus “will come too late to prevent the economy from contracting in the fourth quarter.
“However, it is substantial enough to cushion the contraction and to turn a severe winter recession into a shallow one.”
Other surveys have started to show signs of improvement.
Earlier this month, a ZEW institute survey showed an increase in investor confidence for the second consecutive month.