Oil prices, battered after a slump dating back to the summer of 2014, touched the $50 a barrel level for the first time in seven months Thursday.
The prices of West Texas Intermediate and Brent crude each fell slightly below $50 by the end of the trading day after some profit-taking by some investors, but reaching the $50 mark offered a psychological boost to an industry that has taken its share of body blows.
West Texas Intermediate, the benchmark price for U.S., closed Thursday at $49.48 a barrel. Brent, the benchmark in most global markets, was at $49.59.
As recently as Feb. 11, the price of oil was below $27 a barrel.
"There is an air of optimism right now and we think we have turned the corner," said Saeed Irani, president of Irani Engineering, which drills and completes wells for independent petroleum producers. "There is a feeling we'll have one more drop, but it will be short term and there will be full-blown activity at $60" a barrel.
Robert Rapier, chief energy analyst for Investing Daily, was more wary.
"I think the market has gotten a little bit ahead of itself," Rapier said, noting that rising prices may stimulate production at the same time oil inventories remain swollen.
"If that [production] comes online, it's going to slow down the draw-down in inventories," Rapier said, which would lead to another price drop.
Why have oil prices bounced back?
"Production is going down and demand is going up. That's usually a recipe for higher prices," said Dan Steffens, president of Houston-based Energy Prospectus Group.
The number of active oil and gas rigs in the U.S. dropped to 404 last week, as compiled by the oilfield services company Baker Hughes. In September 2014, 1,931 rigs were up and running.
Since the start of 2015, 63 oil producers in North America have filed for bankruptcy and huge energy companies have consistently turned in lower quarterly earnings. Oil giants such as Shell and Chevron Corp., based in San Ramon, Calif., have reported falling earnings and put big projects on the back burner.
Geopolitical instability is another factor in the price rise, especially for Brent crude. Repeated attacks by militants in Nigeria have disrupted its oil flows and the increasingly desperate political situation in Venezuela has led to the country's lowest oil output in eight years.
Nigeria and Venezuela are members of OPEC.
A massive fire in Canada's Alberta province this month cut that nation's oil production by nearly 1 million barrels a day and has added to a general sense that excess production is finally getting absorbed and the market may be moving closer to achieving balance.
The anticipation of higher demand is also helping boost prices as the Memorial Day weekend looms and the summer driving season begins.
"It means higher prices than we have now but not substantially higher, maybe another 20, 30 cents a gallon above where they're at right now," Rapier said.
Oil prices were at $100 a barrel in June 2014 but a slow decline in prices quickly turned into a rout in late November 2014 after the Organization of the Petroleum Exporting Countries surprised global analysts by keeping production levels up instead of cutting production to keep prices high.
Though OPEC's dominant member, Saudi Arabia, denied it, the move was widely considered an attempt to blunt the booming shale oil industry in the United States and Canada.
"The market slump has stretched for a year and half," said Rock Zierman, chief executive of the California Independent Petroleum Assn. "Several months of stable prices at this level would give producers the assurance to invest in more domestic production, which will help restore jobs and generate more tax revenue."