A regulating method for reducing nitrogen loss based on enriched ammonia-oxidizing bacteria during composting.