The Southeast Asian country's gross domestic product growth compared with an expansion of 5.05% in the first quarter and was the strongest growth rate for the April to June quarter since 2011, the General Statistics Office (GSO) said.
For the first half of 2022, GDP grew 6.42% from a year earlier, faster than 2.04% growth in the first half of 2021.
"This is a fairly high growth compared with other countries in the region and in the world, while macroeconomic stability has been maintained," the GSO said in a report.
Vietnam, a regional manufacturing hub, started lifting its coronavirus restrictions late last year, allowing factories to resume full operations.
Exports in the January-June period rose 17.3% from a year earlier to $185.94 billion, while industrial production increased 8.7%, the GSO said.
The agency, however, warned Vietnam's economy will face challenges in the second half, including inflationary pressure, global political uncertainty and the lingering impacts of the pandemic.
"The COVID-19 pandemic has been contained in Vietnam, but its evolvement in the world remains complicated with the possible emergence of new virus variants," GSO chief Nguyen Thi Huong said.
Consumer prices in Vietnam in June rose 3.37% from a year earlier, led by an increase in the cost for food and energy. Transportation cost rose 21.4% from a year earlier.
Vietnam has target of capping inflation at 4% this year.