US President Donald Trump and his Chinese counterpart Xi Jinping have agreed to halt new trade tariffs for 90 days to allow for talks, the US says.
At a post-G20 summit meeting in Buenos Aires, Mr Trump agreed not to boost tariffs on $200bn (£157bn) of Chinese goods from 10% to 25% on 1 January.
China will buy a “very substantial” amount of agricultural, industrial and energy products, the US says.
Meanwhile, Beijing says the two sides agreed to open up their markets.
It was the first face-to-face meeting between the two leaders since a trade war erupted earlier this year.
The dispute broke out after Mr Trump complained China was doing nothing to cut its large surplus in bilateral trade.
At the summit in Argentina’s capital earlier on Saturday, the G20 leaders agreed a joint declaration that notes divisions over trade but does not criticise protectionism.
What are the details of the US-China accord?
Mr Trump and Mr Xi held a “highly successful meeting”, the White House says in a statement.
It says the US tariffs on Chinese goods will remain unchanged for 90 days, but warns: “If at the end of this period of time, the parties are unable to reach an agreement, the 10 percent tariffs will be raised to 25 percent.”
The US says China agreed to “purchase a not yet agreed upon, but very substantial, amount of agricultural, energy, industrial, and other products from the United States to reduce the trade imbalance between our two countries”.
Both sides also pledged to “immediately begin negotiations on structural changes with respect to forced technology transfer, intellectual property protection, non-tariff barriers, cyber intrusions and cyber theft”, the White House says.
President Trump said earlier this year he wanted to stop the “unfair transfers of American technology and intellectual property to China”.
According to the US, China has also signalled it will allow a tie-up between two major semiconductor manufacturers which Chinese regulators have been blocking.
The White House statement said China was “open to approving the previously unapproved Qualcomm-NXP deal”.
Qualcomm – the world’s biggest chipmaker – had abandoned its $44bn bid for Dutch rival NXP Semiconductors after Chinese opposition.
The US also says Beijing agreed to designate Fentanyl as a controlled substance. The opioid – much of it thought to be made in China – is driving a huge rise in drug addiction in the US.
Chinese Foreign Minister Wang Yi told reporters after the talks that “the principal agreement has effectively prevented further expansion of economic friction between the two countries”.
He hailed “new space for win-win co-operation”, while Chinese state TV said negotiations would continue.
What’s the background to the trade war?
Both sides have imposed tariffs on billions of dollars’ worth of goods. The US has hit $250bn of Chinese goods with tariffs since July, and China has retaliated by imposing duties on $110bn of US products.
Mr Trump had also said that if talks in Argentina were unsuccessful, he would carry out a threat to hit the remaining $267bn of annual Chinese exports to the US with tariffs of between 10 and 25%.
US-China trade divisions meant an Asian economic summit earlier this month was unable to agree a formal leaders’ statement for the first time in its history.
How did Trump sum up the talks?
Returning from the G20 summit on Air Force One, Mr Trump told reporters “it’s an incredible deal” that would have an “incredibly positive impact on farming”.
“What I’d be doing is holding back on tariffs. China will be opening up. China will be getting rid of tariffs,” Mr Trump said.