We argue that pain is not needed to protect the body from damage unless the organism is able to make free choices in action selection. Then pain (including its affective and evaluative aspects) provides a necessary prioritising motivation to select actions expected to avoid it, whilst leaving the possibility of alternative actions to serve potentially higher priorities. Thus, on adaptive grounds, only organisms having free choice over action selection should experience pain. Free choice implies actions must be selected following appraisal of their effects, requiring a predictive model generating estimates of action outcomes. These features give organisms anticipatory behavioural autonomy (ABA), for which we propose a plausible system *