President Trump’s top economics adviser, Gary Cohn — who opposed his plan to impose tariffs on imported steel and aluminum — will resign in coming weeks, a new report said Tuesday.

White House officials told the New York Times there was no specific reason for Cohn’s departure — and the president praised him in a statement to the paper.

“Gary has been my chief economic adviser and did a superb job in driving our agenda, helping to deliver historic tax cuts and reforms and unleashing the American economy once again,” Trump said.

“He is a rare talent, and I thank him for his dedicated service to the American people.”

Cohn, head of the National Economic Council, is the latest high-level official to depart the White House.

Others include ex-communications director Hope Hicks, one of the president’s most trusted aides, and staff secretary Rob Porter, who was forced out after his two ex-wives accused him of being a wife beater.

Cohn, described as a free-market Democrat, almost quit once before over the president’s divisive comments on the white nationalists riot in Charlottesville, Virginia.

And his departure comes at a time when the president is putting fresh emphasis on his America-first agenda, threatening to slap a 25 percent tariff on imported steel and a 10 percent tariff on imported aluminum.

The threat has divided the GOP and top officials in the West Wing, with House Speaker Paul Ryan trying to talk the president out of it.

Cohn thought the levies could kill jobs and thwart continued economic growth.

Trump, the paper reported, had tried to sound Cohn out on replacing chief of staff John Kelly, who has recently fallen out of favor with the president and other members of the first family.

Last week, Kelly downgraded the security clearance of Trump adviser and son-in-law Jared Kushner, reportedly angering Trump’s daughter Ivanka.