The invention provides a sludge aerobic mechanical composting method and a dynamic roller composting device, which is designed to solve the currently existing problems that the composting conditions are not easy to control and automatic and continuous operation is not easy to realize, the composting time is long, and secondary contamination is serious and the like. The invention comprises the following steps: processing by two steps of pretreatment before composting and dynamic aerobic mechanical composting; mixing the self-made composite conditioner used for composting and original sludge according to the preset weight percentage and water content and crashing; pile turning and ventilating by utilizing self-made dedicated dynamic roller composting device; collecting and recycling percolate; composting and fermenting for 7 to 8 days. In the composting process, the stockpile in the device has no phenomena like cementation or blocking and the like, ensuring that the pile temperature in the fermentation case can rise to 55 DEG C rapidly and maintain for more than 3 days, and C/N value can rise to 11.49 from 9.57, thus the invention completely achieves requirements of sludge composting. The invention has the following characteristics and beneficial effects: short composting period, good quality, no generation of secondary contamination, easy realization of automatic continuous operation, low energy consumption and lowered composting cost, thus greatly promoting the realization of harmlessness and reclamation of city sludge.