WASHINGTON — President Trump hailed his initial trade agreement with China as win for American farmers and workers on Wednesday, as he prepared to sign a deal that will bring the first chapter of a protracted and economically damaging fight with the world’s second-largest economy to a close.
The trade pact is expected to open Chinese markets to more American companies, increase farm and energy exports, and provide greater protection for American technology and trade secrets. But it preserves the bulk of tariffs that Mr. Trump has placed on $360 billion worth of Chinese goods, and it maintains the threat of additional punishment if Beijing does not live up to the terms of the deal.
“Today we take a momentous step, one that has never been taken before with China toward a future of fair and reciprocal trade with China,” Mr. Trump said at a formal ceremony at the White House. “Together we are righting the wrongs of the past.”
The deal will cap more than two years of tense negotiations and escalating threats that at times seemed destined to plunge the United States and China into a permanent economic war. Mr. Trump, who campaigned for president in 2016 on a promise to get tough on China, pushed his negotiators to rewrite trade terms that he said had destroyed American industry and jobs, and he imposed record tariffs on Chinese goods in a gamble to get Beijing to accede to his demands.
The president’s approach may pay off politically. He will head into a re-election campaign with a commitment from China to strengthen its intellectual-property protections, make large purchases of American products and pursue other economic changes that will benefit American business.
But the agreement has plenty of critics in both parties, who say that Mr. Trump’s tactics have been haphazard and economically damaging, and that the agreement leaves the most important economic issues unresolved.
In particular, the Chinese have rebuffed requests for broader changes to the structure of their economy. That includes a pattern of subsidizing and supporting key industries, like solar and steel, that American firms say have allowed China to dump cheap products it makes into the United States.
The deal also does not address cybersecurity or China’s tight controls over how companies handle data and cloud computing. China rejected American demands to include promises to refrain from hacking American firms in the text, insisting it was not a trade issue.
The administration has said it will address some of these changes in Phase 2 of the negotiations and is keeping tariffs in place in part to maintain leverage for the next round of talks. But Mr. Trump has already kicked the deadline for another agreement past the November election, and there is deep skepticism that the two countries will reach another trade deal anytime soon.
Mr. Trump on Wednesday said he would be heading to China soon.
“I’ll be going over to China in the not too distant future,” Mr. Trump said, adding that “most people thought this could never happen.”
In the interim, the remaining tariffs will continue to inflict financial pain on American businesses that rely on Chinese imports and the consumers who buy their products.
The trade deal contains a variety of wins for American industry, including opening up markets for financial services, pharmaceuticals, beef and poultry. China has committed to increasing its purchases of food, energy, manufactured goods and services by $200 billion over two years, though many analysts say that figure appears unrealistic given what the United States currently produces.
China has also committed to not forcing American companies to hand over their technology as a condition of doing business there, under penalty of further tariffs. Beijing has also promised to refrain from devaluing its currency, the renminbi, to gain an advantage in export markets, among other pledges.
Those terms appear likely to benefit American companies and increase exports in coming months, potentially narrowing the trade deficit with China, which has become a focal point for Mr. Trump.
The president seized on many of China’s concessions during the signing ceremony, singling out audience members who will benefit from the trade deal.
But those wins have come at a heavy price. The uncertainty created by Mr. Trump’s tariff threats and approach to trade has weighed on the economy, raising prices for businesses, delaying corporate investments and slowing growth around the globe. Businesses with exposure to China, like Deere & Company and Caterpillar, have cut some workers and lowered revenue expectations, in part citing the trade war.
Clete Willems, a partner at Akin Gump who left the White House last year, said the deal was important for proving that the United States and China could solve problems with each other despite disagreements and heightened tensions.
“We didn’t fix every single problem with China in this agreement, there is no question about that,” Mr. Willems said. “But what was done is really significant.”
Mr. Trump and Liu He, China’s vice premier, are expected to sign the deal at the White House at a ceremony that begins at 11:30 a.m. Check back here for updates.