President Donald Trump is considering an executive order in the new year to declare a national emergency that would bar U.S. companies from using telecommunications equipment made by China's Huawei and ZTE, three sources familiar with the situation told Reuters.

It would be the latest step by the Trump administration to cut Huawei Technologies and ZTE, two of China's biggest network equipment companies, out of the U.S. market. The United States alleges that the two companies work at the behest of the Chinese government and that their equipment could be used to spy on Americans.

The executive order, which has been under consideration for more than eight months, could be issued as early as January and would direct the Commerce Department to block U.S. companies from buying equipment from foreign telecommunications makers that pose significant national security risks, sources from the telecoms industry and the administration said.

While the order is unlikely to name Huawei or ZTE, a source said it is expected that Commerce officials would interpret it as authorization to limit the spread of equipment made by the two companies. The sources said the text for the order has not been finalized.

The executive order would invoke the International Emergency Economic Powers Act, a law that gives the president the authority to regulate commerce in response to a national emergency that threatens the United States.

The issue has new urgency as U.S. wireless carriers look for partners as they prepare to adopt next generation 5G wireless networks.

The order follows the passage of a defense policy bill in August that barred the U.S. government itself from using Huawei and ZTE equipment.

Huawei and ZTE did not return requests for comment. Both in the past have denied allegations their products are used to spy.

The White House also did not return a request for comment.

The Wall Street Journal first reported in early May that the order was under consideration, but it was never issued.