Gold rose on Friday after a U.S. inflation data cemented prospects of rate cuts this year, restraining the dollar below recent highs, while safe-haven demand stemming from the geopolitical tensions in the Middle East also lifted bullion.

Spot gold rose 0.7% to $2,647.19 per ounce by 10:05 a.m. ET (1405 GMT), up for the second straight session, and U.S. gold futures gained 0.9% to $2,664.60.

"The economy is still relatively strong, and the Fed is still in a paradox where they're looking at cutting rates because some sectors have slowed down significantly, like housing," said Daniel Pavilonis, senior market strategist at RJO Futures.

U.S. producer prices were unchanged in September, pointing to a still-favorable inflation outlook and supporting expectations of Fed rate cut next month.

"The PPI numbers leaned friendly for the precious metals market bulls and suggest the Fed remains on track for two quarter-point interest rate cuts this year," Jim Wyckoff, senior market analyst at Kitco Metals, said.

This follows data on Thursday showing U.S. consumer prices rose slightly more than expected last month, but the annual increase in inflation was the smallest in more than 3-1/2 years.

"Gold is expected to reach $3,000 by 2025 due to geopolitical tensions, inflation concerns, and election uncertainties," Pavilonis added.

The dollar held below a two-month high against a basket of peers on Friday.

On physical front, gold dealers in India charged premiums for the first time in two months this week as the upcoming festival season attracted some jewellery buying.

"Gold ETF holdings rose by almost 95 tons in the third quarter. This means that ETFs are making a positive contribution to gold demand again for the first time in ten quarters," Commerzbank said in a note.

Spot silver rose 0.6% to $31.36 per ounce and platinum climbed 0.9% to $976.10. Both metals were headed for weekly declines.

Palladium fell 0.1% at $1,068.50 but was up nearly 6% for the week.

(Reporting by Anushree Mukherjee and Swati Verma in Bengaluru; Editing by Vijay Kishore)