Wholesale inflation fell in October as a big drop in gasoline and other energy prices offset a rise in the cost of food.

Wholesale prices dipped 0.2 percent in October, the Labor Department said Wednesday. It was the first decline since May and followed big gains of 1.1 percent in September and 1.7 percent in August, increases that had been driven by spikes in energy.