The short answer is: make the bin less private, less convenient, and less appealing, while giving people a better option nearby. Trash cans usually become makeshift urinals at night because public restrooms are closed, the spot is dark or secluded, and the bin is easy to use without being seen. So the fix is rarely just one thing; it is a mix of design, placement, lighting, access, and maintenance.
Start with visibility. Move bins out of dark corners, alcoves, and narrow alleys, and place them where street lighting, foot traffic, or nearby windows keep them in view. Add motion-sensor lighting if the area is consistently dark. If you are managing a property or business, keep the bin near the main entrance or a well-lit route rather than at the back of a parking lot.
Next, make the bin harder to use as a toilet. Use models with smaller openings, secure or weighted lids, and sloped or rounded tops that do not offer a comfortable standing position. Lock the lid or use a self-closing design if appropriate. Avoid flat-topped bins that invite people to lean or set things down. In hotspots, consider anti-urine coatings on the exterior and surrounding wall, and clean any residue quickly with enzyme-based cleaners so the smell does not attract repeat use.
Give people a legitimate alternative. Signage pointing to the nearest public restroom, late-night toilet access, or a business-run restroom scheme can make a real difference. If your city has a nightlife district, push for public toilet pilots, portable facilities, or extended restroom hours during peak hours. A clear No public urination sign is useful, but it works best when it also tells people where they can go.
Maintenance and social pressure matter, too. Empty bins regularly, repair damaged lids, and remove trash from around the base. A clean, well-kept spot feels less like an ignored corner. Encourage residents and workers to report hotspots through a city app or local sanitation line. Coordinate with sanitation crews, business improvement districts, and outreach teams rather than relying on punishment alone. The goal is to reduce the opportunity and provide a practical alternative, not to make the street hostile. If one bin keeps being targeted, consider relocating it entirely; sometimes the simplest fix is to remove the makeshift urinal and redesign that corner.