U.S. WTI crude futures settled up 20 cents, or 0.5 percent, at $41.85 after struggling to find direction on Tuesday.
Weighing on markets were bets that OPEC will not cut output to stem a supply glut when the world's biggest oil producers meet this week, although a rally in U.S. gasoline and a weak dollar limited losses on the petroleum complex.
Trading has been sluggish ahead of the Organization of the Petroleum Exporting Countries' meeting in Vienna on Friday amid worries the group will choose to keep output high to defend market share against non-member oil producers such as the United States and Russia.
U.S. jobs data for November are also due on Friday, and likely to keep oil prices range bound till then, traders said. Stronger jobs numbers could help the Federal Reserve decide on the first U.S. rate hike in nearly a decade, sending the dollar higher and oil possibly into the $35-a-barrel area.