Japan's wholesale prices fell at the fastest pace in more than 22 years in May, adding to signs that deflation may again take root.

Producer prices, the costs firms pay for energy and raw materials, fell 5.4 percent from a year earlier, the biggest slide since March 1987, the Bank of Japan said Wednesday.

The median estimate of 29 economists surveyed by Bloomberg News was for a 5.1 percent decline.