Southeast Asia’s largest economy expanded by 6.5% in 2011, the highest rate since 1996.
Indonesia also regained its investment grade status last year as total domestic and foreign investment rose by almost 20% to $28bn (£18bn).
Analysts said growth was likely to remain strong going forward.
The latest data also showed that the economy grew by 6.5% in the October to December quarter from a year earlier.
Raddhika Rao of Forecast said the strong data “validates the government’s optimism on the growth front, driven for the most part by robust consumption and investment spending”.
‘
The data comes at a time when problems in the eurozone and the US have seen considerable uncertainty in the global economy.
As the eurozone struggles to find a solution to its debt crisis and the US copes with a high rate of unemployment, demand from two of the biggest economic zones in the world has been falling.
That has hurt many Asian economies that rely heavily on exports for growth.
However analysts said that Indonesia has benefited from the fact that a huge part of its growth is driven by domestic consumption.
Domestic consumption accounts for nearly 60% of Indonesia’s economy