🐷 Pig Cognition: The Science

Pigs are among the most cognitively sophisticated animals on Earth — the science that reveals their intelligence, and what it means for how we treat them

Pigs are smarter than dogs, comparable to chimpanzees in some cognitive tasks, and capable of complex emotional and social lives. Yet 1.4 billion pigs are raised annually under conditions that systematically deny the expression of their natural behaviors. The cognitive science of pigs provides a compelling basis for dramatically better welfare standards — and reveals the profound ethical gap between what pigs can experience and what the industry provides.
1.4B
Pigs raised for food globally per year
4th
Pigs ranked in animal intelligence (after chimps, dolphins, elephants by some measures)
~97%
US pigs raised in confinement systems
2016
Year pigs passed mirror self-recognition test (partial)

Mirror Self-Recognition and Self-Awareness

The Mirror Experiment

A landmark 2009 study by Broom and colleagues placed pigs in front of mirrors and then used the mirror to show them a hidden food bowl reflected in it. Pigs that had previously been shown mirrors used the mirror reflection to locate and find the hidden food — demonstrating that they understood the mirror represented their environment, not another pig. This level of mirror understanding, while not the full mirror self-recognition test, places pigs among a small group of animals with sophisticated self-referential cognition. A 2016 study showed further evidence of self-awareness in pigs' use of mirrors to navigate and solve problems.

Emotional Complexity and Empathy

Emotional Contagion

Pigs demonstrate emotional contagion — the spread of emotional states between individuals. A 2015 study found that pigs housed with a stressed pig became more pessimistic in cognitive bias tests, while those housed with relaxed pigs became more optimistic. This is a foundational building block of empathy and demonstrates that pigs are affected by the emotional states of their social companions — a finding with profound welfare implications for confinement systems that create chronic stress.

Optimism and Pessimism (Cognitive Bias)

Researchers at Bristol University developed a "cognitive bias test" for pigs that measures whether animals interpret ambiguous situations positively or negatively — a validated proxy for emotional state. Pigs in enriched, positive environments show more "optimistic" cognitive biases; those in barren, stressful environments show more "pessimistic" biases. This technique has become a gold standard for measuring affective state in farmed animals and has been used to demonstrate that conventional housing produces chronic negative emotional states.

Problem-Solving and Learning

Video Game Learning

In a widely-cited 1997 study, pigs learned to operate a joystick to move a cursor on a video screen to earn food rewards. They learned the task and retained it — demonstrating tool use, abstract learning, and the ability to understand cause-and-effect relationships with novel objects. Pigs performed comparably to primates on this task, and significantly outperformed dogs. This capacity for complex, flexible learning means pigs benefit from and require cognitively stimulating environments.

Social Learning

Pigs are excellent social learners. Naive pigs can learn to solve novel problems by observing experienced demonstrators, and they use this social knowledge flexibly — following more knowledgeable pigs to food sources even when the demonstrator is not present. This sophisticated social cognition evolved for the complex fission-fusion social groups pigs form in the wild.

Memory and Time Perception

Episodic-Like Memory

Pigs demonstrate memory for specific past events — not just procedural memory but memory that can be described as episodic-like. They remember which food locations they have visited and when, allowing them to plan foraging routes efficiently. They also remember individual humans and other pigs over extended periods, adjusting their behavior based on past interactions.

Play and Positive Welfare

"Play is a reliable indicator of positive welfare — animals that are suffering do not play. Pigs play vigorously when given the chance, and studying what triggers play tells us a great deal about what conditions support pig wellbeing." — Francoise Wemelsfelder, pig welfare scientist

The Science of Pig Play

Pigs play extensively when given space and appropriate conditions — engaging in social play, object play, and locomotor play (running, jumping, twisting). Play in pigs is associated with positive emotional states and is suppressed under conditions of chronic stress or discomfort. Enriched housing with space for movement and social interaction produces significantly more play than barren, confined environments. Play frequency is now used as a positive welfare indicator in some audit systems.

What Pig Cognition Means for Welfare

The Gap Between Cognitive Capacity and Industrial Conditions

Conventional pig farming systematically denies pigs the ability to express their cognitive capacities:

Cognitive CapacityWhat It NeedsWhat Conventional Production Provides
Mirror self-recognition/self-awarenessSense of agency and environmental controlNear-zero agency in confinement
Emotional contagion/empathyStable, positive social groupsHigh-density, stressed group housing
Complex problem-solvingNovel objects, puzzles, enrichmentBarren environments
Rooting and foraging motivationSubstrate, space, varietyBare concrete or slatted floors
Episodic memoryVaried, meaningful experiencesRepetitive, unstimulating environment
PlaySpace, companions, safetySuppressed by crowding and stress

What You Can Do

Improving Pig Welfare

Support Pig Welfare Orgs Pig Welfare Overview Pig Science Take Action