Meanwhile, ahead of weekly data, crude oil inventories in the United States were also forecast to have dropped for a seventh straight week.
Analysts also noted the market was up on optimism over U.S.-China trade talks, which could boost oil demand around the world.
On its second to last day as the front-month Brent crude for September delivery were up 42 cents, or 0.7%, at $64.13 a barrel at 12:06 p.m. EDT, while U.S. crude rose 33 cents, or 0.6% to $57.20.
That put both contracts on track to rise for a fourth day in a row to what would be their highest closes since July 16.
For the month, however, both contracts were set to decline due to lingering worries about oil demand with Brent down over 3% and WTI down over 2%.
“Regarding the Fed, the market has priced in a 25 basis point cut for Wednesday,” Harry Tchilinguirian, global oil strategist at BNP Paribas in London, told the Reuters Global Oil Forum.
“If the language we get from the Fed in post-meeting comments is on the conservative, rather than accommodative side, the U.S. dollar is likely to continue to remain strong and continue to present a headwind for an advance in oil.”
U.S. central bankers will begin their two-day meeting later on Tuesday and were expected to lower borrowing costs for the first time since the depths of the financial crisis more than a decade ago.
U.S. President Donald Trump called on the Federal Reserve to make a large interest rate cut, saying he was disappointed in the central bank and that it had put him at a disadvantage by not acting sooner.
Economic growth in the United States slowed less than expected in the second quarter, strengthening the outlook for oil consumption but, elsewhere, disappointing economic data has increased concerns about slower growth.
Other analysts said prices were up this week due to technical issues and expectations of bullish U.S. storage reports.
“We believe this week’s price advance is attributable to ... some renewed algorithmic related buying ... associated with some positive technical signals,” said Jim Ritterbusch of Ritterbusch and Associates, noting the oil complex also appears to be pricing in a bullish U.S. inventory report.
U.S. crude stockpiles were forecast to have dropped by 1.8 million barrels last week, according to analysts in a Reuters poll. The American Petroleum Institute (API), an industry group, is due to release its inventory report at 4:30 p.m. EDT, followed by government data on Wednesday morning.
If correct, that would put crude stocks down for a seventh week in a row for the first time since they fell for a record 10 weeks in a row in January 2018, according to Refinitiv data going back to 1982.
U.S. and Chinese negotiators also meet this week for their first in-person talks since agreeing to a truce to their trade dispute at a Group of 20 meeting last month.
However, expectations for progress during the two-day Shanghai meeting are low, so officials and businesses hope Washington and Beijing can at least detail commitments for “goodwill” gestures and clear the path for future negotiations.
Trump warned China against waiting out his first term in office to finalize any trade deal, saying if he wins re-election in the November 2020 U.S. presidential contest, the outcome could be no agreement or a worse one.
Supply risks are still a concern as tensions remained high around the Strait of Hormuz, through which about a fifth of the world’s oil passes.
BP Plc has not taken any of its own oil tankers through the strait since a July 10 attempt by Iran to seize one of its vessels, its chief financial officer said.
Meanwhile, the United States has formally asked Germany to join France and Britain in a mission to secure the Strait of Hormuz and to combat Iranian aggression, the U.S. Embassy in Berlin said.