UPDATE 1-Brazil attracts just $174 mln FDI in June, lowest in five years

(Adds detail on June capital flows, 2020 revisions)

By Jamie McGeever

BRASILIA, July 27 (Reuters) - Foreign direct investment into Brazil fell to its lowest in five years in June, figures showed on Tuesday, while portfolio inflows into the country's stocks and bonds rose to the highest this year.

Net foreign direct investment (FDI) totaled just $174 million in June, the central bank said, far less than the $2.5 billion forecast in a Reuters poll of economists and the smallest inflow since a similarly small outflow in July 2016.

Based on partial data for July, the central bank said it expects FDI inflows of $4.7 billion this month.

The central bank's figures for June show that Brazil attracted $5.1 billion into domestic stocks and bonds, split evenly between the two asset classes. That was the largest inflow since last November.

Latin America's largest economy posted a current account surplus of $2.8 billion in June, the central bank said, less than the $3.5 billion forecast in a Reuters poll of economists.

It was the third monthly surplus in a row and meant the deficit in the year through June was 1.27% of gross domestic product, unchanged from the previous month and the smallest deficit as a share of GDP since January, 2018.

The central bank said it expects a surplus of $1.3 billion in July.

Revisions to last year's data meant Brazil's 2020 current account deficit was increased to $25.9 billion, or 1.8% of GDP, from $24.1 billion, or 1.7% of GDP, the central bank said. (Reporting by Jamie McGeever Editing by Peter Graff and Joe Bavier)