Home▸Articles▸Cognitive Science

The A-not-B Error: Object Permanence and Infant Working Memory

An exploration into how infants develop an understanding of object permanence through cognitive experiments.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is the A-not-B Error?

The A-not-B error is a cognitive task used to assess an infant's understanding of object permanence. In this experiment, an infant is shown a toy in box A and allowed to reach for it. The toy is then hidden in box B while the infant watches. When given the opportunity to reach again, many infants will continue to search at box A, believing the toy still resides there.

This behavior indicates that the infant has not yet developed the ability to understand that objects continue to exist even when they are out of sight, a critical milestone in cognitive development.

Why Does It Happen?

The A-not-B error occurs because infants have limited working memory and rely on learned habits. When the toy is moved from box A to B, their short-term memory of where it was last seen (box B) decays faster than their habitual reaching behavior based on previous experiences with the toy in box A.

This mismatch between memory decay and habit strength results in infants perseverating at the original location rather than updating their search strategy.

live demo · related simulation● LIVE

How Does Age, Delay, and Training Impact Search Behavior?

Age plays a crucial role as infants develop over time. Younger infants are more likely to commit the A-not-B error because their working memory is still developing. As they grow older, their ability to update their search strategy improves.

The delay between hiding the toy and allowing the infant to reach for it also affects performance. Short delays give infants less time to forget where the toy was hidden, while longer delays increase the likelihood of perseveration.

Real-World Applications

Understanding the A-not-B error is essential in fields such as developmental psychology and education. It helps researchers design interventions that support cognitive development and informs teaching strategies to enhance learning.

By recognizing when children are likely to commit this error, educators can tailor their methods to better engage young learners and promote effective memory formation.

Frequently asked questions

What does the A-not-B error tell us about cognitive development?

The A-not-B error indicates that infants are in a critical period of developing object permanence, which is a foundational concept for understanding the world and forming more complex cognitive abilities.

How can parents or caregivers help prevent the A-not-B error?

Parents and caregivers can encourage exploration and provide consistent experiences with objects to support the development of working memory. Regularly hiding and revealing toys in different locations can help infants learn about object permanence more effectively.

Is the A-not-B error exclusive to infants, or do older children also exhibit it?

While the A-not-B error is most commonly observed in very young infants (4-12 months), older children and even adults can sometimes demonstrate similar behaviors under certain conditions, particularly when memory decay and habit strength are in conflict.

How does the A-not-B error relate to other cognitive milestones?

The A-not-B error is closely related to the development of object permanence, which is a precursor to more advanced cognitive skills such as problem-solving and memory. Understanding this error helps researchers track progress in these areas.

Try it live

Everything above runs in your browser — open The A-not-B Error: Object Permanence and Infant Working Memory and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open The A-not-B Error: Object Permanence and Infant Working Memory simulation

What did you find?

Add reproduction steps (optional)