labvanced logoLabVanced
Contact
    • Remote Physiological Measurements
    • Eye Tracking
    • Head & Face-Tracking
    • Emotion Detection
    • Heart Rate Detection (rPPG)
    • Generative AI
    • Audio Transcription
    • EEG & Hardware Integrations
    • Decision Making
    • Reaction Times
    • Keyboard Inputs
    • Mouse Tracking
    • Mobile / Touch
    • Questionnaires
    • Gamepad / Joystick Integration
    • Audio Recordings
    • Audio Transcription
    • Video Recordings
    • Screen Recordings
    • Photos / Snapshots
    • Video Conferencing
    • Canvas Drawings
    • Build with AI
    • Build with Spreadsheets
    • Using the Experiment Editor
    • Coding
    • Creating Questionnaires
    • Balancing & Randomization
    • UX & Website Testing
    • Single Session Studies
    • Factorial Designs
    • Longitudinal & Multi-session Studies
    • Individual & Case Studies
    • Real-time Multi-user Studies
    • Interviews & Video Calls
    • Surveys & Questionnaires
    • Experience Sampling & Diaries
    • Classroom & Group Testing
    • Interventions & Clinical Trials
    • In the Browser
    • Mobile App
    • Desktop App
    • WebBridge Chrome Extension
    • Stroop Test
    • Flanker Task
    • N-back Task
    • Implicit Association Test
    • Trail Making Test
    • Digit Span
    • Corsi Block Tapping
    • Tower of London
    • Balloon Analog Risk Task
    • Preferential Looking
    • Browse more →
    • DASS-21
    • GAD-7
    • Rosenberg Self-Esteem Scale
    • PHQ-9
    • Ten-Item Personality Inventory
    • Big Five Personality Test
    • Adult ADHD Self-Report Scale
    • Browse more →
    • Building a Multi-user Study
    • Webcam Eye Tracking with AOIs
    • Website Frame Eye Tracking
    • Conditional Eye Tracking Opt-in
    • ChatGPT Study
    • Desktop App Study with EEG
    • Between-subjects Group Balancing
    • Building a Reading Study
    • Stroop Task
    • Lexical Decision Task
    • Browse more →
    Public Experiment Library
    • Arts Research
    • Clinical Psychology & Neuropsychology Medicine
    • Cognitive Psychology
    • Developmental Psychology
    • Behavioral Economics & Decision Science
    • Educational Research & Psychology
    • HCI & Human Factors
    • Linguistics & Language Sciences
    • Consumer & Marketing Research
    • Social & Personality Psychology
    • Sport & Movement Science
    • UX & Website Testing
    • Executive Functions
    • Language & Reading
    • Decision-Making & Reasoning
    • Attention
    • Overview
    • HCI & Human Factors
    • UX & Website Testing
    • Consumer & Marketing Research
    • White-Label App
    • PageGazer
    • Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela Markova
    • Eye Tracking for Influencer MarketingDr. Alexander Edeling
    • Eye Tracking Infant Word ComprehensionDr. Giulia Calignano
    • Sentence Reading and Grammar JudgmentsDr. Jonathan Mirault
    • Regulating Emotions with MusicDr. Katrin Starcke
    • Game-Based Grammar Learning in ChildrenDr. Mireia Marimon
    • Gaze Cueing and AutismMax Soares Miehstein
    • Personality and Hearing in NoiseDr. Malte Wöstmann
    • All interviews →
    • Lab Notes
    • How to Cite Labvanced
    • Labvanced Platform Paper (2017)
    • Webcam Eye Tracking Validation (2024)
    • Webcam Eye Tracking Studies
    • Cognitive Psychology Studies
    • Developmental Psychology Studies
    • Linguistics Studies
    • See all publications →
    • Getting Started
    • Guide
    • Video Tutorials
    • Walkthroughs
    • Live Chat
    • Webinars & Onboarding Calls
    • AI Assistant
    • FAQ
    • Importing Templates Guide
    • Test Templates
    • Live Eye Tracking Metrics
    • Mouse Tracking Demo
    • ChatGPT Demo
    • Audio Recording Object Demo
    • Adding Image Stimuli Demo
    • Score & Feedback Demo
    • Browse all technical demos →
    • Timing Precision
    • Stimuli Presentation
    • Headphone Checks
    • Bot Checks
    • Participant Management
    • Comparisons
    • Research Blog
    • Prolific Integration
    • CloudResearch Integration
    • Sona Systems Integration
    • BeSample Integration
    • Panelabs Integration
    • Clickworker Integration
    • Labvanced Webhook API
    • Labvanced REST API
    • About Us
    • Newsletter Archive
    • Terms & Conditions
    • Data Security & Data Privacy
    • Technical & Organisational Measures
    • Accessibility
    • W-8BEN-E Form
    • Data Processing Agreement Template
    LinkedInYouTubeDiscord
    • Individual
    • Lab
    • Department / Consortium
    • Teaching
    • Campus
    • Commercial
    • Browse recording top-ups →
    • Browse AI token top-ups →
    • Overview
    • Study Building
    • Subject Recruitment
    • Dedicated Support
    Checkout
  • Contact
    • EN
      • 中國人
      • Deutsch
      • Français
      • Español
      • English
      • 日本語
    • Logout
    • Loginlogin icon
    Platform
    Labvanced makes it easy to implement the most advanced study design and reliably collect your data.
    Biosignals & AI
    Remote Physiological MeasurementsEye TrackingHead & Face-TrackingEmotion DetectionHeart Rate Detection (rPPG)Generative AIAudio TranscriptionEEG & Hardware Integrations
    Behavioral Recordings
    Decision MakingReaction TimesKeyboard InputsMouse TrackingMobile / TouchQuestionnairesGamepad / Joystick Integration
    Media Recordings
    Audio RecordingsAudio TranscriptionVideo RecordingsScreen RecordingsPhotos / SnapshotsVideo ConferencingCanvas Drawings
    Implementation Techniques
    Build with AIBuild with SpreadsheetsUsing the Experiment EditorCodingCreating QuestionnairesBalancing & RandomizationUX & Website Testing
    Study Formats

    Your study can take whatever format your research needs. Here are a few popular examples.

    Single Session StudiesFactorial DesignsLongitudinal & Multi-session StudiesIndividual & Case StudiesReal-time Multi-user StudiesInterviews & Video CallsSurveys & QuestionnairesExperience Sampling & DiariesClassroom & Group TestingInterventions & Clinical Trials
    Where Studies Run

    Run your study online in the browser, on mobile or tablet with the mobile app, or in-lab with the desktop app.

    In the BrowserMobile AppDesktop AppWebBridge Chrome Extension
    Tests
    Explore cognitive tests, questionnaires, walkthroughs, and our public experiment library: a starting point for your next study.
    Popular Cognitive Tests
    Stroop TestFlanker TaskN-back TaskImplicit Association TestTrail Making TestDigit SpanCorsi Block TappingTower of LondonBalloon Analog Risk TaskPreferential Looking
    Browse more →
    Questionnaires & Scales
    DASS-21GAD-7Rosenberg Self-Esteem ScalePHQ-9Ten-Item Personality InventoryBig Five Personality TestAdult ADHD Self-Report Scale
    Browse more →
    Public Experiment Library

    Take a look at what other researchers in the community are doing through our extensive, open catalog of shared studies.

    Open the public library →
    Walkthroughs

    Step-by-step builds of complete studies, from a blank project to a running experiment, that you can follow along or adapt.

    Building a Multi-user StudyWebcam Eye Tracking with AOIsWebsite Frame Eye TrackingConditional Eye Tracking Opt-inChatGPT StudyDesktop App Study with EEGBetween-subjects Group BalancingBuilding a Reading StudyStroop TaskLexical Decision Task
    Browse more →
    Research
    One platform for students, academics, and industry researchers studying human behavior.
    Harvard UniversityStanford UniversityCambridge UniversityUCLNYUMax Planck InstituteUCLATU Munich

    Trusted by researchers at 1,500+ universities worldwide

    Academic Research
    Arts ResearchClinical Psychology & Neuropsychology MedicineCognitive PsychologyDevelopmental PsychologyBehavioral Economics & Decision ScienceEducational Research & PsychologyHCI & Human FactorsLinguistics & Language SciencesConsumer & Marketing ResearchSocial & Personality PsychologySport & Movement ScienceUX & Website Testing
    Research Areas
    Executive FunctionsLanguage & ReadingDecision-Making & ReasoningAttention
    Industry / Commercial
    OverviewHCI & Human FactorsUX & Website TestingConsumer & Marketing ResearchWhite-Label AppPageGazer
    Researcher Interviews

    Conversations with researchers about the studies they ran with Labvanced, what worked, and what they learned.

    Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela MarkovaEye Tracking for Influencer MarketingDr. Alexander EdelingEye Tracking Infant Word ComprehensionDr. Giulia CalignanoSentence Reading and Grammar JudgmentsDr. Jonathan MiraultRegulating Emotions with MusicDr. Katrin StarckeGame-Based Grammar Learning in ChildrenDr. Mireia MarimonGaze Cueing and AutismMax Soares MiehsteinPersonality and Hearing in NoiseDr. Malte Wöstmann
    All interviews →
    Our Research
    Lab NotesHow to Cite Labvanced
    Peer Reviewed Studies

    A selection of peer-reviewed work built on Labvanced: our own platform and validation papers, and studies by the research community grouped by area. Hundreds more are listed on the full publications page.

    Labvanced Platform Paper (2017)Webcam Eye Tracking Validation (2024)Webcam Eye Tracking StudiesCognitive Psychology StudiesDevelopmental Psychology StudiesLinguistics Studies
    See all publications →
    Resources
    Valuable resources to help you learn the platform, stay updated, and more.
    Documentation
    Getting StartedGuideVideo TutorialsWalkthroughs
    Support
    Live ChatWebinars & Onboarding CallsAI AssistantFAQ
    Templates & Demos

    These are a few popular examples. Browse our guide and a selection of technical demos to get started with implementation.

    Importing Templates GuideTest TemplatesLive Eye Tracking MetricsMouse Tracking DemoChatGPT DemoAudio Recording Object DemoAdding Image Stimuli DemoScore & Feedback Demo
    Browse all technical demos →
    Methodology
    Timing PrecisionStimuli PresentationHeadphone ChecksBot ChecksParticipant ManagementComparisonsResearch Blog
    Integrations & APIs
    Prolific IntegrationCloudResearch IntegrationSona Systems IntegrationBeSample IntegrationPanelabs IntegrationClickworker IntegrationLabvanced Webhook APILabvanced REST API
    Company & Legal
    About UsNewsletter ArchiveTerms & ConditionsData Security & Data PrivacyTechnical & Organisational MeasuresAccessibilityW-8BEN-E FormData Processing Agreement Template
    LinkedInYouTubeDiscord
    Pricing
    Our licenses and additional services at a glance.
    Licenses
    IndividualLabDepartment / ConsortiumTeachingCampusCommercial
    Top-Ups

    Need more recordings for your lab or your own research? Simply use one of these recording top-up packages.

    Browse recording top-ups →

    Need more AI tokens for the AI assistant and study translations? Simply use one of these AI token top-up packages.

    Browse AI token top-ups →
    Additional Services

    Hire Labvanced’s expert team to quickly bring your project to the level of rigor it needs.

    OverviewStudy BuildingSubject RecruitmentDedicated Support
    Checkout

    Ready to purchase a license or top-up? Head straight to checkout.

    Go to checkout →
    • 中國人
    • Deutsch
    • Français
    • Español
    • English
    • 日本語
    N-back (2-back) task preview for online and inlab use.

    N-back (2-back) Task

    The N-Back Task is a cognitive paradigm used to assess working memory and continuous updating of information. Participants must monitor a stream of stimuli and decide whether the current stimulus matches one presented a specified number of steps earlier.

    Table of Contents

    • Task Format
    • Data Collected
    • Technology
    • Customization
    • Recommended Use

    Task Format | N-back Task Online & In-Lab

    The N-Back Task is a continuous performance task used to assess working memory. In this task, participants view a sequence of stimuli presented one at a time and must decide whether the current stimulus matches the one shown a fixed number of steps earlier in the sequence. Task difficulty is determined by the value of N, with higher values placing greater demands on working memory. In the 2-back version of the task, participants compare each stimulus to the one presented two trials earlier.



    Test it out!

    Two versions of the 2-back task are available, each optimized for the type of device and input method being used:

    Desktop Version

    In the desktop version, letters are presented one at a time in the center of the screen. Participants decide whether the current letter matches the letter shown two trials earlier. Responses are made using the A and L keys, with the match and non-match key mapping counterbalanced across participants. Timing parameters and response mappings can be adjusted in the task settings.


    Mobile Version

    In the mobile version, letters are presented sequentially in the center of the screen. Participants indicate whether the current letter matches the one shown two trials earlier by tapping clearly labeled on-screen buttons such as “Match” and “Non-Match.” This version is optimized for touchscreen interaction across mobile devices.

    At the beginning of each session, participants complete a short practice block to learn the task rules and response mapping before proceeding to the main task.

    Outcome Measures & Performance Indicators of the N-back Task

    The N-Back Task captures a range of behavioral measurements that reveal how information is actively maintained and updated in working memory. The variables recorded enable researchers to assess reaction times, response accuracy, hit rates, false alarms, and performance differences across load conditions. These measures help quantify working memory capacity, updating efficiency, and sensitivity to cognitive load. All variables can be viewed and customized within the task’s Variables Tab.

    Below are examples of variables collected in the Labvanced version of the N-back Task:

    Variable NameDescription
    correct_rejectionCorrect non-response to a non-target (clicks "different" to a non-target) ((1= correct rejection, 0= no correct rejection)
    displayed_letterLetter displayed to the participant in the current trial
    false_alarmIncorrect response to a non-targets (wrongly clicks “same” to a non-target) (1= false alarm, 0= no false alarm)
    hitCorrect response to a target stimuli (correctly clicks “same” to a target) (1= hit, 0= no hit)
    missMissed response to a target (clicks "different" to a target) ((1= miss, 0= no miss)
    reaction_timeTime taken in milliseconds by the participant to respond to the stimulus presented.
    responseResponse given by the participant ("Different"/ "Same" button for Mobile-based task or keypress recording for Desktop-based task)

    Data preview of behavioral measures and responses collected using the n-back Task template for online research.

    Data table showing individual trial level outputs from the online N-back (2back) Task in Labvanced.


    N-back (2back) Task

    This task examines working memory capacity using the 2-back task. Participants complete a series of trials where they must indicate if the current stimulus matches the one presented two steps earlier. Training trials and immediate feedback are provided to support learning and engagement.



    Technology Driving the N-back Task for Online & In-Lab Research

    The N-Back Task requires precise timing, flexible condition handling, and reliable response recording, all of which are supported within the Labvanced platform:

    • High Precision Timing: The N-back Task relies on millisecond level timing to detect subtle differences in reaction time across trial types. Labvanced ensures precise stimulus presentation and response logging for reliable cognitive measurement, even in online testing environments.

    • Frame Based Stimulus Control: Stimulus presentation can be precisely timed using frame durations and event logic, ensuring consistent delivery across trials.

    • Cross Device Input Support: Works seamlessly with mouse, keyboard, and touchscreen devices. This makes it accessible across desktops, laptops, tablets, and mobile phones. This flexibility allows participants to complete the task using whichever device is available.

    • Desktop App Mode: A desktop application can be used when stronger control over the task or hardware integration is required. This mode supports offline testing and compatibility with equipment such as EEG and other LSL based systems.

    • Longitudinal and Remote Testing: The task can be delivered consistently across multiple time points, which is ideal for monitoring changes in attentional bias over longer intervals. Remote testing options make it possible to reach wider and more diverse participant samples while maintaining data integrity.

    • Webcam Eye Tracking: The task can be combined with webcam based eye tracking to capture gaze direction, fixation duration, and visual scanning patterns during the task.

    A person looking at a webcam eye tracking task created with Labvanced during a nback task

    Webcam Eye Tracking

    Capture gaze patterns and visual attention with built-in, code-free and peer-reviewed webcam eye-tracking.

    An icon of a clock symbolizing accurate reaction times from this nback task online template

    Timing Precision

    Capture reaction times, task performance, and more with millisecond accuracy for time-sensitive tasks.

    An image of the desktop app of Labvanced used to modify the nback task template

    Desktop App

    Run in-lab studies using the Desktop App, compatible with EEG and other LSL-connected lab hardware.

    Customization of the N-back Task

    There are many ways to adapt this N-Back Task template to meet specific research questions. Below are a few themes researchers commonly ask when it comes to modifying this task.


    Stimulus Content and Presentation

    The stimuli used in the task can be replaced or modified by editing the visual objects directly in the editor. Researchers can use letters, numbers, images, or spatial locations and adjust their size, position, or appearance through the Object Properties panel


    Memory Load and Condition Logic

    Different N levels are defined as task conditions that determine how far back the current stimulus should be compared. These condition values are read during each trial to control match logic and stimulus evaluation. You can define the value of n by simply editing the events that reflect the condition structure.


    Response Handling and Scoring

    Participant responses are captured through key presses or button taps and evaluated using event logic. Researchers can modify what counts as a correct response or how non responses are handled. The event system manages all triggers and actions. Simple modifications to the relevant events allows the implementation of the desired response mapping and accuracy criteria.


    Trial Flow and Practice Design

    Practice trials are typically implemented as a separate block, allowing researchers to adjust trial count, feedback presence, and progression rules independently from the main task. Frame navigation and block transitions can be customized by editing events and frame logic.


    If you need help customizing this task, please feel welcome to write to us and ask:


    Contact Us

    Recommended Use and Applications of the N-back Task

    The N-Back Task is widely applicable across research, clinical, and applied settings, making it valuable for assessing working memory and cognitive load across diverse populations.

    • Working Memory and Cognitive Control Research: Commonly used in cognitive psychology and neuroscience studies to investigate working memory updating, attentional control, and executive functioning in healthy adults.

    • Developmental and Lifespan Research: Used to examine how working memory capacity changes across childhood, adolescence, adulthood, and aging by adjusting task difficulty through different N levels.

    • Clinical and Neuropsychological Populations: Applied in research involving conditions such as ADHD, schizophrenia, depression, and neurological disorders where working memory deficits are commonly observed.

    • Training and Cognitive Load Studies: Frequently used in studies exploring cognitive training, mental workload, and task difficulty manipulation due to its ability to systematically vary memory demands.

    • Neuroimaging and Brain Function Research: Widely paired with neuroimaging and electrophysiological methods to study neural correlates of working memory and cognitive effort.


    Sign Up


    References

    • Kirchner, W. K. (1958). Age differences in short-term retention of rapidly changing information. Journal of experimental psychology, 55(4), 352.

    • Zhu, S., Wang, Q., Kan, C., Geng, A., Sui, Y., Zhuang, R., ... & Guo, C. (2024). Age-related cerebral changes during different n-back tasks: a functional near-infrared spectroscopy study. Frontiers in aging neuroscience, 16, 1437587.

    Related Tasks

    The N-Back Task pairs naturally with other working memory tasks in Labvanced's task library.

    Corsi Block Tapping Test

    Blocks flash sequentially on screen. Participants must repeat the sequence by clicking the blocks in the exact order shown.

    Trail Making Test

    In Part A, the participant connects numbers in ascending order (1-2-3...) while in Part B, numbers and letters alternate (1-A-2-B...), in this classic task for measuring cognitive flexibility.

    Digit Span Task

    This study measures verbal working memory using the Digit Span Task. Participants recall digit sequences of increasing length in the same order they were shown or in reverse order. Accuracy, reaction time, and the longest span successfully recalled are captured as performance indicators.