By Sarah McFarlane and Alison Sider

Oil futures turned lower Tuesday, selling off after hitting an 18-month high on optimism that the crude-production cuts agreed to late last year will help to drain global stockpiles.

U.S. crude futures recently fell $1.30, or 2.42%, to $52.42 a barrel on the New York Mercantile Exchange, after climbing as high as $55.24 in earlier trading. Brent crude, the global oil benchmark, fell $1.26, or 2.22%, to $55.56 a barrel on London's ICE Futures exchange.

"I suspect it got ahead of itself," said Ric Navy, senior vice president for energy futures at RJ O'Brien & Associates. Oil prices rose "too far, too fast."

Earlier Tuesday, oil prices had been buoyed by high hopes that the Organization of the Petroleum Exporting Countries, along with other oil producing countries including Russia, would follow through on their agreement to cut output by 1.8 million barrels a day or around 2% of global production starting this month. Oil prices have gained around 25% since the Nov. 30 OPEC agreement.

But sellers -- who may have been waiting on the sidelines ahead of the holiday weekend -- likely saw an opportunity as oil hit fresh highs, said Mark Waggoner, president of Excel Futures.

"No matter what OPEC does, they're not going to report anything until the end of the month," he said. "The market was run up -- it just got overdone."

Whether oil producers will stand by their agreement and cut, and how U.S. drillers respond to continued price rises, will help set direction for the oil market into the new year. Many analysts are skeptical that producers will stick to their agreements,but on Tuesday market participants were betting that they would.

"It may be moving in anticipation that evidence will emerge that stocks are coming off," said Gareth Lewis-Davies, senior commodity strategist at BNP Paribas.

Oil prices last year posted their biggest gains since the financial-crisis-era rebound in 2009, a recovery fueled by the apparent willingness of OPEC to cut supply again. Stocks remain at high levels, however, with global inventory estimated at around 3 billion barrels.

"As long as this strong belief keeps holding, prices will remain supported and could rise further, which is no longer justified fundamentally," said Carsten Fritsch, analyst at Commerzbank AG.

Confidence in the production agreement was bolstered after officials in Oman and Kuwait indicated that they were in the process of enacting the agreed-upon cuts, analysts said.

Traders and analysts expect evidence of the cuts to have materialized by late January but are cautious due to OPEC members' checkered history when it comes to adhering to quotas.

"It's going to be a year in which price action is driven by OPEC and these cuts," said Virendra Chauhan, oil analyst at Energy Aspects in Singapore. "It's going to be very much a case of the extent that these guys are complying with the production cuts set at the end of November."

A risk to the sustained recovery of the oil market will be how U.S. oil producers respond to the higher oil prices, after the production-cut deal sent prices back above $50 a barrel. Already, U.S. shale producers have responded to last year's price rebound by adding rigs, and any steep increase in prices is likely to spur more drilling.

U.S. oil-rig numbers have been steadily rising since last summer, but due to the time lag between drilling activity and production, the additional production is yet to come on stream.

Positive manufacturing data also bolstered prices, said John Kilduff, founding partner of Again Capital.

"Beyond the production deal, there's a lot of good news in the manufacturing sector which is energy intensive," Mr. Kilduff said.

Gasoline futures also reversed course, falling 4.65 cents, or 2.78%, to $1.6244 a gallon. Diesel futures fell 4.83 cents, or 2.79%, to $1.6799 a gallon.

--Dan Strumpf contributed to this article.

Write to Sarah McFarlane at sarah.mcfarlane@wsj.com and Alison Sider at alison.sider@wsj.com

(END) Dow Jones Newswires

January 03, 2017 12:47 ET (17:47 GMT)

Copyright (c) 2017 Dow Jones & Company, Inc.