Robusta coffee increased on Wednesday, posting the highest gain since 1995 in London after investors tried to change from surging global stock markets by buying commodities.
Coffee for May delivery increased by 3.7 percent, or $95, to $2,640 a metric ton, the highest since September 1995 on London's Liffe exchange.
Robusta coffee was forecasted to increase as high as $3,000.
Coffee in India, Asia's third-largest coffee producer, was forecasted to increase in the year starting October due to an increase in the amount of rainfall received in the main growing areas.
Cocoa for May delivery increased by 2.5 percent, or 33 pounds, to 1,377 pounds ($2,738) a ton on the Liffe exchange.
Cocoa gained after exports from Ivory Coast, the world's biggest cocoa producer, dropped by 4.5 percent in January, and shipments declined from 186,778 tons to 178,401 tons in December.
Cocoa has increased by 29 percent this year due to the drier weather conditions in Ghana and Ivory Coast, where 70 percent of the world's cocoa is grown.
In an effort to discourage cocoa smugglers, Ghana raised the price that buyers purchase the beans from farmers by 26 percent, increasing it to $1,239 per ton from 950.
Sugar for May delivery also increased by 0.7 percent, or $2.50 to $384.20 a ton.