Short answer: not automatically. A foot-pedal bin in a city can outlast a lift-lid bin, but only if the pedal system is designed for public use. The real advantage is less hand contact, so the lid and rim stay cleaner, and people are less likely to leave the lid open or slam it shut. That can reduce wear around the hinge and make the bin nicer to use.
But a pedal adds moving parts. In busy streets, transit stops, parks, and apartment courtyards, the pedal gets stepped on hundreds of times a day. Cheap plastic pedals crack, exposed rods bend, cables snap, and water gets into the linkage. Once the pedal sticks, users force the lid or prop it open, which can cause more damage than a simple lift lid.
So the lifespan comes down to construction and maintenance. A durable urban foot-pedal bin usually has a thick steel pedal, sealed or shielded linkage, corrosion-resistant hinge pins, a powder-coated or stainless steel body, and a removable inner liner. For outdoor use, drainage holes and UV-resistant parts matter too. A public waste bin also needs to be vandal-resistant and easy for staff to service. If replacement pedals and hinges are available, the bin can stay in service longer instead of being thrown out for one small failure.
Maintenance is the deciding factor. If crews check pedals, clean out grit, tighten bolts, and replace worn parts, a good pedal bin can last longer than a basic lid bin because the lid action is more controlled and the touchpoints stay cleaner. If nobody maintains it, the pedal becomes the weak point.
My practical answer: foot pedals do not automatically make urban trash bins last longer, but a well-built, serviceable pedal bin can last longer in the right setting. For high-traffic outdoor areas, choose heavy-duty materials and simple repairable mechanisms, not the cheapest pedal bin on the market.