Kerry said the 12 countries negotiating the Trans-Pacific Partnership (TPP) -- including the US, Japan and Vietnam -- had made good "progress" during the last round of talks on the Hawaiian island of Maui last week.
"We are hoping very much that over the course of a couple of months, before the end of the year, (the) TPP can be completed," he told reporters after a meeting with Vietnam's Foreign Minister Pham Binh Minh in Hanoi.
Other subjects still being negotiated include Japan's automobile market, as well as Canada's and New Zealand's reticence to open up their dairy sector.
"We will do everything possible to work through these differences," Kerry said.
More From This Section
The top US diplomat has previously praised the TPP -- which will cover nearly 40 percent of the world's economy -- as an agreement that would reap benefits beyond economic growth.
Its aims include raising labour and environmental standards, protecting intellectual property and deterring corruption but critics say the TPP is more about protectionism and corporate benefits than free trade and development.
The TPP countries -- Australia, Brunei, Canada, Chile, Japan, Malaysia, Mexico, New Zealand, Peru, Singapore, Vietnam and the US -- have also been accused of carrying out their negotiations in intense secrecy.
Observers say the delay in securing the deal in Maui last week complicates US President Barack Obama's plans to complete the accord this year with a risk of it becoming dragged into the 2016 presidential election debate.