US politicians have stepped back from the fiscal cliff which many feared could prompt a new economic downturn.
Early on New Year's Day, the Democrat-dominated Senate passed legislation to block huge tax increases and spending cuts by an overwhelming 89-8. A vote in the Republican-led House of Representatives is expected later.
Shortly after the Senate vote, President Barack Obama welcomed the deal, which came after weeks of intense negotiations. He said: "While neither Democrats nor Republicans got everything they wanted, this agreement is the right thing to do for our country and the House (of Representatives) should pass it without delay."
Mr Obama said the Bill takes a balanced approach to shrinking the US deficit by "investing in (the) middle class" while "asking the wealthy to pay a little more".
The White House-backed legislation prevents middle class taxes from rising sharply but raises rates on incomes over 400,000 US dollars (£245,800) for individuals and 450,000 US dollars (£276,000) for couples.
It also blocks spending cuts for two months, extends unemployment benefits for the long-term jobless, prevents a 27% cut in fees for doctors who treat Medicare patients and prevents a spike in milk prices. A last-minute addition also blocks a 900 US dollars (£553) pay rise for members of Congress - those serving in both the Senate and the House - from taking effect in March.
Without legislation, economists had warned of a possible new recession and spike in unemployment if the fragile US economy were allowed to fall over the so-called fiscal cliff of tax increases and spending cuts.
With the midnight deadline approaching there was frantic activity in Washington as the Obama administration and politicians spent the final hours of 2012 haggling over long-festering differences. "It shouldn't have taken this long to come to an agreement, and this shouldn't be the model for how we do things around here," said Senate Republican leader Mitch McConnell, who negotiated the agreement with vice president Joe Biden.
Under the deal, spending cuts totalling 24 billion US dollars (£14.7 billion) over two months at the Defence Department and elsewhere will be deferred. That will allow the White House and politicians time to regroup before plunging very quickly into a new round of budget brinkmanship certain to revolve around Republican calls to rein in the cost of the Medicare healthcare programme and other government benefit schemes.
Passage of the Bill in the Senate sends the measure to the House of Representatives, where Speaker John Boehner refrained from endorsing a package as yet unseen by his famously rebellious rank-and-file. He said the House would not vote on any Senate-passed measure "until House members - and the American people - have been able to review" it. And while the nominal deadline for action passed at midnight, Mr Obama's signature on legislation by the time a new Congress takes office at noon on January 3 - the likely timetable - would eliminate or minimise any inconvenience for taxpayers.