Coffee closed mixed, with arabica flat and robusta posting strong gains.
July raw sugar settled down 0.08 cents, or 0.7%, at 11.94 cents per lb after peaking at 12.27 cents, the highest level for the front month since March 11.
White sugar prices hit three month highs, with the front month trading more than $20 per tonne higher than the second month, an inverted market structure that signals tight supply.
Brazil's real surged on Wednesday, potentially slowing sales from the world's top exporter of both sugar and coffee, with dollar-denominated global prices now less attractive in local currency terms.