Why do animals in zoos pace back and forth?
That repetitive, fixed-route pacing is a stereotypy — a repetitive behaviour with no obvious function or goal — and it is one of the more reliable behavioural indicators that an animal's environment is not meeting its needs.
What counts as a stereotypy. Repetitive, invariant, apparently purposeless behaviour: pacing a fixed path, head-weaving, over-grooming to the point of hair loss, bar-biting, repeated swimming patterns. The invariance is the diagnostic feature — the same route, the same turn, the same number of steps.
Where it comes from. Two overlapping explanations, both supported:
Thwarted motivation. The animal is strongly motivated to perform a behaviour it cannot complete — ranging, hunting, foraging, migrating, escaping. The behavioural sequence starts and has nowhere to go, and fragments of it repeat. This is why wide-ranging carnivores such as polar bears and big cats show pacing most, and why species with smaller natural ranges show it far less. The correlation with natural home range size is one of the stronger findings in the field.
Central nervous system changes. In animals kept long-term in restrictive conditions, the behaviour can become decoupled from its original cause and persist as an ingrained motor pattern even after the environment improves. This is why a rescued animal may continue pacing in a good enclosure — the stereotypy is now a poor indicator of its current welfare, though a clear record of its history.
What actually reduces it:
Enclosure complexity — varied terrain, height, hiding places, choice of location.
Foraging enrichment — making food take work to obtain, since the searching is much of what is missing, not the calories.
Control and predictability, including the ability to withdraw from public view.
Appropriate social grouping.
The honest conclusion many in the field have reached is that some species — wide-ranging carnivores and cetaceans in particular — are extremely difficult to keep well, which is why several institutions have stopped keeping them.