Waste collection and landfills: what Law 7/2022 and the landfill rules ask councils and operators to measure
Since Law 7/2022, a Spanish council has to collect up to nine fractions separately, charge a fee that covers the real cost of the service and move toward pay-as-you-throw, while the landfill tax and the landfill limits make every tonne that is not recycled more expensive. Landfills, for their part, must monitor leachate, gas and groundwater for at least 30 years after closure. This guide explains what each rule asks for, which data answers it and what container and landfill sensors cannot do.
What the rules require from the council
Law 7/2022 requires separate collection of paper, metal, plastic, glass, bio-waste, textiles, cooking oil, household hazardous waste and bulky waste, and tells councils to prioritise door-to-door collection or closed or smart containers. Improper material in bio-waste may not exceed 20%, and 15% from 2027. Since April 2025 the waste fee must be specific, cover the real cost and allow pay-as-you-throw. Fines go up to 3.5 million euros for very serious breaches, which also bar the offender from public contracts.
The targets are hard. Spain recycled 42.5% of its municipal waste in 2024 against an EU average of 49.4% and a 2025 target of 55%, and it landfilled almost half of what it generated, with legal limits of 40% in 2025 and 10% in 2035. The European Commission listed Spain among the Member States at risk on both.
| Obligation | Rule | Data that answers it |
|---|---|---|
| Separate collection by fraction | Law 7/2022, art. 25 | Fill level and emptying per container and fraction |
| Fee that covers the real cost | Law 7/2022, art. 11 | Emptyings, kilometres and route time |
| Packaging costs paid by producers | RD 1055/2022, art. 34 | The same data for the packaging fraction |
| Leachate, gas and groundwater control | RD 646/2020, Annex III | Pond level, piezometers, gas where certified |
Landfills: 30 years of monitoring
Royal Decree 646/2020 asks for leachate volume and landfill gas every month during operation, leachate composition every quarter and groundwater level every six months, more often if it fluctuates, with at least one well upstream and two downstream. Adverse effects are notified without delay and aftercare lasts at least 30 years. Sampling must be done by an accredited body and analysed in an accredited laboratory: sensors do not replace that, but they show what happens between campaigns.
Fires are the other risk. The US EPA counted 245 fires caused by lithium batteries at 64 waste facilities between 2013 and 2020 and considers the figures severely underreported. A temperature sensor inside the container or in the bunker gives early warning; it is not a fire detection system.
What to measure
- Containers: Fill level and temperature with sensors such as the Milesight EM310-UDL or the Dingtek DF555, per fraction, to empty when needed and keep the record of each emptying.
- Trucks: GPS and emptying counts per route give the kilometres and time behind the fee and the packaging cost claim.
- Leachate and groundwater: Level in ponds and sumps, and groundwater level in the piezometers with a submersible sensor such as the Milesight EM500-SWL, with alarms between sampling campaigns.
- Gas and weighbridges: Gas in buildings and at the perimeter only with certified sensors; wellhead pressure and temperature and the weighbridge readings come in through the edge gateway. The certified weighbridge remains the base of the landfill tax.
Limits: fill sensors do not measure improper material or identify households, and metal or underground containers weaken the radio signal. Landfill sensors do not replace the accredited sampling and laboratory analyses.
How to plan a pilot
- 1. One fraction, one district: Bio-waste or packaging in the district with the most overflowing complaints.
- 2. Compare routes with and without data: Kilometres, emptyings and containers emptied half full, before and after.
- 3. Use the data for the fee and the packaging claim: The same history supports the real cost calculation.
- 4. Add the landfill or the transfer station: Leachate, piezometers and bunker temperature in the same platform.
Cloud Studio IoT runs in AWS (Frankfurt for Europe) or on your own servers, and under your brand if you are a collection concessionaire or an integrator. Tell us about your service.
















