The Moral Machine is an online experiment created at the MIT Media Lab that asked members of the public to decide how an autonomous vehicle should behave in an unavoidable crash. Launched in 2016, it presented variations of the trolley problem and recorded which group of people or animals each participant chose to spare. In AI ethics, the Moral Machine experiment is the best-known attempt to measure public moral preferences at global scale and one of the most debated examples of how such preferences should, or should not, shape machine behavior.
The results, published in the journal Nature in 2018, drew on roughly 40 million decisions made in ten languages by people in 233 countries and territories. The project showed both the appeal and the limits of crowdsourced ethics for artificial intelligence.
How the Moral Machine experiment works
The Moral Machine works by showing a participant two outcomes of the same accident and asking which one the car should choose. A self-driving car with sudden brake failure either continues straight or swerves into the other lane, and each option kills a different set of characters, such as children, elderly people, doctors, criminals, pregnant women, dogs or cats.
Each session contains 13 randomly generated scenarios. The design varies one or more attributes between the two outcomes, so the researchers could estimate how much each attribute changes the probability that a character is spared. They used conjoint analysis, a statistical method from market research, to compute an average marginal component effect for every factor. An optional survey at the end collected age, gender, education, income, political and religious views.
The following table lists the nine dimensions that the scenarios tested and the global direction of preference that the study reported.
| Dimension | Choice presented | Global tendency |
|---|---|---|
| Species | Humans or pets | Strong preference for humans |
| Number of lives | More characters or fewer | Strong preference for more |
| Age | Young or elderly | Strong preference for the young |
| Law compliance | Lawful pedestrians or jaywalkers | Moderate preference for lawful |
| Social status | Higher status or lower status | Moderate preference for higher |
| Fitness | Athletic or larger characters | Weak preference for fit |
| Gender | Women or men | Weak preference for women |
| Role | Passengers or pedestrians | Weak preference for pedestrians |
| Intervention | Stay on course or swerve | Weak preference for inaction |
Key findings and cultural clusters
The central finding is that three preferences were nearly universal: sparing humans over animals, sparing more lives over fewer, and sparing the young over the old. Beyond these, the strength of preferences varied considerably between countries, and the variation followed recognizable cultural and economic patterns.
Using countries with at least 100 respondents, the authors applied hierarchical clustering and identified three broad cultural clusters. These groupings correlate with measures such as individualism, the rule of law and economic inequality, although the correlations do not prove causation.
| Cluster | Typical membership | Distinctive pattern |
|---|---|---|
| Western cluster | North America and much of Europe | Stronger preference for inaction and saving more lives |
| Eastern cluster | East Asian and some Islamic countries | Weaker preference for sparing the young |
| Southern cluster | Latin America and some French-influenced countries | Stronger preference for sparing women and the young |
Participants from countries with stronger institutions and rule of law showed a larger preference for sparing lawful pedestrians, while participants from countries with higher economic inequality gave more weight to social status. These links illustrate that moral intuitions about machines are shaped by local norms, not only by abstract principles.
Moral Machine and machine ethics
The Moral Machine belongs to descriptive ethics: it records what people say they prefer, not what is morally right. Machine ethics, by contrast, asks how artificial agents should reason about right and wrong. Confusing the two is the most common misreading of the experiment.
The table below contrasts the experiment with neighboring approaches in AI ethics, which helps place it correctly in the field.
| Approach | Main question | Typical output |
|---|---|---|
| Moral Machine | What do people prefer in dilemmas? | Statistical preference estimates |
| Machine ethics | How should an agent decide? | Formal decision rules or models |
| Value sensitive design | Which values should a system protect? | Design requirements |
| Participatory AI | Who should shape the system? | Stakeholder input in development |
| Regulatory guidelines | What is legally acceptable? | Binding or advisory rules |
A notable tension appeared with the German Ethics Commission on Automated and Connected Driving, which in 2017 stated that automated systems must not distinguish between people based on personal features such as age or gender. The Moral Machine data showed that many people would make exactly such distinctions, which demonstrates that popular preference and ethical policy can diverge.
Criticisms and methodological limits
The experiment has attracted serious criticism from philosophers, engineers and social scientists. The main objections concern realism, sampling and normative use of the data, and they matter for anyone who cites the results.
| Criticism | Explanation | Implication |
|---|---|---|
| Unrealistic scenarios | Real crashes rarely offer certain, binary outcomes | Findings say little about actual vehicle control |
| Self-selected sample | Volunteers skewed young, male and educated | Results are not nationally representative |
| Forced binary choice | No option to refuse or randomize | Preferences may be exaggerated |
| Stylized characters | Icons stand in for complex people | Judgments rely on stereotypes |
| Gamified format | Viral sharing encouraged quick play | Some answers may lack reflection |
Engineers also point out that autonomous vehicles do not identify the age or social status of pedestrians, and that safety engineering focuses on reducing collision risk long before a dilemma could arise. Under this view, trolley-style questions distract from more pressing issues such as perception failures, liability and validation standards.
- Treating the results as a moral rulebook for vehicles ignores the gap between preference and justification.
- Ranking characters by status or fitness risks encoding discrimination into automated systems.
- Aggregating preferences by country can hide disagreement within each population.
Lasting influence on AI ethics
Despite its limits, the Moral Machine had a lasting influence on public debate and research methods. It showed that large, multilingual online studies can reveal cross-cultural variation in moral intuitions, and it encouraged later work on preference aggregation, including proposals to build voting-based decision models from crowd judgments.
Its most durable lesson is cautionary. Designers who want an AI system to reflect human values must decide whose values count, how they are aggregated and when public preference should yield to rights, law or principles of non-discrimination. The experiment made these questions concrete for a broad audience.
In everyday language
The Moral Machine was a website game with a serious purpose. It showed a driverless car that could not stop. The visitor had to pick who the car would hit. Sometimes the choice was between old and young people. Sometimes it was between people and pets.
Millions of people played it. The researchers learned that most people want to save humans, save more lives and save children. They also learned that people in different parts of the world weigh some choices differently.
The key point is simple. Knowing what people prefer is not the same as knowing what is right. A popular answer can still be unfair.
Seen in the real world
A university course on responsible AI design uses the Moral Machine as a classroom exercise. Forty engineering students complete the 13 scenarios individually, then compare their answers with the published global and regional results. Most students find that they favored saving more lives and younger characters, which matches the worldwide trend.
The instructor then asks the class to draft a decision policy for a delivery robot that shares sidewalks with pedestrians. When students try to turn their own preferences into rules, they quickly see the problem: rules based on age, gender or appearance would violate anti-discrimination principles and are technically impossible to apply reliably. The final policy instead focuses on lower speeds, wider safety margins and early braking. The outcome is a clear lesson that preventing dilemmas matters more than resolving them.