Oil plunged to the lowest in almost two weeks on growing concerns that China's faltering economy will erode demand in the world's biggest importer of crude.
Oil fell for the first time in eight sessions as traders took stock of the outlook for worldwide demand, with China's reopening delivering a lift while other parts of the global economy slow.
Oil erased earlier losses to close higher, but remained within a tight range as traders weighed shrinking US stockpiles and the outlook for inflation in the world's largest economy.
Oil edged higher after a volatile session where traders weighed tightness in the physical market against macroeconomic concerns that are clouding the outlook for demand.
Oil inched lower on limited fresh signs of escalating conflict in the Middle East, but prices hovered above monthly lows as technical support limited losses.