The Senate passed legislation shortly after 2 a.m. that would extend current tax rates on 98 percent of Americans, raise taxes on the wealthiest earners and delay by two months the pending automatic spending cuts to defense and domestic programs, known as the "sequester."
Meanwhile, most senators had already returned home, dismissed early this morning by Majority Leader Sen. Harry Reid.
"I've said all along our most important priority is protecting middle-class Americans, this legislation does that," Senate Majority Leader Harry Reid, D-Nev., said early this morning prior to the vote.
The bill extends Bush-era tax cuts permanently for individuals making less than $400,000 per year and couples making less than $450,000 but allows the top marginal tax rate on incomes above those levels to rise to 39.6 percent.
Capital gains taxes would rise to 20 percent from 15 percent.
The measure would raise the estate tax from 35 to 40 percent for estates larger than $5 million, prevent the alternative minimum tax from hammering millions of middle-class workers and extend unemployment benefits for one year.
Lawmakers also decided at the last minute to use the measure to prevent a $900 pay raise for each member of Congress due to take effect this spring and avert a spike in milk prices by renewing some farm aid.
The steep "sequester" budget cuts scheduled to go into effect with the New Year -- a $1.2 trillion hit to defense and domestic programs -- would be postponed for two months.
ABC News' Arlette Saenz and Matthew Larotonda contributed reporting.