labvanced logoLabVanced
  • Research
    • Publications
    • Researcher Interviews
    • Use Cases
      • Developmental Psychology
      • Linguistics
      • Clinical & Digital Health
      • Educational Psychology
      • Cognitive & Neuro
      • Social & Personality
      • Arts Research
      • Sports & Movement
      • Marketing & Consumer Behavior
      • Economics
      • HCI / UX
      • Commercial / Industry Use
    • Labvanced Blog
  • Technology
    • Feature Overview
    • Desktop App
    • Phone App
    • Precise Timing
    • Experimental Control
    • Eye Tracking
    • Multi User Studies
    • More ...
      • Questionnaires
      • Artificial Intelligence (AI) Integration
      • Mouse Tracking
      • Data Privacy & Security
      • Text Transcription
  • Learn
    • Guide
    • Videos
    • Walkthroughs
    • FAQ
    • Release Notes
    • Documents
    • Classroom
  • Experiments
    • Cognitive Tests
    • Sample Studies
    • Public Experiment Library
  • Pricing
    • Pricing Overview
    • License Configurator
    • Single License
    • Research Group
    • Departments & Consortia
  • About
    • About Us
    • Contact
    • Downloads
    • Careers
    • Impressum
    • Disclaimer
    • Privacy & Security
    • Terms & Conditions
  • Appgo to app icon
  • Logingo to app icon
Research
Publications
Tasks
Researcher Interviews
Use Cases
Labvanced Blog
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
Publications
Tasks
Researcher Interviews
Use Cases
Labvanced Blog
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
  • Publications
  • Tasks
  • Researcher Interviews
    • Comparing Online Webcam- and Laboratory-Based Eye-Tracking for the Assessment of Infant Audio-Visual Synchrony Perception
    • Finding Goldilocks Influencers- How Follower Count Drives Social Media Engagement
    • The semantic interference in 9- to 36-month old infants: An at-home eye-tracking study on infants' lexical abilities
    • Song Is More Memorable Than Speech Prosody - Discrete Pitches Aid Auditory Working Memory
    • Orthographic Relatedness and Transposed-word Effects in the Grammatical Decision Task
    • Emotion Modulation through Music after Sadness Induction
    • Children Learning Non-Adjacent Dependencies
    • Personality Hear in Noise
    • Are All Eyes the Same?
    • Verbal Priming in Infants
  • Use Cases
    • Research Areas

      • Developmental Psychology
      • Linguistics
      • Clinical & Digital Health
      • Educational Psychology
      • Cognitive & Neuro
      • Social & Personality Psychology
      • Arts, Music & Digital Media
      • Sports & Movement Psychology
      • Marketing & Consumer Behavior
      • Economics
      • HCI / UX
      • Commercial / Industry Use
    • Researchers

      • Students
      • Researchers
      • Groups
  • Blog
    • Generative AI in Educational Psychology Research
    • Best Practices for Webcam Eye Tracking Research with Infants and Toddlers
    • Types of Stimuli in Delay Discounting Tasks
    • Delay Discounting Task
    • Mindfulness-based Self-Efficacy Scale - Revised (MSES-R)
    • Team Dynamics and Research
    • Stroop Task | History, Task Description, Data and Psychology
    • BKB Sentence Test | Procedure & Research
    • Dyadic Effect in Psychology | Overview & Research
    • Navon Task: Task Setup, Research & More
    • Peer-reviewed Webcam Eye Tracking
    • Corsi Block-Tapping Test: From cubes to online design
    • Dot-Probe Task | Full Guide
    • Types of Memory: Concepts to Research
    • Ultimatum Game
    • The Visual Search Task
    • Attention Tasks in Psychology Research
    • Generalized Anxiety Disorder Scale-7 (GAD-7)
    • Decision Making Tasks in Psychology
    • The Obsessive Compulsive Inventory – Revised (OCI-R)
    • Assessing Executive Function Skills | Tasks & Batteries
    • The Flourishing Scale (FS) Questionnaire
    • Labvanced and the Spirit of Open Science
    • The Psychology of the Incubation Effect
    • The Bouba-Kiki Effect and Task
    • Lexical Decision Task: Accessing the Mental Lexicon
    • Image Description Task and Game with a Chatbox
    • Smooth Data Collection Process | 6 Tips for Research
    • Music Research with Labvanced
    • 7 Classic Cognitive Tasks & Examples
    • Mental Rotation Test | A Spatial Processing Task
    • XY Coordinates in Labvanced
    • 5 Famous Social Psychology Experiments
    • The Power of Remote & Infant-friendly ET
    • The Wisconsin Card Sorting Test
    • 13 Head Tracking Use Cases for Research
    • 5 Tips for Improving Your Perception Skills
    • Introduction to the Preferential Looking Paradigm
    • Researching Cognition in Migraine & Headache Patients
    • The Landing Page - More Info Than You Think!
    • Headphone Checks - Then and Now
    • Sample Studies - Helpful Templates and Demos!
    • What Is Neuroplasticity?
    • 15 Famous Developmental Theories
    • Visual Attention and Eye Tracking
    • What Is Eye Tracking Technology?
    • Eye Tracking in Applied Linguistics Research
    • 10 Popular Linguistic Experiments
    • The Placebo Effect
    • 6 Key Concepts of Experimental Design
    • Conditioned Play Audiometry
    • Ebbinghaus Illusion
Trail making test trial

The Trail Making Test

The Trail Making Test is a neuropsychological assessment that measures visual attention, processing speed, and cognitive flexibility by having individuals quickly connect sequenced numbers and letters. It’s a fast, reliable tool used across healthcare, research, and performance-based settings to reveal cognitive strengths and weaknesses and support informed decision-making.


Table of Contents

  • Task Format
  • Outcome Measures
  • Technology
  • Recommended Use
  • Customization

Trail Making Test Task Setup & Format Overview

The Trail Making Test typically consists of two parts:

  • Part A: The participant connects numbers in ascending order (1–2–3…) as quickly and accurately as possible

  • Part B: They alternate between numbers and letters (1–A–2–B…) to assess cognitive flexibility

The participant can respond using a mouse to click on the circles or to press on them via the mobile touchscreen. Participants are instructed to work as fast as possible without making mistakes.



Test it out!

In this Trail Making Test online version in Labvanced, the participant goes through a training trial for Part A, then the Part A test, followed by the training for Part B, concluding with the Part B test.


Trail Making Test Metrics & Cognitive Performance Data

The Trail Making Test captures a range of cognitive performance metrics, providing precise data on attention, processing speed, and executive function for neuropsychological and cognitive research. Under the Variables Tab you have a complete view of all the variables that are used in this online version of the Trail Making Task.

Below are a few key variables that handle behavioral response recording and the trial-specific target stimuli order:

Variable NameDescription
Correct Sequence - Part AAn array holding the target sequence order for Part A.
Correct Sequence - Part BAn array holding the target sequence order for Part B.
Choice ClickedRecords the choice or element clicked by the participant. Note: 0 = click on the background.
ChoiceClickedArrayAn array containing the sequence of elements clicked during the trial.
Number of ErrorsThe total number of errors (clicks that were not the target).
Completion Time - Part A msThe time it took to complete Part A in milliseconds.
Completion Time - Part B msThe time it took to complete Part B in milliseconds.

All variables can be renamed and edited. For example, if you need to track timeseries, that setting can be activated with just a click. Furthermore, additional variables can be created for more data recording, as per your experimental needs.


Time series recordings of the trail making test's Choice Clicked variable where the value is listed under the right-most column.

Time series recordings (timespamp) of the Choice Clicked variable where the value is listed under the right-most column.


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.



Advanced Cognitive Testing Technologies for Trail Making Tasks

  • High-Precision Timing: The Trail Making Test relies heavily on accurate measurement of completion time and error corrections, and Labvanced’s millisecond-level timing ensures that subtle differences in processing speed are captured reliably.

  • Webcam Eye Tracking: Because the task is visually guided, you can consider integrating webcam eye tracking to provide valuable insights into search strategies, scanning patterns, and moments of hesitation without requiring external hardware.

  • Desktop App Mode: For in-lab studies, the Desktop App can also be used to administer this test and then combine it with lab hardware like EEG or any other LSL-based connection.

  • Touchscreen and Mouse Input Support: The platform accommodates diverse input methods, allowing participants to “connect” targets with naturalistic interactions that match traditional or digital task formats.

  • Longitudinal & Remote Testing Capabilities: When monitoring cognitive change over time or reaching diverse populations, Labvanced enables consistent delivery of the task across sessions and devices while maintaining data integrity.

A person looking at a webcam eye tracking task created with Labvanced during a trail making test 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 trail making test 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 trail making test template

Desktop App

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

Recommended Use of the Trail Making Test

The Trail Making Test is widely applicable across research, clinical, and performance-focused settings, making it valuable for assessing attention, processing speed, and cognitive flexibility in diverse populations. Older Adults / Aging Research: Useful for monitoring age-related cognitive changes and identifying early patterns of decline in executive functioning.

  • Neurological Populations: Commonly administered in studies involving traumatic brain injury, stroke, epilepsy, multiple sclerosis, and other conditions that affect cognitive control and visual–motor coordination.

  • Neuropsychological & Psychiatric Groups: Relevant for examining executive functioning in ADHD, depression, bipolar disorder, and related conditions where attention and task switching may be impacted.

  • Developmental Populations: Adapted versions can help investigate attentional control and sequencing skills in adolescents or emerging adults.

  • High-Performance or Occupational Screening: Supports evaluations in domains like aviation, transportation, safety-critical roles, or high-demand operational settings where rapid cognitive shifting is essential.


Sign Up


Customizing the Trail Making Test

There are many ways to go about customizing this template. Below are a few themes researchers commonly ask when it comes to modifying this task.


Stimulus Design

The circles on the screen are image files. Clicking on them, you can replace them with your own images via the Object Properties panel under the Image section. Also there, you can specify the Stimulus Info for that particular image which is then used as a part of the Events to record the sequence of the response.

The line / path is created by recording the X- and Y- coordinates of the click into a data frame and then pointing to that value so the Polygon Object takes those coordinates. The style of the line / path can be modified under the Object Properties panel under the Style section.


Correctness

The object name as it is written in the Objects Panel, (eg Circle 1) corresponds to the array (eg. Correct Sequence - Part A Training). Thus, any modification to the object names should also lead to updating the relevant array.


Timing and Trial Parameters

Modifying trial durations, inter-trial intervals, and feedback settings to fit specific research goals.

Training trials do not have allotted trial durations. For the experimental task, to modify the allotted trial duration, refer to the Delayed Action (Time Callback) action and change the permissible value in milliseconds. Frame navigation and progress can also be changed by adding or removing frames, modifying the buttons or events.


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


Contact Us

References

  • Gaudino, E. A., Geisler, M. W., & Squires, N. K. (1995). Construct validity in the Trail Making Test: what makes Part B harder?. Journal of clinical and experimental neuropsychology, 17(4), 529-535. https://doi.org/10.1080/01688639508405143

  • https://www.center-tbi.eu/files/approved-translations/English/ENGLISH_TMT.pdf