Wisconsin Card Sorting Test (WCST)
Version: v1 (current)
The Wisconsin Card Sorting Test (WCST) is a classic neuropsychological assessment of executive function, cognitive flexibility, and the ability to shift mental sets in response to changing rules.
Overview
The WCST measures higher-order executive processes that allow individuals to adapt their behavior when environmental contingencies change. Originally developed to assess abstract reasoning and set-shifting ability, the WCST has become one of the most widely used tests in clinical neuropsychology.
In the task, participants see four reference cards at the top of the screen and one stimulus card at the bottom. Each card has a specific color, shape, and number of shapes. Participants click one of the reference cards to sort the stimulus card. The correct sorting rule (color, shape, or number) is not explicitly stated. Instead, participants must discover it through the feedback they receive. Once participants learn the current rule, the rule changes without warning, and participants must detect the change and shift to a new sorting principle.
The WCST is particularly sensitive to:
- Cognitive flexibility: The ability to switch between different mental sets
- Abstract reasoning: Forming and testing hypotheses about rules
- Working memory: Maintaining information about recent feedback
- Response inhibition: Suppressing previously rewarded responses (avoiding perseveration)
Scientific Background
Historical Development
The WCST was developed by Esta Berg in 1948 as a measure of abstract reasoning and mental flexibility. It was later popularized by neuropsychologists studying frontal lobe function, as patients with frontal damage often show characteristic perseverative errors, that is, continuing to sort by an old rule even after receiving repeated negative feedback.
Key Performance Metrics
Categories Completed
- Total number of times participant successfully learns a rule (typically 10 consecutive correct sorts = 1 category)
- Healthy adults typically complete 4-6 categories out of 6 possible
Perseverative Errors
- Continuing to sort by a previously correct but now incorrect rule
- Most sensitive indicator of frontal executive dysfunction
- Distinguishes between "stuck" behavior vs. random errors
Non-Perseverative Errors
- Errors that don't follow the previously reinforced pattern
- May reflect difficulty forming or maintaining hypotheses
Failure to Maintain Set
- Correctly sorting 5+ cards then making an error before completing a category
- Suggests attention lapses or working memory failures
Conceptual Level Responses
- Trials that occur within a streak of 3 or more consecutive correct responses
- Indicates conceptual understanding of the current rule
Frontal Lobe Sensitivity
Classic studies demonstrated that patients with frontal lobe lesions show:
- Increased perseverative errors (50-70% vs. 10-20% in controls)
- Fewer categories completed (1-2 vs. 4-6 in controls)
- Intact awareness that they're making errors but inability to change strategy
This dissociation between knowledge and action highlights the frontal lobes' role in behavioral regulation.
Seminal References
- Berg, E. A. (1948). A simple objective technique for measuring flexibility in thinking. Journal of General Psychology, 39, 15-22.
- Milner, B. (1963). Effects of different brain lesions on card sorting. Archives of Neurology, 9, 90-100.
- Heaton, R. K. (1981). A Manual for the Wisconsin Card Sorting Test. Psychological Assessment Resources.
Why Researchers Use This Task
The WCST is valuable for:
- Clinical Neuropsychology: Assessing frontal/executive dysfunction across neurological conditions
- Psychiatric Research: Executive deficits are prominent in schizophrenia, ADHD, OCD
- Developmental Studies: Set-shifting ability develops through childhood and adolescence
- Cognitive Aging Research: WCST performance declines with healthy aging
- Neuroscience and Imaging: Activates dorsolateral prefrontal cortex reliably in fMRI studies
Configuration Options
Visual Settings
| Parameter | Type | Default | Description |
|---|---|---|---|
| Card size | number | 120 | Size of card elements (60-300 pixels) |
| Background color | text | F5F5F5 | Hex color code for canvas background (without #) |
Behavioral Settings
| Parameter | Type | Default | Description |
|---|---|---|---|
| Provide feedback | boolean | True | Show visual feedback after each response (green check / red X) |
Practice Trials
| Parameter | Type | Default | Description |
|---|---|---|---|
| Enable practice | boolean | False | Show practice trials before main trials |
| Practice trials | array | [] | Array of practice trial configurations |
Trial Configuration
Each trial is defined in the Trials spreadsheet with the following columns:
| Column | Description | Example Values |
|---|---|---|
| shape | Card shape | Triangle, Star, Cross, Circle |
| color | Card color | Red, Green, Blue, Yellow |
| number | Number of shapes on card | 1, 2, 3, 4 |
| rule | Correct sorting rule for this trial | Color, Shape, Number |
| block | Optional grouping label | Rule 1, Rule 2 |
| fixation_ms | Fixation cross duration before stimulus | 500 |
Note: The rule field specifies which dimension should be used to correctly match the stimulus card to one of the reference cards. For example, if rule is color and the stimulus card is a red triangle, the participant should click the reference card that is red (regardless of shape or number).
Example Trials
Rule sequence: Color → Shape → Number:
| shape | color | number | rule | block | fixation_ms |
|----------|--------|--------|--------|---------|-------------|
| triangle | red | 1 | color | color_1 | 500 |
| star | blue | 2 | color | color_1 | 500 |
| cross | red | 3 | color | color_1 | 500 |
| circle | green | 1 | shape | shape_1 | 500 |
| triangle | blue | 2 | shape | shape_1 | 500 |
| star | yellow | 3 | shape | shape_1 | 500 |
| cross | red | 2 | number | number_1| 500 |
| triangle | green | 2 | number | number_1| 500 |
Practice Trials
The task supports three practice modes:
- None: Task begins directly with main trials
- Optional: Practice trials available; participant can skip after any trial
- Mandatory: Practice trials must be completed before main trials
During practice (and main trials if feedback is enabled), participants receive visual feedback after each response.
Participant Experience
Trial Sequence
- Main Instructions: Overview explaining the card sorting concept
- (Optional) Practice Instructions: If practice enabled
- (Optional) Practice Trials: With visual feedback
- (Optional) Trials Instructions: Shown before main trials
- Main Trials: Each trial follows this sequence:
- Fixation cross (
+) appears (if fixation_ms > 0) - Four reference cards appear at top of canvas
- One stimulus card appears at bottom center
- Participant clicks one of the four reference cards
- Visual feedback appears (if enabled): green checkmark for correct, red X for incorrect
- Brief pause before next trial
- Fixation cross (
Reference Cards
The four reference cards are always:
- One red triangle
- Two blue stars
- Three green crosses
- Four yellow circles
These cards remain constant throughout the task. The stimulus card varies on each trial.
Response Method
Mouse clicks:
- Click one of the four reference cards at the top to indicate which one matches the stimulus card
- The correct match depends on the current rule (color, shape, or number)
Data Output
Markers and Responses
Markers (stimulus_shown):
{
"type": "stimulus_shown",
"ts": "2024-01-01T00:00:01.000Z",
"hr": 1234.56,
"data": {
"trial_index": 1,
"stimulus_id": "wcst_0_1",
"rule": "color",
"previous_rule": null,
"card_color": "red",
"card_shape": "triangle",
"card_number": 1,
"block": "color_1",
"is_practice": false
}
}
Response Data:
{
"trial_index": 1,
"stimulus_id": "wcst_0_1",
"source": "click",
"rule": "color",
"previous_rule": null,
"card_color": "red",
"card_shape": "triangle",
"card_number": 1,
"reference_card_selected": 0,
"response_correct": true,
"is_perseverative_response": false,
"is_perseverative_error": false,
"block": "color_1",
"is_practice": false,
"latency_ms": 1234,
"ts": "2024-01-01T00:00:02.234Z",
"hr": 2468.56
}
Key response fields:
reference_card_selected: Index (0-3) of which reference card was clickedis_perseverative_response: True if response matches previous rule dimensionis_perseverative_error: True if response matches previous rule AND is incorrect
Summary Artifact
A JSON file (wcst_summary_<taskIndex>.json) with comprehensive WCST metrics:
{
"task_kind": "wcst",
"total_trials": 48,
"overall": {
"accuracy": 0.79,
"mean_rt_ms": 2341
},
"wcst_metrics": {
"categories_completed": 4,
"trials_to_first_category": 12,
"conceptual_level_responses": 35,
"failures_to_maintain_set": 1,
"perseverative_responses": 8,
"perseverative_errors": 6
},
"by_rule": {
"color": {
"total": 16,
"accuracy": 0.88,
"mean_correct_rt_ms": 2156
},
"shape": {
"total": 16,
"accuracy": 0.75,
"mean_correct_rt_ms": 2401
},
"number": {
"total": 16,
"accuracy": 0.75,
"mean_correct_rt_ms": 2465
}
},
"trials": [ /* per-trial data */ ]
}
Key WCST metrics:
categories_completed: Number of rule categories successfully learnedperseverative_errors: Errors where participant used previous ruleconceptual_level_responses: Trials within streaks of 3+ correct (understanding demonstrated)failures_to_maintain_set: Errors after 5+ consecutive correct responses
Instructions
The task uses a four-tier instruction system:
- Main Instructions: Shown on a dedicated page before the task begins
- Practice Instructions: Shown before practice trials (if practice enabled)
- Trials Instructions: Shown before main trials after practice (if practice enabled)
- Hint Instructions: Quick-reference help available via "?" button during task
All instruction text can be customized in rich-text format during study configuration.
Design Recommendations
Trial Design
Balanced rule presentation:
- Equal numbers of trials per rule (e.g., 15-20 trials for color, shape, number each)
- Rule order can be fixed or counterbalanced across participants
- Ensure stimulus cards vary in all three dimensions (not just the target dimension)
Minimum for reliable assessment:
- 36-48 trials total (12-16 per rule)
- At least 3 rule changes
Stimulus Card Design
Each stimulus card should:
- Have a unique combination of color, shape, and number
- Match exactly one reference card on exactly one dimension
- Vary on the other two dimensions to avoid ambiguity
Feedback Settings
- Feedback enabled (default): Provides immediate learning signal, standard for clinical assessment
- Feedback disabled: More challenging; tests pure cognitive flexibility without learning support
Rule Change Criteria
The task presents trials with explicit rule specifications. Unlike traditional WCST (which changes rules after N consecutive correct), this implementation allows researchers to:
- Specify exactly when rules change (by setting the
rulefield in the trials spreadsheet) - Control the number of trials per rule
- Create custom rule sequences
This provides more experimental control and ensures all participants experience the same rule structure.
Common Issues and Solutions
Excessive Perseveration
Problem: Many perseverative errors (participant keeps using old rule)
Possible causes:
- Instructions unclear about rule changes
- Feedback not salient enough
- Executive dysfunction
Solutions:
- Emphasize in instructions that rules will change without warning
- Ensure feedback is clearly visible
- For clinical populations, consider additional practice with explicit rule changes
Never Completes First Category
Problem: Participant doesn't learn initial rule
Possible causes:
- Doesn't understand matching concept
- Random responding
- Difficulty integrating feedback
Solutions:
- Add explicit practice with rule stated
- Provide clearer examples in instructions
- Check that participant understands the task structure
Fast Random Responses (<300ms)
Problem: Participant not engaging with task
Solutions:
- Emphasize accuracy in instructions
- Check participant motivation/understanding
- Consider excluding very fast responses from analysis
Population-Specific Adaptations
Children (8+ years)
- Larger card size (150-200 pixels)
- Fewer trials (24-36 total)
- Simpler rule sequences (color → shape only)
- Always enable feedback
- Extended practice until child demonstrates understanding
Older Adults (65+)
- Larger card size for visibility
- More trials per rule (15-20) to ensure learning opportunity
- Clear, high-contrast colors
- Generous response time (no time pressure)
- May show more perseverative errors (normal aging effect)
Clinical Populations
- Frontal Lobe Damage: Expect increased perseveration, fewer categories
- Schizophrenia: May show both perseverative and non-perseverative errors
- ADHD: May show failures to maintain set, attention lapses
- Adapt trial numbers based on severity of impairment
References
- Berg, E. A. (1948). A simple objective technique for measuring flexibility in thinking. Journal of General Psychology, 39, 15-22.
- Milner, B. (1963). Effects of different brain lesions on card sorting. Archives of Neurology, 9, 90-100.
- Heaton, R. K. (1981). A Manual for the Wisconsin Card Sorting Test. Psychological Assessment Resources.
- Barceló, F., & Knight, R. T. (2002). Both random and perseverative errors underlie WCST deficits in prefrontal patients. Neuropsychologia, 40(3), 349-356.
- Nyhus, E., & Barceló, F. (2009). The Wisconsin Card Sorting Test and the cognitive assessment of prefrontal executive functions: A critical update. Brain and Cognition, 71(3), 437-451.
See Also
- Stroop Task - Another executive function measure (response inhibition)
- Go/No-Go Task - Response inhibition paradigm
- N-back Task - Working memory with updating demands