The National Statistics Institute (INE) said the deficit was 913 million euros in 2018, compared to 5.77 billion euros in 2017, the year when economic growth reached its highest since the turn of the century.
Finance Minister Mário Centeno had already estimated the 2018 deficit to be around 0.6 percent of GDP, 0.1 percent lower than the 0.7 pct initially forecast by the government.
INE predicts the 2019 deficit to fall to 0.2 percent of GDP, the same as the government's target for this year.
Gross general government debt fell to 121.5 percent of GDP last year from 124.8 percent in 2017, INE said.
INE said that the 2017 public deficit was hit by the "extraordinary recapitalisation operation" of 3.94 billion euros for state-owned Caixa Geral de Depósitos bank.
INE explained the 2018 deficit included the capital increase of the resolution fund for capital injections into Novo Banco, amounting to 792 million euros. There was also a loan of 280 million euros by the treasury to the credit recovery fund of investors affected by the bankruptcy of Banco Espirito Santo and a 65 million euro guarantee to SATA Air Azores.