Yes—some urban trash cans are specifically designed to stop people from sleeping in or on them. You’ll usually hear this called hostile architecture or defensive design. The idea is to make a surface uncomfortable or impossible to lie on without always looking like an obvious anti-homeless device.
Common examples include bins with sloped, domed, or rounded tops so there’s no flat ledge to sit or lie on; narrow lips and recessed openings that make it hard to climb onto; side panels or bars that stop someone from wedging themselves between the bin and a wall; and heavy concrete bases or enclosures that remove gaps where a person might shelter. Some custom bins in transit stations, business districts, or tourist areas are combined with benches that have armrests or dividers—another way to prevent lying down.
That said, not every city trash can is designed this way, and many ordinary bins are just ordinary bins. Anti-sleeping features tend to show up in specific high-visibility or high-traffic locations, often after complaints or cleanup pushes. They’re controversial because they target rough sleepers rather than solving homelessness, and critics argue they make public space less humane. They can also be ineffective: people adapt, and the underlying need for shelter doesn’t disappear.
So the short answer is yes, they exist—but they’re a subset of urban furniture, usually part of a broader hostile-design approach, and they raise real ethical questions about who public space is for.