Honestly, the simplest way to stop summer odors in urban trash bins is to keep them dry, clean, and closed. In hot weather, food scraps and liquids break down fast, so I’d start by separating food waste from regular trash whenever your building or city offers a collection point. Use sturdy liners, double-bag messy items, and never pour liquids into the bin. Keep the lid closed so rain, sun, and flies stay out, and if possible, place bins in shade and away from direct heat.
Wash bins regularly—at least weekly in peak summer—using hot water, a little dish soap, and a disinfectant or vinegar solution. Let them dry completely before putting in new bags. Sprinkle baking soda at the bottom to absorb moisture and odors, and rinse recycling containers too, since leftover drink residue can smell bad quickly. Schedule pickup before bins get too full, and ask neighbors or building management to report missed collections or damaged lids. If odors persist, use sealed compost bins for food scraps, add pest-proofing, and keep the area around the bins swept. A little routine maintenance makes a huge difference.