Gold fell on Thursday as an escalating Middle East conflict fueled concerns that the US Federal Reserve could hike interest rates this year, overshadowing recent optimism over easing inflation.
Spot gold was down 0.8% at $4,029.29 per ounce by 0518 GMT. US gold futures for August delivery lost 0.4% to $4,034.40, Reuters said.
"June's inflation figures did not reflect the impact of the latest escalation in the US-Iran conflict, as the interim peace union reached last month has effectively unraveled," said Jigar Trivedi, a senior research analyst at IndusInd Securities.
The US launched two waves of attacks on Iran's coastal defenses and missile sites on Wednesday after reimposing a naval blockade of its ports, while Iran struck back by targeting US military sites in neighboring countries in what it called an "existential war" with America.
Oil prices have risen 11% so far this week, stoking concerns about inflation and higher-for-longer interest rates. While gold is traditionally seen as an inflation hedge, it loses its appeal in a high interest rate environment.
US consumer and producer inflation slowed in June, amid a pullback in the cost of energy products, reinforcing evidence that inflation was subsiding before the recent escalation in the Middle East conflict.
The moderation in inflation was, however, not enough to convince financial markets to rule out a Fed rate hike this year.
Traders are still pricing in bout a 73% chance of a December Fed hike, CME FedWatch Tool's data showed.
Fed Governor Lisa Cook said on Wednesday she is "prepared to act" if inflation does not soon begin to slow. Fed Chairman Kevin Warsh also declared his determination to bring inflation down without hinting at how.
Investors are now looking out for remarks from Dallas Fed President Lorie Logan and Fed Vice Chair Philip Jefferson, due to speak later in the day.
Elsewhere, spot silver fell 1.2% to $57.07 per ounce. Platinum eased 0.6% to $1,664.75 and palladium edged 0.4% lower to $1,308.49.