Yes, many urban trash cans come with lids—or at least some kind of cover—to keep rain out. But it is not universal. If you walk around a city, you will see everything from flat hinged lids and domed tops to hooded side openings and simple rain guards. These designs are usually chosen for public bins because rainwater can create real problems. When rain gets into an open bin, it soaks the waste, adds weight, and can make bags leak or tear. That makes collection slower and messier. Wet trash also tends to smell worse, attracts pests, and can contaminate recyclables if the bin is meant for mixed or recyclable waste. In some cities, waste management teams prefer covered public bins because they reduce these issues and keep the surrounding sidewalk cleaner.
That said, a lid does not always mean perfect rain protection. Some urban trash cans have covers with openings that let a little rain in, while others have drainage holes or sloped tops to let water run off. The goal is often to balance rain protection with easy access. A heavy, fully sealed lid might keep rain out, but it can be awkward for people to use, get dirty quickly, or break. Public bins also need to be easy for workers to empty, so many designs use a hood or dome rather than a tight lid. Some open mesh bins are chosen because they drain water and are cheap to maintain, even though they offer less rain protection.
So the short answer is: many urban trash cans do come with lids or covers to keep rain out, but the design depends on the city, location, and collection system. A covered bin is common, but it is not guaranteed. The best designs usually combine a rain-blocking top with good drainage, durable materials, and easy access so the bin stays usable in wet weather.