The United States edged closer on Tuesday to a devastating default as President Barack Obama's Democrats and their Republican rivals were deadlocked over competing plans to raise the debt ceiling, one week before a deadline to act.

With no compromise in sight and the threat of a far-reaching U.S. credit downgrade looming, IMF chief Christine Lagarde urged swift resolution of the political impasse in Washington, warning that failure to reach an agreement would have serious consequences for the world economy.

The clock is ticking and clearly the issue needs to be resolved immediately, Lagarde told the Council on Foreign Relations think tank, according to a text of her remarks.

Obama, in a televised address late on Monday aimed at rallying public support for a package proposed by Senate Democrats, said failure to increase the $14.3 trillion U.S. borrowing limit would severely hurt the nation.

For the first time in history, our country's triple-A credit rating would be downgraded, leaving investors around the world to wonder whether the United States is still a good bet, he said in remarks at the White House.

Republican and Democratic lawmakers, despite weeks of intense talks, are far apart on a deal to reduce the budget deficit, which would clear the way for Congress to lift the debt ceiling by the August 2 deadline, when the country runs out of cash to pay all of its of its bills. Democrats control the Senate. Republicans control the House of Representatives.

Markets have been rattled by the descent of negotiations into an acrimonious stalemate, with both sides offering competing plans that are unlikely to win bipartisan support.

Every day that goes by without a deal will see investors become a bit more defensive, said Omer Esiner, chief market analyst at Commonwealth Foreign Exchange in Washington.

'I AM CONFIDENT'

A key element of the standoff has been congressional Republicans refusing to allow any tax increase in deficit reduction packages.

Obama said a default would inflict the equivalent of a tax hike on all Americans by pushing up borrowing costs on things like credit card loans and mortgages, but he sought to assure markets a deal could be reached.

I have told leaders of both parties that they must come up with a fair compromise in the next few days that can pass both houses of Congress -- a compromise I can sign. And I am confident we can reach this compromise, he said.

The dollar fell across the board, hitting a record low against the safe-haven Swiss franc, as Obama's comments indicated a swift breakthrough in the debt talks was unlikely.

Gold, seen as another safe haven from the American and European debt woes, rose to a record high on Monday and hovered near that level on Tuesday. However, financial markets are not showing any sign of panic.

Rating agency S&P warns it could downgrade the United States unless lawmakers agree on steps to reduce the deficit by $4 trillion over 10 years.

A credit rating cut would be felt around the world. Investors will likely demand a higher return for holding U.S. government debt, a benchmark for almost all other financial markets, forcing up interest rates and sapping asset prices.

Republicans and Democrats both insist they will not allow the United States to default and many investors expect the two sides to come to an agreement as well.

Despite little sign of movement, Gene Sperling, Obama's top economic adviser said on Tuesday that Republicans and Democrats were still capable of reaching a budget deal this week if the sides show a minimum amount of compromise.

Investors are also still holding out hope for a deal.

My personal belief is that the U.S. lawmakers will eventually raise the debt ceiling because the alternative is so much worse, said Guan Ong, former chief investment officer of Korea Investment Corp, South Korea's sovereign wealth fund, who now manages his own fund.

But before we get there, I expect some level of volatility to occur and it will get worse with each day. This would be brinkmanship at its best, or worst, depending on how you look at it, he said.

Still, India's central bank said it was prepared for any market repercussions should the United States default on its debt. Central bank Governor Duvvuri Subbarao said at a news conference that India had sufficient market liquidity to deal with the impact of a default.

Democrats want to shield cherished healthcare programs such as Medicare and Medicaid and say any spending cuts in these must be balanced by changes in the U.S. tax code that generate more revenue in the future.

But Republican lawmakers are adamant they will not vote for a deal that includes tax increases, reflecting the determination of Tea Party conservatives elected last year to shrink government.

House Speaker John Boehner, the top Republican in Congress, must placate these demands and on Monday advanced a two-stage deficit reduction plan that would start with an initial $1.2 trillion in savings over 10 years.

It is sure to be rejected by Obama though because it would raise the debt limit for only a few months. The issue would have to be revisited in early 2012 ahead of elections due in November, making it even harder for lawmakers to come to an agreement.

Democrats formally presented their competing plan to reduce the deficit by $2.7 trillion over the next decade, proposing an increase in the debt limit that would carry through the November 2012 election, when Obama and many lawmakers are up for re-election.

The Obama administration has not ruled out invoking the 14th Amendment of the U.S. Constitution to sell debt, even if Congress fails to raise the borrowing ceiling.

(Editing by Will Dunham)