royalsociety | Some researchers have proposed that natural selection has given rise in humans to one or more adaptations for altruistically punishing on behalf of other individuals who have been treated unfairly, even when the punisher has no chance of benefiting via reciprocity or benefits to kin. However, empirical support for the altruistic punishment hypothesis depends on results from experiments that are vulnerable to potentially important experimental artefacts. Here, we searched for evidence of altruistic punishment in an experiment that precluded these artefacts. In so doing, we found that victims of unfairness punished transgressors, whereas witnesses of unfairness did not. Furthermore, witnesses’ emotional reactions to unfairness were characterized by envy of the unfair individual's selfish gains rather than by moralistic anger towards the unfair behaviour. In a second experiment run independently in two separate samples, we found that previous evidence for altruistic punishment plausibly resulted from affective forecasting error—that is, limitations on humans’ abilities to accurately simulate how they would feel in hypothetical situations. Together, these findings suggest that the case for altruistic punishment in humans—a view that has gained increasing attention in the biological and social sciences—has been overstated.