Earlier, McConnell had agreed with Obama that an overall deal was near. In remarks on the Senate floor, he suggested Congress move quickly to pass tax legislation and "continue to work on finding smarter ways to cut spending" next year.
The White House and Democrats initially declined the offer, preferring to prevent the cuts from kicking in at the Pentagon and domestic agencies alike. A two-month compromise resulted.
Officials in both parties said the agreement would prevent tax increases at incomes below $400,000 for individuals and $450,000 for couples.
At higher levels, the rate would rise to a maximum of 39.6 percent from the current 35 percent. Capital gains and dividends in excess of those amounts would be taxed at 20 percent, up from 15 percent.
The deal also would also raise taxes on the portion of estates exceeding $5 million to 40 percent. At the insistence of Republicans, the $5 million threshold would rise each year with inflation.
Much or all of the revenue to be raised through higher taxes on the wealthy would help hold down the amount paid to the Internal Revenue Service by the middle class.
In addition to preventing higher rates for most, the agreement would retain existing breaks for families with children, for low-earning taxpayers and for those with a child in college. Also, the two sides agreed to prevent the alternative minimum tax from expanding to affect an estimated 28 million households for the first time in 2013, with an average increase of more than $3,000. The law originally was designed to make sure millionaires did not escape taxes, but inflation has gradually exposed more and more households with lower earnings to its impact.
The legislation leaves untouched a scheduled 2 percentage point increase in the payroll tax, ending a temporary reduction enacted two years ago to help revive the economy.
Officials said the White House had succeeded in gaining a one-year extension of long-term unemployment benefits about to expire on an estimated two million jobless.
It was unclear whether the legislation would prevent a 27 percent cut in fees for doctors who treat Medicare patients was unknown.
Also included is a provision to prevent a threatened spike in milk prices after the first of the year.
Even as time was running out, partisan agendas were evident.
Obama used his appearance not only to chastise Congress, but also to lay down a marker for the next round of negotiations early in 2013, when Republicans intend to seek spending cuts in exchange for letting the Treasury to borrow above the current debt limit of $16.4 trillion.
"Now, if Republicans think that I will finish the job of deficit reduction through spending cuts alone — and you hear that sometimes coming from them ... then they've got another think coming. ... That's not how it's going to work at least as long as I'm president," he said.
"And I'm going to be president for the next four years, I think," he added.
Obama's remarks irritated some Republicans.
Sen. John McCain of Arizona they would "clearly antagonize members of the House."
Associated Press writers Julie Pace, Andrew Taylor, Alan Fram and Ben Feller contributed to this report.
- Rupert Murdoch vows Fox News without Ailes is...
- Trump's closer is over, Clinton set to snag...
- Ex-KKK leader David Duke says he plans to run...
- Police give all-clear in Munich shooting; say...
- Obama rejects Trump depiction of US in crisis
- Warriors' Draymond Green settles assault case...
- Ex-KKK leader David Duke runs for Senate: 'My...
- AP source: Clinton's choice for VP to be...
- Sarah Silverman: Bernie-or-bust Dems... 49
- Obama rejects Trump depiction of US in... 41
- Police give all-clear in Munich... 32
- After turmoil, Sanders, Michelle Obama,... 30
- Dems' division, emails roil party on... 28
- Watch live at the Democratic National... 25
- In wake of email hack, Democratic chair... 23
- Hillary Clinton selects running mate... 19