UBS's near-term caution reflects a market still digesting the risk of further Fed rate increases, which would keep real yields elevated and the opportunity cost of holding non-yielding gold high, a dynamic that has already contributed to gold's near 5% decline since the start of 2026 and its retreat from January's record above $5,500. The bank's flagged risk of a pullback toward $3,850 gives traders a concrete downside level to watch, while its longer-term bullish trajectory toward $5,200 by mid-2027 rests heavily on the Fed holding rates steady and eventually cutting in early 2027. Central bank buying, running at an annualised pace of roughly 700 tons, remains the most reliable pillar of demand and a key threshold to monitor: UBS suggests official-sector purchases need to stay close to 300 tons per quarter for gold to hold above $4,000. Softening ETF and bar-and-coin demand, alongside slightly higher mine supply, are the clearest signs that investment appetite has cooled from earlier in the year, making the Fed's next moves the dominant catalyst for whether gold stabilises or extends its slide first.--- UBS sees gold's long-term rally intact, but says a dip toward $3,850 may come first if the Fed keeps hiking.Summary:UBS forecasts gold reaching $4,400 by September, $4,600 by December, $5,000 by March 2027 and $5,200 by June 2027The bank warns of near-term downside risk toward $3,850 given markets are still pricing possible Fed rate increases this yearGold is down almost 5% since the start of 2026, having pulled back sharply from a January high above $5,500World Gold Council data showed bar-and-coin demand fell to 307 tons in the second quarter, while investment demand excluding OTC activity dropped to 262 tons from 487 tons a year earlierCentral bank purchases reached 289 tons in the second quarter, with first-half buying at an annualised rate of roughly 700 tons, providing the strongest source of demand supportUBS says a Fed decision to hold rates steady, followed by cuts in early 2027, could revive investment demand and support gold's next leg higherUBS expects gold to reach $5,200 an ounce by June 2027, though the bank has warned prices could first retreat toward $3,850 as expectations around US interest rates and softer investment demand weigh on bullion in the near term.Gold is down almost 5% since the start of 2026, having pulled back substantially from a January high above $5,500. UBS remains bullish over the longer term despite that retreat, projecting the metal will climb to $4,400 by September, $4,600 by December, $5,000 by March 2027 and $5,200 by June 2027. In the immediate term, however, the bank is more cautious, citing price risks skewed to the downside that leave room for a pullback toward $3,850.That near-term caution follows softer second-quarter demand data from the World Gold Council. Bar-and-coin demand fell to 307 metric tons in the quarter, down from more than 400 tons in each of the two preceding quarters, while investment demand excluding over-the-counter transactions dropped to 262 tons from 487 tons a year earlier, reflecting outflows from gold-backed exchange-traded funds. Mine production also rose, reaching 966 tons in the second quarter compared with 948 tons a year earlier, adding to supply even as recycled gold supply eased to 326 tons from 374 tons in the first quarter.Central bank buying has offered the clearest counterweight to that softness, with official-sector purchases reaching 289 tons in the second quarter and first-half buying totalling around 345 tons, equivalent to an annualised pace of about 700 tons. UBS said that for gold to hold above $4,000, investment inflows need to recover and official-sector demand needs to remain close to 300 tons per quarter, with even stronger central bank buying making conditions more supportive still.Monetary policy remains the dominant swing factor in UBS's outlook. With markets still pricing in the possibility of further Fed rate increases this year, the bank sees near-term risks tilted to the downside. A decision by the Fed to hold rates steady instead, followed by rate cuts in early 2027, could revive investment demand by lowering real yields and reducing the opportunity cost of holding a non-interest-bearing asset like gold, while also weighing on the US dollar. UBS added that dollar diversification trends and ongoing inflation concerns would provide further support for gold's role as a reserve and safe-haven asset over time.The bank characterised any near-term weakness toward $3,850 as a potential entry point rather than a signal of a broader bear market, concluding that periods of softness at that level may ultimately prove to be opportunities for long-term investors to build exposure rather than reasons to step away from gold. This article was written by Eamonn Sheridan at investinglive.com.