Click chart to track oil prices.
NEW YORK (CNNMoney) -- Oil prices rose Tuesday, erasing earlier losses, as investors remain focused on geopolitical risks and the outlook for global energy demand.
The main U.S. oil futures contract, West Texas Intermediate, settled 81 cents higher at $104.79 a barrel. Earlier, prices slid to a one-week low of $102.70 a barrel.
Meanwhile, brent crude -- the European benchmark -- gained 45 cents to $115.25 a barrel.
Oil prices were under pressure earlier Tuesday, following declines in the previous session, as opposition fighters in Libya regain control of cities and key oil installations in Africa's third-largest crude producer.
But prices firmed, after Secretary of State Hillary Clinton said military action against forces loyal to Moammar Gadhafi will continue until the Libyan leader, "ceases his attacks on civilians."
Speaking in London, after meeting with a leader of the Libyan opposition, Clinton called on Gadhafi to pull his troops back from places they have forcibly entered, and allow "key services and humanitarian assistance to reach all Libyans."
The United Nations-backed bombing of Gadhafi's forces "prevented a potential massacre," she said.
Aside from supply jitters, investors are keeping an eye on domestic issues as well, including the outlook for consumer spending in the United States.
A key index of consumer confidence fell in March as households anticipate further increases in gas and food prices.
Retail gas prices edged higher Tuesday for the seventh day in a row. The national average price for a gallon of regular gasoline increased overnight by three tenths of a cent to $3.587, according to a daily survey from motorist group AAA.
To be sure, gas prices typically rise in the months leading up to the summer driving season. But the volatile political situation in North Africa and the Middle East has driven oil prices up some 10% so far this year, pushing gas prices above $4 a gallon in some U.S. states.
And analysts warn that oil amid gas prices could move even higher if the turmoil accelerates in strategically important nations like Yemen, Syria and Bahrain.
"Investors should remain cautious, as there is so much uncertainty in the markets at the moment," Myrto Sokou, an energy analyst at Sucden Financial, wrote in a research report.
In addition to political risks in the Middle East, investors are also worried about energy demand in Japan, the world's third-largest economy, following the March 11 earthquake and tsunami.
While oil consumption could strengthen in Japan as it rebuilds, analysts say the short-term outlook is far from certain.
-- The CNN Wire Service contributed to this report. ![]()



| Overnight Avg Rate | Latest | Change | Last Week |
|---|---|---|---|
| 30 yr fixed | 3.80% | 3.80% | |
| 15 yr fixed | 3.09% | 3.11% | |
| 5/1 ARM | 2.65% | 2.69% | |
| 30 yr refi | 3.77% | 3.86% | |
| 15 yr refi | 3.09% | 3.21% |
Today's featured rates:



| Index | Last | Change | % Change |
|---|---|---|---|
| Dow | 12,454.83 | -74.92 | -0.60% |
| Nasdaq | 2,837.53 | -1.85 | -0.07% |
| S&P 500 | 1,317.82 | -2.86 | -0.22% |
| Treasuries | 1.74 | -0.01 | -0.80% |
| Company | Price | Change | % Change |
|---|---|---|---|
| Bank of America Corp... | 7.15 | 0.01 | 0.14% |
| Sprint Nextel Corp | 2.62 | 0.09 | 3.56% |
| Cisco Systems Inc | 16.33 | -0.06 | -0.37% |
| Chesapeake Energy Co... | 15.81 | 0.23 | 1.48% |
| Ford Motor Co | 10.60 | 0.01 | 0.09% |
|
The Senate hearing will focus JPMorgan's recent $2 billion trading loss, which Dimon announced earlier this month. More |
The offer for mail handlers is part of the Postal Service's plan to cut 150,000 jobs by 2015. More |
In the whirlwind of its IPO fallout, there has been a sort of glee in watching the company stumble. What's driving the Facebook-schadenfreude and what can the social network do about it? More |
One in six children in the United States is obese. These small businesses have found creative -- and lucrative -- ways to fight the childhood obesity epidemic. More |
In Harper County, Kansas, oil companies are offering farmers up to $1,250 an acre for the mineral rights that allow them to drill for oil on their property. More |