Oil prices rose in volatile trade on Thursday, with investors less worried about prospects for the global economy after the last pre-vote opinion polls showed Britain was likely to remain in the European Union.
Oil prices were also supported by market intelligence firm Genscape's report of a drawdown of nearly 1 million barrels at the Cushing, Oklahoma storage base for U.S. crude futures during the week to June 21, traders who saw the data said.
Brent crude was up 35 cents, or 0.8 percent, at $50.23 a barrel by 12:11 p.m. EDT (1602 GMT). During the session it rose as much as 2 percent, hitting an intra-day high of $50.90.
U.S. crude was at $49.46 a barrel, up 33 cents. It traded between $50 and a session low of $49.08.
Commodities and other financial markets have been on tenterhooks ahead of Britain's referendum on EU membership. Most results are expected between 0100 and 0300 GMT, with a YouGov exit poll soon after voting closes at 2100 GMT.
The dollar index was down 0.3 percent. While the sterling's rally to 2016 highs weighed on the dollar, lower U.S. jobless claims limited the greenback's drop as the data bolstered the outlook for the American economy and chances for a rate hike. A weaker dollar makes greenback-denominated oil more attractive to users of other currencies.
While oil trended higher, intraday moves were choppy over speculation on how the British vote would go.
"If the outcome turns out to be 'Remain', the global market reactions are likely to be muted," said Dominick Chirichella, senior partner at the Energy Management Institute in New York.
"A 'Leave' outcome would present the largest risk to global risk asset market values as this is not the outcome the market is currently expecting."
In oil market news, the Canadian Association of Petroleum Producers cut its 2030 Canadian oil output forecast by 400,000 barrels per day (bpd) to 4.9 million bpd.
Nordic bank SEB lifted its 2016 Brent crude oil estimate to $48 a barrel, up from $44 previously, and raised its 2017 price forecast to $55 a barrel from $50.
Saudi Arabia's energy minister said in a Saudi television interview that oil prices were improving and supply and demand had almost balanced. (By Barani Krishnan; Additional reporting by Karolin Schaps in LONDON; Editing by Marguerita Choy and David Gregorio)