The Energy Information Administration reported a buildup of 3.2 million barrels in US crude stocks last week, while analysts expected a drop of 1.2 million barrels.
Gasoline stocks rose 1.3 million barrels to 232.1 million barrels, while distillate stocks fell 1.2 million barrels to 117.3 million barrels.