An oil pumpjack operates near Williston, North Dakota.

Oil prices surged on Friday, as a weaker dollar encouraged buying but investors remained cautious after Russian production figures showed weak compliance with a global deal to cut output.

Global benchmark Brent rose 79 cents to $55.87 a barrel at 2:30 p.m. ET (1930 GMT), recovering some of Thursday's losses. WTI futures settled at 72 cents to $53.33 a barrel, a 1 percent gain.

"There is nothing surprising in seeing fresh buying after a big sell-off and of course the slightly weaker dollar is also helping oil recover," said Tamas Varga, senior analyst at London brokerage PVM Oil Associates.