QuestionEthics
How Does the Trolley Problem Apply to Self-Driving Cars?

The trolley problem applies to self-driving cars as a way of framing choices a vehicle might face in a crash it cannot avoid, such as hitting one pedestrian or swerving into another. Engineers say such situations are rare and that most of the design work lies in avoiding crashes altogether. The question has nonetheless become a public debate about who should decide how cars act.
Contents
The short answer explained
A self-driving car uses cameras, radar, lidar and software to detect people, vehicles and obstacles, and then chooses a path and speed. In most situations the goal is simple: stay in the lane, keep a safe distance and brake in time. The trolley problem enters the picture only in the rare case where every available action leads to harm.
Philosophers use the trolley problem to test those cases. If a car must choose between striking a group of three people and a single person, a utilitarian rule would minimise the number of deaths. A rights-based or deontological rule might instead forbid the car from deliberately targeting anyone, even to save more people. The difference matters because a self-driving car follows rules written in advance, while a human driver decides in a fraction of a second.
This is why the trolley problem is often described as a design problem as well as a philosophical one. A manufacturer that programs a crash rule is, in effect, setting the priority that many thousands of cars will follow over years. That fact drives much of the public concern about the question.
Why the choices are hard to program
Programming a crash rule requires a decision about which features of victims may be counted. Utilitarian approaches count lives or harms. Rights-based approaches may say that no person should be chosen as a means to protect others, which is close to the reasoning in the footbridge case. Some philosophers propose random choice or a rule that avoids the worst outcome for the most vulnerable.
Engineers also face uncertainty. A vehicle’s sensors may misclassify an object, and its prediction of what a pedestrian will do may be wrong. A rule that assumes perfect knowledge of who will be hit does not match what a real car can know. Ethicists who work on machine ethics often argue that the trolley scenario hides this uncertainty by giving the decision maker complete information.
The debate therefore involves both moral theory and engineering. Deontology and utilitarianism give different answers, and sensor design determines which situations a car can recognise at all.
What the research and rules say
The best-known study is the Moral Machine experiment, published by Edmond Awad and colleagues in the journal Nature in 2018. The researchers presented online users with variants of crash scenarios in which a car had to choose between groups of pedestrians and passengers. They reported millions of participants and tens of millions of decisions from many countries.
The study found a broad preference for sparing humans over animals and for saving more lives over fewer. It also reported regional clusters of preferences, with some differences between Western, Eastern and Southern countries, and the authors discussed what these differences might mean for policy. Critics note that an online survey shows what people say they prefer, not what would be ethically required or legally acceptable.
In 2017 Germany’s Ethics Commission on Automated and Connected Driving published a set of 20 rules for automated vehicles. One rule states that in unavoidable accident situations, any offsetting of victims based on personal features such as age, gender or physical or mental constitution is strictly prohibited. The commission’s position is that the aim is to prevent injury, and that choices between people must not be based on who they are.
An everyday example and related questions
Most self-driving car situations are ordinary. A car approaching a stopped bus may slow, change lanes or wait for a gap, and nothing in that decision resembles a trolley case. Designers spend most of their effort on those routine cases because they happen far more often than a true dilemma.
A related question is who is responsible when a crash does happen. Manufacturers, software developers, vehicle owners and regulators may each be considered, and legal systems differ. The trolley problem page explains the original cases that this debate draws on.
The question also connects to the broader study of thought experiments. A scenario built to isolate one moral feature can help clarify principles, but it may not describe the conditions that real machines face.
Common misconceptions
The first misconception is that self-driving cars are programmed to choose whom to kill. Engineering practice aims to avoid crashes through braking, steering and detection. Published guidelines, such as the German rules, focus on prevention and on refusing to rank people by personal features.
The second misconception is that the trolley problem is how cars decide every move. It is a test case for rare situations, and most driving decisions concern safe speed, distance and lane position.
The third misconception is that the trolley problem has one accepted answer. Researchers, engineers and ethicists disagree, and the Moral Machine results show that people in different countries may give different answers, which makes a single universal rule hard to justify.
Frequently asked questions
Do self-driving cars really face trolley problems?
Engineers generally say that real crashes rarely offer a clean choice between known groups of victims. Vehicles are designed mainly to brake, steer and detect hazards early, so that unavoidable crashes are uncommon.
What did the MIT Moral Machine experiment find?
Awad and colleagues (2018) collected millions of online responses to crash scenarios. They reported a broad preference for sparing humans over animals and more lives over fewer, with some differences between clusters of countries.
What do German rules say about crash choices?
Germany’s Ethics Commission on Automated and Connected Driving (2017) stated that in unavoidable accidents, any offsetting of victims based on personal features such as age, gender or physical constitution is prohibited.
Why do critics call the trolley problem a distraction?
Critics argue that focusing on rare dilemmas diverts attention from everyday safety questions, such as sensor reliability and handing control back to drivers. Some philosophers also say that the trolley case is too artificial to guide the design of real systems.
Who is responsible in a self-driving car crash?
The answer depends on the legal system and on how each vehicle was designed and tested. Responsibility is debated among manufacturers, software developers, owners and regulators, and no single rule applies everywhere.
Sources and further reading
- Edmond Awad and colleagues, "The Moral Machine Experiment", Nature (2018)
- Germany, Ethics Commission on Automated and Connected Driving, report with 20 rules (2017)
- Philippa Foot, "The Problem of Abortion and the Doctrine of Double Effect", Oxford Review (1967)
Cite this page
“How Does the Trolley Problem Apply to Self-Driving Cars?.” Mind & Meaning, https://mind.bigworldlist.com/questions/trolley-problem-self-driving-cars/.
More about Trolley problem
- PhilosophyThe Trolley Problem: Explained With Variations and Answers
- ListFamous Thought Experiments in Philosophy: 20 Explained
- PsychologyOmission Bias: Why Harm From Inaction Feels Less Bad
- PhilosophyThe Doctrine of Double Effect: Principle and Examples
- ComparisonTrolley Problem vs Transplant Surgeon: Why Answers Differ
- QuestionWhat Is a Moral Dilemma? Definition and Famous Examples
- QuestionWhat Is a Thought Experiment? Definition and Famous Examples
- QuestionWhat Is Moral Psychology? Where Ethics Meets Science
- QuestionWhat Is the Doctrine of Double Effect? Aquinas to Today