We use the example of the Spanish Decree on Fertilizers (2005) to discuss the need of new horizontal regulations for assessing the quality of all the materials reaching the soil as amendments of fertilizers, in particular in what concerns potentially toxic trace elements in compost. Here it is proposed that the new regulations take into account the following: establishing maximum legal limits for the total loads for each element when compost is added to agricultural soils; establishing the maximum total concentration and bioavailability of each element in the final compost; and that they take into account the soil characteristics for establishing those limits.