The invention discloses novel anaerobic fermentation equipment and method for sludge. The equipment and the method are used for solving the problems of the existing anaerobic fermentation equipment for the sludge during sludge fermentation that the stirring is nonuniform, the stirring effect is poor, the sludge fermentation rate is low, the work efficiency is low, and biogases generated from the sludge fermentation cannot be exhausted from the sludge promptly. According to the equipment and the method, a stirring shaft moves downwards while carrying out stirring, so that the sludge stirring effect is greatly improved, and the stirring of the sludge is more uniform. The stirring shaft carries out rotary stirring intermittently, so that the reduction of stirring resistance is facilitated, and the phenomenon of jamming is prevented. Wedge-shaped convex ribs on a rotating table and butting convex ribs on the external bottom surface of a fermentation drum are in butted fit so as to regularly dither the fermentation drum while carrying out stirring on the sludge, thus, on one hand, the stirred sludge can be prevented from overflowing from the fermentation drum, on the other hand, the sludge is vibrated, and the timely discharge of the gases from the sludge is facilitated.