READ MOREHowever, it is higher than the 2017 inflation rate of 2.95 percent, which was the lowest since 1999, said the Brazilian Institute of Geography and Statistics (IGBE).
The increase in price levels in 2018 was led primarily by household services, transportation and food, the institute said.
Inflation was at 0.15 percent in December, the lowest for the month since 1994.
The institute said the inflation could have been lower last year, had it not been affected by the truckers' strike at the end of May.
"The strike had a one-off effect in June," causing a 1.26-percent increase in inflation, the institute said.
Market analysts have projected that prices will increase 4.01 percent in Brazil in 2019.
The government has set an official inflation target of 4.25 percent for 2019, with a tolerance range of 2.75 to 5.75 percent. ■