Yes—partly. There are urban trash cans built to deter raccoons and rats, but it’s more accurate to call them resistant than completely proof. The best models use locking or self-closing lids, heavy-gauge metal bodies, and weighted bases. Raccoons are strong and clever; they can tip light bins, pop off loose lids, and learn how to open simple latches. Rats are smaller and more persistent; they squeeze through gaps, gnaw plastic, and follow food residue. So a can only works if it closes tightly and stays closed.
For raccoons, look for cans with reinforced latch bars, twist-lock lids, or spring-loaded closures that need deliberate hand pressure to open. Metal cans with rounded rims and no easy grip points also help. For rats, the key is a gap-free seal and a hard material. Thick metal or heavy-duty plastic with a locking lid is better than a thin plastic bin with a flip top. Small side openings and sealed bottom edges matter too, because rats can chew or squeeze through surprisingly small spaces.
In cities, many parks and apartment complexes use animal-resistant waste bins with self-closing doors, locking top lids, and sturdy metal frames. Some have motion-sensor lids, but simple mechanical latches are often more reliable and easier to maintain. The design matters, but so does the routine: empty cans often, bag food waste, clean the inside, and avoid overflow. A perfect bin surrounded by loose trash will still attract pests.
So, are there urban trash cans that deter raccoons and rats? Yes. They exist, and they help a lot—especially locking lids, metal bodies, and weighted or spring-loaded designs. But no bin is completely pest-proof if it’s broken, overflowing, or poorly maintained. The practical goal is to make access difficult and remove the food smells that bring animals in the first place.