The US government is in partial shutdown after politicians failed to reach an agreement over funding for the Mexican border wall.
President Donald Trump's team was on Capitol Hill late Friday trying to broker a compromise as he pushes for $5 billion in funding for the construction of the controversial wall.
Democrats are staunchly opposed, and the absence of an elusive deal means federal funds for several key government agencies, including Nasa, will lapse at midnight (6pm NZT).
"We're going to have a shutdown," Trump said via video message on Twitter less than three hours from the deadline.
"There's nothing we can do about that because we need the Democrats to give us their votes. "The shutdown hopefully will not last long."
Seventy five percent of government funding has already been approved for the budget year that started in October and will be unaffected. But the shutdown could cut off spending for nine of the 15 cabinet-level federal departments, including Homeland Security, Justice, Transportation, Interior, Agriculture and State.
Operations for several key agencies will cease in the early hours of Saturday, local time. That will cause about 800,000 government employees to stop getting paid just days out from Christmas, and about 380,000 of them will stop working, according to a Senate committee report. Senators have passed legislation so workers receive back pay but that won't be actioned until the situation is resolved. Access to national parks during the holidays are likely be thrown into disarray as a result of the shutdown, and travellers could face severe delays. The shutdown could cost the US economy billions of dollars and it remains unclear how long it will last.
The shutdown comes after Trump called for the "nuclear option" in a barrage of tweets and warned the closure of vital agencies would "last for a very long time".
"Shutdown today if Democrats do not vote for Border Security!" he wrote.
Trump had appeared to reverse his hard line position earlier this week, when White House Press Secretary Sarah Sanders said the administration did not want to close the government and would "look at other ways" to get the $US5 billion ($A7 billion) for the wall.
By Thursday afternoon all bets were off, and the President called Republican leaders from the House of Representatives to the White House, ordering them to push through a funding bill that included the figure.
Border wall design unveiled
Earlier today, Trump unveiled a design for the border wall he wants built between the country and Mexico and described the spiked barrier as "beautiful".
Trump today tweeted an image of the design, which showed the steel bars with sharp, pointed tips, and said it was "totally effective".
Online critics said it wasn't a wall but a "steel picket fence" and that anyone with a purpose-built ladder could still find their way over it or possibly even through it. One supporter called the design "bold and brave".
"The Democrats, are saying loud and clear that they do not want to build a Concrete Wall — but we are not building a Concrete Wall, we are building artistically designed steel slats, so that you can easily see through it," Trump tweeted Tuesday.
During a bill signing Friday, Trump said he didn't care what people called it: "One way or the other we're going to get a wall, we're going to get a barrier, we're going to get anything you want to name it. You can name it anything you want."
He later praised the House for "approving strong border security and the money necessary to take care of the barrier, wall or steel slats."
During his campaign, Trump promised to build a "big, beautiful wall" made of concrete, rebar and steel across the length of the southern border, to keep out illegal immigrants. Back then, he lashed out at the suggestion that what he was proposing had anything in common with fencing,
"Jeb Bush just talked about my border proposal to build a "fence." It's not a fence, Jeb, it's a WALL, and there's a BIG difference!" he tweeted in 2015.
And just before taking office, Trump corrected a reporter who described the concept as a fence.
"It's not a fence, it's a wall. You just misreported it," Trump said at a post-election press conference.
"Another temper tantrum"
The majority-GOP House approved Trump's funding bill as directed, but Democratic Senators have vowed to block it, with the party only willing to approve $US1.3 billion for border security.
"We will get it done, one way or the other!" Trump tweeted on Friday morning. "The Democrats now own the shutdown!"
But Senate Democratic Leader Chuck Schumer hit back: "The Senate UNANIMOUSLY passed a bipartisan solution to avoid a shutdown. Then you threw another temper tantrum and convinced the House to ignore that compromise."
If the funding bill is not approved in the Senate, the US government will face partial shutdown, with nine of 15 agencies closing, leaving the nation in turmoil.
Famous sites such as the Statue of Liberty could close, travellers may face severe delays and government workers will be placed on leave without pay or have to wait for their wages. The scenario could cost the US economy billions of dollars.
Trump was resolute in the face of impending chaos. "People don't want Open Borders and Crime!" he tweeted.
He claimed there was "nothing else's (sic) that will work" to fix immigration issues in the US other than a wall along the southern border with Mexico.
He compared his wall to the wheel, insisting "there is nothing better" and that he "knows tech better than anyone".
Trump told reporters at a bill signing the chances of a shutdown were now "probably pretty good", according to CNN.
"It's really up to the Democrats," he said. "Totally up to the Democrats as to whether or not we have the shutdown.
"It's possible we will have a shutdown. I would say the chances are probably very good because I don't think Democrats care so much about this issue."
While the Republicans have a slim majority in the Senate, 60 votes out of 100 are needed to approve legislation, meaning the party needs to find support from some Democrats.
The "nuclear option" is a procedure that allows the Senate to override this and end a debate with a simple majority of 51 votes.
Sanders said Trump would "love" House Majority Leader Mitch McConnell to lower the threshold.
He tweeted: "Mitch, use the Nuclear Option and get it done! Our Country is counting on you!"
McConnell has not previously seemed open to raising the option, but overnight urged senators to "not end the year the way we began" with a shutdown over immigration. "Let's pass it and let's finish our work for this year," he said. "Let's secure our country."
Spiralling towards shutdown
The wall has long been Trump's signature promise, and one he sees as vital to winning re-election in 2020.
Last week, he claimed he would be "proud" to shut down the government if Congress did not approve his funding. During a public spat with Democrat leaders in a televised Oval Office meeting, Trump said he would "wear the mantle" if a shutdown took place.
But by Friday, he had changed his tune, and was ready to blame the other side. "If enough Dems don't vote, it will be a Democrat Shutdown!" he tweeted.
It unleashed a war of words between the two sides, with Schumer telling reporters late on Thursday: "The bill that's on the floor of the House, everyone knows will not pass the Senate."
Kevin McCarthy, leader of Republican politicians in the House, said: "Chuck Schumer and Senate Democrats now have to decide whether it is worth shutting down the government to keep us from securing our border."
Some senators blamed a "hissy fit" thrown by conservative radio hosts for the country's nightmare position. "I am astonished. We had a deal … and then because Rush Limbaugh had a hissy fit we're back here today," said Senator Joe Donnelly, according to BuzzFeed.
Sanders had indicated a reversal on Tuesday, saying the administration did not want a shutdown and would look at "other ways to get to" the $US5 billion ($A7 billion) Mr Trump wants to build his wall.
There was discussion of using defence money to fund it.
But Trump ignored many advisers by backing away from a stopgap bill without the wall money that would have averted the looming closures.
The Senate is being called back to session to consider the package approved by the House, but is expected to reject it.
The White House cancelled Trump's planned trip to his Mar-a-Lago resort in Florida on Friday afternoon, according to an internal email seen by Politico.
That suggests a shutdown is looking increasingly likely, and he will remain in Washington to try to thrash out an agreement that works for both sides.
Congress is staring down the barrel of its third shutdown in two years, with funding not yet agreed for nine of 15 government agencies — including Nasa and the Food and Drug Administration.
More than 800,000 federal workers will be affected, with the departments of commerce, justice, agriculture, homeland security and national parks forced to close.
Workers not classified as essential to public safety at the unfunded agencies would be put on temporary leave and none would be paid until the matter is resolved.
Three-quarters of government programs are fully funded up to next October, including those carried out by the defence, labour, veterans affairs and health and human services departments.
Senators already passed their own short-term spending bill with border security money, but that plan provided no money for the wall.
— With wires