---
title: "N-Back Task | Cognitive Psychology"
description: "The n-back task is a working memory test in Cognitive Psychology where you judge whether each stimulus matches one seen n steps earlier."
canonical: "https://fiveable.me/cognitive-psychology/key-terms/n-back-task"
type: "key-term"
subject: "Cognitive Psychology"
unit: "Unit 5"
---

# N-Back Task | Cognitive Psychology

## Definition

The n-back task is a working memory task in Cognitive Psychology where you say whether the current item matches the one from n steps earlier. Researchers use it to measure attention, updating, and executive control.

## What It Is

The n-back task is a working memory task in Cognitive Psychology that asks you to monitor a stream of stimuli and decide whether the current one matches the item from n trials earlier. If n equals 1, you compare to the immediately previous item. If n equals 2, you compare to the one two steps back, and so on.

That simple rule is what makes the task so useful. You are not just storing one item, you are constantly updating what is in mind while also ignoring the items that no longer matter. This puts pressure on attentional control and executive functions, especially the mental systems that keep track of goals and refresh memory contents.

The task can use letters, numbers, shapes, sounds, or locations on a screen. In a visual version, you might watch squares light up in different spots and press a button when the current spot matches the one from two turns ago. In an auditory version, you might hear a sequence of spoken letters and respond when a letter repeats at the right lag.

As n gets larger, the task gets harder because you have to hold and update more recent items in the right order. A 1-back task is demanding, but a 3-back task pushes working memory much more because you need to keep a longer mental trail active. That makes performance a rough measure of working memory capacity, though it is not a perfect one.

Researchers also use the n-back task to look at how attention and memory change with fatigue, aging, brain injury, or neurological disorders. It can show whether someone can maintain focus, resist distraction, and keep updating information when the sequence keeps moving. Some studies even use repeated practice on the task to see whether performance improves over time, which connects it to cognitive training research.

A common misconception is that the n-back task measures simple short-term memory only. It does involve memory, but the real challenge is the constant updating and control. You are not just remembering something, you are managing a moving set of memory contents while making fast decisions.

## Why It Matters

The n-back task shows what executive control looks like when the mind has to stay active under pressure. In Cognitive Psychology, that makes it a clean example of how working memory is not a passive storage bin. It is an active system that holds information, updates it, and filters out what is no longer relevant.

This term also helps you connect ideas that are often taught separately. If a lecture talks about attentional control, working memory, and cognitive flexibility, the n-back task is one of the best places to see those ideas work together in one procedure. The task makes it easier to discuss why a person might do well on an easy version but struggle when the load increases.

It also shows up in research on aging and neurological conditions because it gives a standardized way to compare performance across groups. If one group misses more matches at higher n levels, that can point to limits in updating, inhibition, or sustained attention rather than a simple memory failure.

For class discussion or written responses, the n-back task is useful when you need a concrete example of how a cognitive task can measure multiple processes at once.

## Connections

### Working Memory

The n-back task is one of the clearest ways to test working memory because you have to keep information active while new items keep arriving. It does not just ask whether you remembered something once. It asks whether you can update what is currently relevant, which makes it a stronger test of working memory than simple recall.

### Executive Functions

Executive functions are the control processes that guide goal-directed behavior, and the n-back task stresses them directly. You need to sustain attention, inhibit irrelevant past items, and update the correct target on each trial. That is why n-back performance is often discussed as a window into executive control rather than memory alone.

### [Cognitive Flexibility](/cognitive-psychology/key-terms/cognitive-flexibility)

Cognitive flexibility shows up when you can shift your mental focus as the task demands change. In the n-back task, you have to constantly adjust which item matters based on the current lag. Higher n levels demand more flexible updating because the target is always moving further back in the sequence.

### [Stroop Test](/cognitive-psychology/key-terms/stroop-test)

The Stroop Test and the n-back task both tap attentional control, but they do it in different ways. Stroop focuses on inhibiting an automatic response, while n-back focuses on holding and updating information across time. Seeing the difference helps you separate inhibition from working memory load.

## On the AP Exam

A quiz question might show a sequence of letters, shapes, or locations and ask what cognitive ability the task measures. Your job is to identify the n-back task as a working memory and attentional control measure, then explain that higher n values increase the memory load. In short-answer responses, you may need to connect poor performance to limits in updating, inhibition, or executive functioning. If a prompt describes someone doing well on 1-back but struggling on 3-back, that is a clue that the task demand increased, not that the person forgot the rules. In lab-based assignments, you might interpret accuracy or reaction time data from different n levels and explain what the pattern suggests about memory capacity.

## n-back task vs Stroop Test

The Stroop Test is about interference and inhibition, especially when a word and color conflict. The n-back task is about tracking and updating information across a sequence. Both involve attention, but Stroop targets suppressing an automatic response, while n-back targets working memory under load.

## Key Takeaways

- The n-back task asks you to say whether the current stimulus matches one from n steps earlier in the sequence.
- It measures working memory, but it also puts pressure on attention, updating, and executive control.
- Higher n values make the task harder because you have to keep track of a longer moving window of information.
- Researchers use it to study aging, neurological conditions, fatigue, and individual differences in cognitive control.
- A good way to think about it is as a task that tests how well you can hold, update, and compare information at the same time.

## FAQs

### What is the n-back task in Cognitive Psychology?

The n-back task is a working memory task where you decide whether the current item matches the one from n steps earlier in a sequence. It is used to measure how well you can keep information active, update it, and ignore old items that are no longer relevant.

### Why does a higher n make the task harder?

A higher n means you have to remember items from farther back in the sequence, so the memory load gets bigger. That also increases the demands on attention and updating because you have to keep the correct target available while new stimuli keep coming in.

### Does the n-back task measure only memory?

No. It measures working memory, but it also taps attentional control and executive functions. If someone struggles, the issue may be holding information, updating it, or staying focused long enough to compare each new stimulus correctly.

### How do researchers use the n-back task?

Researchers use it to study how people handle memory load and attention in real time. It can be used with visual or auditory stimuli, and performance differences can help show how aging, brain conditions, or practice affect executive control.

## Related Study Guides

- [5.3 Attentional Control and Executive Functions](/cognitive-psychology/unit-5/attentional-control-executive-functions/study-guide/jnwRuNfEBQ0KR9ku)

## About This Document

Canonical Fiveable pages are available as Markdown at the same path plus `.md`.

- [llms.txt](https://fiveable.me/llms.txt): index of Fiveable's sections and URL patterns
- [llms-full.txt](https://fiveable.me/llms-full.txt): complete subject and unit listing
- [MCP server](https://fiveable.me/mcp): call Fiveable as tools instead of fetching pages (`https://fiveable.me/api/mcp`)
- [MCP server for AP teachers](https://fiveable.me/mcp/teachers): a teacher's classes, assignments and AP-rubric grading (`https://fiveable.me/api/mcp/teacher`)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/cognitive-psychology/key-terms/n-back-task#resource","name":"N-Back Task | Cognitive Psychology","url":"https://fiveable.me/cognitive-psychology/key-terms/n-back-task","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/cognitive-psychology/key-terms/n-back-task#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-07-03T02:21:13.815Z","isPartOf":{"@type":"Collection","name":"Cognitive Psychology Key Terms","url":"https://fiveable.me/cognitive-psychology/key-terms"},"author":{"@type":"Organization","@id":"https://fiveable.me/editorial#content-team","name":"Fiveable Content Team","url":"https://fiveable.me/editorial","parentOrganization":{"@id":"https://fiveable.me/#organization"},"member":[{"@type":"Person","name":"Amanda DoAmaral","sameAs":["https://www.linkedin.com/in/adoamaral"]},{"@type":"Person","name":"Becky Bahr","sameAs":["https://www.linkedin.com/in/becky-bahr-b52743132"]}]},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/cognitive-psychology/key-terms/n-back-task#term","name":"n-back task","description":"The n-back task is a working memory task in Cognitive Psychology where you say whether the current item matches the one from n steps earlier. Researchers use it to measure attention, updating, and executive control.","url":"https://fiveable.me/cognitive-psychology/key-terms/n-back-task","inDefinedTermSet":{"@type":"DefinedTermSet","name":"Cognitive Psychology Key Terms","url":"https://fiveable.me/cognitive-psychology/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the n-back task in Cognitive Psychology?","acceptedAnswer":{"@type":"Answer","text":"The n-back task is a working memory task where you decide whether the current item matches the one from n steps earlier in a sequence. It is used to measure how well you can keep information active, update it, and ignore old items that are no longer relevant."}},{"@type":"Question","name":"Why does a higher n make the task harder?","acceptedAnswer":{"@type":"Answer","text":"A higher n means you have to remember items from farther back in the sequence, so the memory load gets bigger. That also increases the demands on attention and updating because you have to keep the correct target available while new stimuli keep coming in."}},{"@type":"Question","name":"Does the n-back task measure only memory?","acceptedAnswer":{"@type":"Answer","text":"No. It measures working memory, but it also taps attentional control and executive functions. If someone struggles, the issue may be holding information, updating it, or staying focused long enough to compare each new stimulus correctly."}},{"@type":"Question","name":"How do researchers use the n-back task?","acceptedAnswer":{"@type":"Answer","text":"Researchers use it to study how people handle memory load and attention in real time. It can be used with visual or auditory stimuli, and performance differences can help show how aging, brain conditions, or practice affect executive control."}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Cognitive Psychology","item":"https://fiveable.me/cognitive-psychology"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/cognitive-psychology/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 5","item":"https://fiveable.me/cognitive-psychology/unit-5"},{"@type":"ListItem","position":4,"name":"n-back task"}]}]}
```
