Oil rose 3.3 per cent on Tuesday, the highest close in more than a month, a day after U.S. oil producer Anadarko said it would cut capital spending plans and Saudi Arabia vowed to reduce crude exports to help curb global oversupply.

Brent crude futures rose US$1.60 or 3.3 per cent to settle at US$50.20 a barrel, the first time the benchmark closed above US$50 since June 6. U.S. West Texas Intermediate futures rose US$1.55 or 3.3 per cent to settle at US$47.89 a barrel, the benchmark's highest close since early June.

The lower oil prices in June and July may have been affecting U.S. shale production, said Mark Watkins, regional investment manager at U.S. Bank.

"Companies are not drilling as fast they had been in the beginning of 2017," he said, "They’re not producing as much because it’s much less profitable with prices in the low US$40s."

On Monday, Anadarko Petroleum Corp posted a larger-than-expected quarterly loss and said it would cut its 2017 capital budget by US$300 million because of depressed oil prices, the first major U.S. oil producer to do so.

Earlier, Halliburton's executive chairman said growth in North America's rig count was "showing signs of plateauing".

"In the U.S. investors have been waiting to see where that top is in oil production," Watkins said, "We’ve hit a tension point."

At a meeting of the Organization of the Petroleum Exporting Countries (OPEC) and non-OPEC producers on Monday in St Petersburg, Russia, Saudi Arabian Energy Minister Khalid al-Falih said his country would limit crude exports to 6.6 million bpd in August, down almost 1 million bpd from a year earlier.

Nigeria agreed to join the deal by capping or cutting its output from 1.8 million bpd once it stabilizes at that level.

OPEC said stocks held by industrial nations had fallen by 90 million barrels in the first six months of the year but were still 250 million barrels above the five-year average, which is the target level for OPEC and non-OPEC members.

Market players will watch U.S. crude inventory data due Tuesday afternoon from the American Petroleum Institute and Wednesday morning from the U.S. Energy Information Administration. Analysts estimated, on average, that crude stocks fell 3 million barrels in the latest week.

"The general consensus around the campfire is that you’re going to get sizeable draws in crude and gasoline," said Robert Yawger, director of energy futures at Mizuho Americas.

However, higher oil prices could be a "double edged sword" Commerzbank wrote in a note on Tuesday.

"U.S. shale oil companies... would immediately take advantage of the higher price for hedging purposes and would step up their production again in the medium term."