German business morale improved unexpectedly in October, hitting its highest level in two and a half years.
The data suggested company executives have become more optimistic about the growth prospects for Europe's largest economy.
The surprisingly strong business climate index, published today by the Munich-based Ifo economic institute, gave a further boost to hopes that a widely expected slowdown of the German economy could be less severe than previously feared.
Ifo's business climate index, which is based on a monthly survey of some 7,000 firms, rose to 110.5 in October from 109.5 in September.
This was the highest reading since April 2014 and stronger than the Reuters consensus forecast for an unchanged value.
"The upturn in the German economy is gathering impetus," Ifo head Clemens Fuest said.
Company bosses were more content with their current business situation and they were far more optimistic about the coming six months.
The rise in the headline figure was driven by improved sentiment in the manufacturing and construction sectors, while the business climate in wholesaling and retailing deteriorated slightly.
Ifo economist Klaus Wohlrabe told Reuters that company executives had digested Britain's vote to leave the European Union and positive signals from China and the US were pleasing exporters.
He added that an impasse over a free trade deal between the European Union and Canada - which has not yet been signed because the French-speaking Wallonia region in Belgium opposes it - was not putting a dampener on the German economy.
The German economy is expected to lose steam in the third quarter, after relatively strong growth rates of 0.7% in the first and 0.4% in the second.
For 2016 as a whole, the German government expects the economy to grow by 1.8%, which would be the strongest rate in five years, helped by soaring private consumption and higher state spending.