How the world works

The trolley problem and driverless cars: who should a robotaxi choose to hit?

4 December 2026 · Approved by Michael Rossi · How the world works

Drop this at dinner: The trolley problem for driverless cars isn't one dramatic swerve, it's a million tiny decisions about how close to pass a cyclist, all made in advance by someone writing code.

Waymo says London is set to get Europe's first fully driverless taxi service, run under the Automated Passenger Services permits created by the Automated Vehicles Act 2024. Each service needs approval from the Department for Transport and the consent of Transport for London. Whenever robot cars come up, the same question follows: if a crash cannot be avoided, who does the car choose to hit? That question has a name, the trolley problem, and it is far older than any driverless car.

Same arithmetic, different answers

It began in 1967, when the Oxford philosopher Philippa Foot imagined a runaway tram heading for five workers. The driver can steer onto a side track, where it will kill one. Most people say steer.

Judith Jarvis Thomson, who gave the puzzle its name in 1976, later added a twist. A bystander stands on a footbridge, and the only way to stop the tram is to push a heavy stranger off in front of it. The arithmetic is identical, five saved for one, yet most people refuse. One long-standing explanation, the doctrine of double effect, holds that it matters whether a death is a side effect of saving others, as on the side track, or the means of saving them, as on the bridge.

Diagram of two trolley problems: a tram heading for five people with a lever to switch it to a side track with one, and a footbridge where one stranger could be pushed to stop the tram.
The side track and the footbridge: five saved for one in both, yet most people choose differently

Asking the world

In 2018 the Moral Machine experiment, run by researchers at MIT and published in Nature, put driverless-car versions of the dilemma to people online and gathered some 40 million decisions from 233 countries and territories. People broadly preferred to spare more lives rather than fewer, humans over animals and the young over the old, but the strength of those preferences varied from culture to culture.

Germany's ethics commission on automated and connected driving had already set a limit in 2017: in an unavoidable accident, a car must never choose between potential victims by personal features such as age or sex.

The dilemma spreads out

Engineers tend to reply that the dramatic version almost never happens. A real car facing danger brakes hard and stays in its lane rather than weighing up lives.

The trolley problem does not disappear, though; it spreads out. Every time software decides how much room to give a cyclist, where to sit in its lane or how fast to pass parked cars, it trades a little risk to one person against risk or delay for others. Those rules are written in advance, in code, and applied millions of times a day.

Top-down road diagram of a robotaxi passing a cyclist with an oncoming car in the other lane, and a scale showing the trade-off between sitting closer to the kerb or closer to the centre line.
The everyday trolley problem: how much room a driverless car gives a cyclist

Sources

This piece was drafted by AI from the public sources named, then read and approved by Michael Rossi before it went up. It explains how something works; it is not advice of any kind.

Every How the world works piece · The World tab

← Back to StreetOwl