The most efficient decomposing bacteria thrive in temperatures between 110F and 160F. Thus, the hotter the pile, the faster the composting. If you achieve a good balance of carbon and nitrogen, provide lots of surface area within a large volume of material, and maintain adequate moisture and aeration, the temperature will rise over several days.