Where Did All the Public Bathrooms Go? The Deeper Crisis Behind Disappearing Urban Infrastructure

A viral HN thread on vanishing public restrooms exposes systemic decline in urban public services and the limits of tech-driven fixes.
A Hacker News post about the decline of public restrooms sparked nearly 300 comments, surfacing a web of structural issues: fiscal pressure creating a Tragedy of the Commons, misuse accelerating a vicious cycle, and the limits of both smart-restroom technology and private-sector substitutes. The piece uses this as a lens to examine how hostile design is systematically eroding non-commercial public space — and how urban infrastructure faces the same tradeoffs between efficiency, cost, and equity that digital infrastructure does.
An Overlooked Urban Problem
A discussion thread titled Where Did All the Public Bathrooms Go? unexpectedly took off on Hacker News, racking up 142 upvotes and nearly 300 comments. On the surface, it has nothing to do with tech — but dig deeper and it touches on a convergence of urban planning, public policy, and infrastructure that's very much worth examining.
Why would a post about public restrooms generate that kind of engagement in a community dominated by technical people? Because what it reflects is a systemic decline in modern urban public services, and a genuine question about whether technology can play any role in reversing it.

Why Public Bathrooms Are Disappearing
The Fiscal and Maintenance Trap
The thread makes clear that the decline isn't down to any single cause. The most prominent factor is financial pressure. Building public restrooms is expensive upfront, and the ongoing costs — cleaning, maintenance, utilities — are a persistent drain. When municipal budgets get tight, these "non-core" services are usually the first to get cut.
The brutal reality is that public restrooms are a textbook example of the Tragedy of the Commons: everyone benefits, nobody wants to pay, and there's no clear stakeholder with a financial incentive to keep them running. It's strikingly similar to the open source infrastructure problem in software development.
The Tragedy of the Commons is the classic concept ecologist Garrett Hardin introduced in 1968: when a resource is open to everyone with no mechanism to regulate individual use, each person acts to maximize their own benefit, and the resource eventually gets depleted or destroyed. Public restrooms fit this model precisely — free to use, maintained at taxpayer expense, with no individual or institution having a strong enough incentive to protect them. By contrast, the open source community has developed contributor agreements, sponsorship models, and foundation governance to address similar problems. Urban public infrastructure has yet to find anything comparable.
The Security Problem Accelerates a Vicious Cycle
Another factor that came up repeatedly in the comments is security. Public restrooms frequently become sites of vandalism, illegal activity, and encampment by unhoused individuals. To avoid the management headache, many businesses and public institutions simply close their facilities or restrict access to paying customers.
This creates a self-reinforcing loop: fewer restrooms means more pressure on the ones that remain, which leads to more abuse and vandalism, which prompts more closures.
What the Future of Public Restrooms Looks Like Through a Tech Lens
Pay Toilets and the Smart Restroom Experiment
The discussion touched on paid public restroom models used in some European cities, where a small fee helps cover maintenance costs and discourages misuse. In recent years, some cities have started rolling out smart public restrooms — equipped with automated cleaning systems, time-limited occupancy, QR code payments, and similar features.
These tech-driven approaches try to solve social governance problems with engineering thinking: automation to cut labor costs, data monitoring to optimize maintenance scheduling, payment mechanisms to filter users. But the community was divided on whether technology can actually address the fundamental problem of public service provision.
The Tension Between Privatization and Publicness
Interestingly, more and more de facto public restrooms are now provided by private businesses — Starbucks, McDonald's, and the like. This sparked a broader conversation about the privatization of public services. When basic urban amenities increasingly depend on the goodwill or commercial strategy of private companies, what happens to people who can't consume?
The same tension plays out in the digital world. We're increasingly reliant on infrastructure provided "for free" by a handful of tech giants, and that infrastructure can change or disappear at any time for business reasons.
A Deeper Reflection on Urban Planning: Hostile Design and the Death of Public Space
The disappearance of public restrooms is a symptom of a much larger trend: modern cities are systematically reducing non-commercial public space. Benches, drinking fountains, and public rest areas are all vanishing under the same logic. Urban space is increasingly designed around one principle: consume something or move on.
This is hostile design at work — using the physical design of infrastructure to actively discourage certain behaviors or exclude certain people — and it's reshaping our cities. For people in tech, it's a useful analogy worth sitting with: when we optimize systems and chase efficiency, are we inadvertently excluding certain groups of users?
Hostile design, also called defensive architecture, refers to the deliberate design of public infrastructure to prevent specific behaviors or discourage specific populations, particularly unhoused people. Common examples include park benches divided by armrests in the middle (to prevent lying down), slanted or spiked building ledges (to prevent sitting or sleeping), and public restrooms that are closed or only open for limited hours. The concept gained traction in architectural criticism during the 2010s. Critics argue it transfers the costs and contradictions of urban governance onto the most vulnerable groups rather than addressing the root causes of poverty and homelessness. In software and product design, the analogous critique is dark patterns — using interface design to nudge users into actions against their own interests. Both are cases of design serving the powerful at the expense of the user.
Conclusion: A Small Problem That Opens Up Big Questions
Where Did All the Public Bathrooms Go? resonated so widely because it's a concrete, universally relatable problem that pulls in a whole web of larger issues: fiscal policy, social governance, privatization trends, and the philosophy of urban planning.
For the tech community, this discussion offers a useful perspective: not every problem can be solved with technology, but technology can be one tool for improving public services. The real challenge is finding the right balance between efficiency, cost, equity, and human dignity — which is just as much a problem for urban planners as it is for anyone building infrastructure.
Related articles

Keymap: Double-Tap ⌘ to Instantly Access Every Shortcut — A macOS Productivity Must-Have
Keymap is a macOS menu bar tool that shows every keyboard shortcut for your current app with a double-tap of ⌘. Local, private, no internet required.

Free Email List Health Check: A Guide to Truelist Email Health Check
Truelist Email Health Check is a free email list verification tool. Upload a CSV, get a health grade in 30 seconds — no registration required. Real-time server checks, four address categories.

Perplexity 2.97.0 Voice Feature Missing? A Complete Troubleshooting Guide
Can't find Tap to Talk in Perplexity 2.97.0? We break down why the voice feature seems missing and provide step-by-step troubleshooting to get it back.