Updated at 1:10 p.m.: Revised to include comment from Sen. John Cornyn, Gov. Greg Abbott and Rep. Kevin Brady, along with additional reaction from the business community.

WASHINGTON — President Donald Trump's surprise plan to levy tariffs on all goods imported to the U.S. from Mexico would strike a hammer blow to Texas, threatening the state's economy and all but guaranteeing financial pain for the state's businesses and consumers.

Mexico is Texas' top trading partner — by far.

The Lone Star State last year imported more than $107 billion in goods from its southern neighbor. That means if Trump's tariff plan is fully realized — levying all Mexican imports at 25% — the tax in Texas alone would equal nearly $27 billion.

Such a duty would likely raise prices in the U.S. on avocados, beer and myriad other consumer goods. Ditto for auto parts, computer equipment and other items that are vital to a cross-border economy that's been stitched together tight by the decades-old North American Free Trade Agreement.

That's just for starters, too, particularly as Trump has already launched high-dollar trade wars with China and other countries.

Trump's gambit will jeopardize approval of his NAFTA revamp, dubbed the U.S.-Mexico-Canada Agreement, while jolting global markets and inviting trade retaliation from Mexico on the wide array of American-made goods that cross the border heading south.

Those secondary effects could devastate farmers, manufacturers and others in Texas, which last year sent nearly $110 billion in goods to Mexico.

"This is one more erratic and nonsensical action from an accidental president whose approach to problem solving is to figure out how to turn one problem into another," Rep. Filemon Vela, D-Brownsville, said in a news release bemoaning the potential hit to Texas families and businesses.

On June 10th, the United States will impose a 5% Tariff on all goods coming into our Country from Mexico, until such time as illegal migrants coming through Mexico, and into our Country, STOP. The Tariff will gradually increase until the Illegal Immigration problem is remedied,.. — Donald J. Trump (@realDonaldTrump) May 30, 2019

The president's move came late Thursday in response to a growing migration crisis at the U.S.-Mexico border, where Central Americans are crossing in record numbers. He said the Mexican tariffs would start at 5% on June 10 and increase by 5 percentage points each month through October.

"The Tariff will gradually increase until the Illegal Immigration problem is remedied," Trump wrote on Twitter.

He doubled down Friday, saying that "Mexico has taken advantage of the United States for decades," adding that "in order not to pay Tariffs, if they start rising, companies will leave Mexico" and that "the Tariff is about stopping drugs as well as illegals!"

Trump's frustration over the matter has been palpable for months, particularly as immigration officials have warned that they are being "overwhelmed" at the border. He's long urged Mexico to do more to help, using similar economic threats in the past to goad the country into action.

The Republican continues to have broad backing on that front from his GOP allies in Congress, even as the Democratic-run House has stymied efforts such as building a border wall.

But Trump's decision to tie the immigration crisis to an economic pillar like trade could test support even from his most fervent Republican fans. That's doubly true in Texas, where key GOP'ers had previously urged Trump against drastic steps like shutting down the U.S.-Mexico border.

The President's threat to impose tariffs on Mexico will only hurt American workers, economic growth, and our national security. Instead of inflicting penalties on our southern neighbor, we must continue to work with Mexico to handle the influx of migrants. https://t.co/Pm1tEGtmba — Rep. Henry Cuellar (@RepCuellar) May 31, 2019

At least one top Republican, from outside Texas, was quick to condemn Trump's latest action.

"Trade policy and border security are separate issues," said Iowa Sen. Chuck Grassley, a Republican who leads the Senate Finance Committee, which has jurisdiction over trade matters. "This is a misuse of presidential tariff authority and counter to congressional intent."

One top Texas Democrat also sought to get leading Republicans from Texas on the record.

"Do you have any courage to stand up against an actual severe threat by @RealDonaldTrump that will wreck our Texas economy?" San Antonio Rep. Joaquin Castro wrote on Twitter to Gov. Greg Abbott and Sen. John Cornyn.

Abbott said later that he shares Trump's "deep frustration with Congress' inaction to step up and fix" the "crisis at our southern border." He urged Congress to act, explaining that the "crisis is worsening by the day" and that "Texas is being left to deal with the consequences."

But, he said, "I've previously stated my opposition to tariffs due to the harm it would inflict on the Texas economy, and I remain opposed today."

A spokesman for Cornyn said the senator "supports the President's commitment to securing our border, but he opposes this across-the-board tariff which will disproportionately hurt Texas." The office of Texas Sen. Ted Cruz, a Republican, didn't respond to a request for comment.

Another key Texas Republican, Rep. Kevin Brady, the top GOP'er on the House Ways and Means Committee, pushed for the U.S. and Mexico to "find common ground," noting that "Mexico is a valued ally and the new tariffs are not yet in effect."

"It is in both of our interests to do so, economically and for stronger security," said Brady, who hails from The Woodlands.

The business community in Texas and beyond, meanwhile, raised the alarm over Trump's plan.

"The economic consequences of Trump's new plan could be swift and severe, especially in Texas," said Eddie Aldrete, a senior vice president of IBC Bank and chairman of the Texas-Mexico Trade Coalition, a group affiliated with the Texas Association of Business.

"Imposing unilateral tariffs on Mexican imports would be a grave error," said the Business Roundtable, an industry group for top CEOs, including Dallas-based AT&T's Randall Stephenson.

"Threatening to increase costs on American manufacturers and consumers will hurt American jobs and raise prices," said Global Automakers, an industry group representing the likes of Toyota, whose North American headquarters are in Plano.

That sort of reaction is not surprising, given that Mexico provides the U.S. with a bevy of essential goods, ranging from fresh produce to tractors to TVs to crude oil to refrigerators to beer to the laundry list of parts that end up traversing the border multiple times in the production of automobiles.

But it's an open question if Trump will listen to those pleas.

While many congressional Republicans have warned Trump on trade issues for months, they've taken no legislative action to constrain him. Trump also often glosses over the fact that tariffs are taxes paid by American businesses and consumers, instead choosing to highlight a strong economy.

In any case, some Republicans will no doubt back up Trump.

"You go Mr. President!" Rep. Randy Weber, R-Friendswood, tweeted early Friday, quoting Trump's tweet announcing the Mexican tariff threat but not elaborating further.

.@GregAbbott_TX You told @SpeakerPelosi to “pound sand” recently for requesting documents about your voter purge. Do you have any courage to stand up against an actual severe threat by @RealDonaldTrump that will wreck our Texas economy? Cc: @JohnCornyn https://t.co/rIT26YeH1v — Joaquin Castro (@JoaquinCastrotx) May 30, 2019

There remains the chance that Trump could be bluffing. The tariffs aren't slated to go into effect for several days, and U.S. and Mexican officials plan to meet Wednesday to discuss the dispute. The initial 5% levy, while serious, would likely be bearable for many businesses and consumers.

But that doesn't change the curious timing of Trump's latest trade ante.

The president recently raised the stakes in his trade battle with China, increasing tariffs on a huge swath of Chinese goods and threatening to impose levies on everything the U.S. imports from that country. So experts were already warning that an economic tipping point could be near.

Trump also has been moving of late to cement America's free-trade ties with Mexico — a top priority for Texas policymakers and business leaders.

He's been pushing for passage of the U.S.-Mexico-Canada Agreement, which he has touted as a game-changing trade deal for all three countries. His administration even recently lifted tariffs he had imposed on steel and aluminum from those two countries to further boost that effort.

Groups like the Texas Farm Bureau said that goal has to remain the focus.

"We just want to make sure that whatever is done here, that it doesn't jeopardize progress on USMCA," said Laramie Adams, the group's national legislative director, explaining that passage of the trade deal is critical to provide some measure of certainty to the state's beleaguered farmers.

But a new slate of tariffs on Mexico sends a very different message, putting Mexican leaders in a tough spot as they and their Canadian counterparts try to move forward with OK'ing the USMCA.

"Please, remember that I do not lack valor, that I am not a coward nor timorous but rather act according to principle," Mexican president Andrés Manuel López Obrador wrote to Trump, adding that "social problems are not solved with duties or coercive measures."

Trump's new tariff move wouldn't just hurt the U.S. economy. It would likely harm the Mexican economy as well. That could have the net effect of causing more migration to the U.S., further intensifying the problem Trump seeks to solve.

Shannon O'Neil of the Council on Foreign Relations pointed out that new tariffs would make it "even harder for AMLO" — as Mexico's president is known — "to deal with Central American migration."

"If Trump really wants to to solve the problem, this is the opposite of what to do," said O'Neil, an expert on U.S.-Mexico relations.

Phil Levy, a senior fellow at the Chicago Council on Global Affairs, also explained in Forbes that Trump's latest move could have severe implications for any coming trade deal. That's because Trump again showed he "will repeatedly turn to tariffs to resolve an unending list of grievances."

"If a president does not respect trade commitments, what is the point of reaching new trade commitments?" wrote Levy, who served as a senior economist on trade under President George W. Bush.

Mexico-Border correspondent Alfredo Corchado contributed to this report.