Crude inventories rose by 19 million barrels in the week ended Jan. 6 to 439.6 million barrels. Analysts polled by Reuters had expected a 2.2 million-barrel drop.

It was the largest weekly build since February 2021, and the third-largest increase on record.

"It's still the backwash of the freeze-in... the crude oil number implies that the refineries are not up and running," said Bob Yawger, director of energy futures at Mizuho in New York.

U.S. crude prices briefly dipped after the data, but recovered as traders largely dismissed the crude stock rise as a one time event related to cold weather.

Crude stocks at the Cushing, Oklahoma, delivery hub rose by 2.5 million barrels in the last week, EIA said.

Net U.S. crude imports rose by 2.71 million barrels per day, bringing total net crude imports to 4.2 million bpd, the highest since July.

Refinery crude runs rose by 831,000 barrels per day in the last week, EIA said, while refinery utilization rates rose by 4.5 percentage points in the week to 84.1%.

U.S. gasoline stocks rose by 4.1 million barrels in the week to 226.8 million barrels, the EIA said, compared with analysts' expectations in a Reuters poll for a 1.2 million-barrel rise.

    Distillate stockpiles, which include diesel and heating oil, fell by 1.1 million barrels in the week to 117.7 million barrels, versus expectations for a 0.5 million-barrel drop, the EIA data showed.

"Despite lower refining activity, gasoline inventories still increased strongly amid very weak implied demand, while distillates showed a modest draw amid muted implied demand also," said Kpler oil analyst Matt Smith.

(Reporting by Arathy Somasekhar in Houston; Editing by David Gregorio)

By Arathy Somasekhar