Register now for FREE unlimited access to Reuters.com RegisterBrent crude settled at $93.50 a barrel, up $1.12, or 1.2%.
U.S. West Texas Intermediate crude (WTI) settled at$85.05 a barrel, up 54 cents, 0.6%.
Swings in the U.S. dollar, which typically moves inversely with oil prices, added to choppy trade.
China, the world's largest crude importer, has stuck to strict COVID-19 curbs this year, weighing heavily on business and economic activity and reducing demand for fuel.
U.S. oil rigs rose two to 612 this week, their highest since March 2020, while gas rigs were unchanged at 157.