Gold rose nearly 2 percent on Friday, after dropping for four of the past five sessions, as a weaker dollar and falling equity markets underpinned demand for assets perceived as safer.
Oil prices dove below $29 a barrel, dragging major equity indices around the world sharply lower, as fears of a global slowdown amid a crude supply glut roiled markets and unsettled investors.
"You have pockets of risk aversion generating defensive bids in gold, but then physical buying drops away and if there's an uptick in equities, gold falls back," ICBC Standard Bank analyst Tom Kendall said.
Spot gold was up 1.06 percent at $1,089.03. U.S. gold futures for February delivery settled up $17.10 at $1,090.70 an ounce, last trading up 1.47 percent at $1089.40
"We have had a good start to the year, with prices trying to consolidate into a higher range between $1,080 and $1,100," ActivTrades chief analyst Carlo Alberto de Casa said.
Bullion hit a two-month high of $1,112 last week as volatility in Chinese stocks raised concerns about the state of the global economy, leaving investors looking for a refuge in gold and other safe havens.
The metal was boosted by a weaker dollar, which fell 0.5 percent against a basket of leading currencies, extending losses after weaker-than-expected U.S. data and making gold cheaper for foreign currency holders.