menu_book

Knowledge Base

Documentation, guides, and resources for Noldus products.

EthoVision XT - The Y-maze Test

Last updated: Jul 25, 2026

Introduction

the y-maze

The Y-maze is constructed with three arms of equal length that extend from a central platform at a 120° angle. In the basic version, the animal is free to explore the maze arms. In a modified version, it is possible to close off some arms either to keep the animal in a specific arm for a fixed time once it has entered that arm, or to limit exploration to some arms, not others. The Y-maze is generally used to investigate alternation behavior, where animals are supposed to alternate choices of maze arms on successive opportunities. Irrespective of the precise function of alternation, the animal must remember which arm it had entered on a previous occasion to enable it to alternate its choice on a following trial. Therefore, the use of the Y-maze is based on the assumption that, following some pharmacological manipulation, it is primarily modified memory processes that are reflected in changed alternation rates. Figure 13.1 A Y-maze setup with automatic doors in each arm.

spontaneous alternation

Definition

Spontaneous Alternation is a behavioral test for measuring the willingness of rodents to explore new environments. Rodents typically prefer to investigate a new arm of the maze rather than returning to one that was previously visited. Many parts of the brain, including the hippocampus, septum, basal forebrain, and prefrontal cortex--are involved in this task (Conrad et al. 1996).

Classical procedure

The animal is released in the center of the maze, and allowed to freely explore the three arms (A, B, C). Over the course of multiple arm entries, the subject is expected to show a tendency to enter a less recently visited arm (A > B > C > A > ...). The observer records the number of arm entries and the number of visits to the three arms without a re-visit in between; for example, A > B > C, B > C > A, etc.) in order to calculate the percentage of alternation. An arm entry is scored when all four limbs are within the arm.

Calculation of Alternation index

Given a zone sequence: A > B > C > B > ... An alternation is defined as multiple entries into the three different arms on overlapping triplet sets. In this example the first three visits are an alternation: A > B > C > B > ... The next overlapping triplet set, B > C > B is not an alternation. The Alternation index is given by the number of alternations divided by the maximum number of possible alternations, that is, the number of alternations that would be obtained if the animal visited the zones in the sequence: A > B > C > A > B > C ... For a 3-arm maze, like the Y-maze, The maximum number of alternations is equal to total number of visits minus 2. Alternation index is expressed in percentage:

Spontaneous Alternation in EthoVision XT

You can easily calculate the Alternation index using the outputs

Alternations and Max Alternations in the Zone alternation dependent

variable. See page 261. For more information, see Zone alternation in the EthoVision XT Help.

delayed alternation

The delayed alternation task allows assessing spatial working memory in a T- or Y-maze. The main difference with spontaneous alternation is that performance is evaluated between trials.

Classical procedure

In the first trial of the test, the animal is placed at the end of the start arm and has to choose between the two other arms that are baited. Once the choice made, the subject is removed and after a variable delay, is returned in the start arm. In this second trial, the one arm baited is now the opposite arm to which chosen during the first trial. The animal has to make a different choice than its first one (correct choice) to get the reward.

Delayed Alternation in EthoVision XT

For all tests where maze arms can be considered as targets of a choice,

and others non-targets (errors), you can use outputs Target first visits

and Total errors in the Target visits and errors dependent variable. See

page 261.

For more information, see Target visits and errors in the EthoVision XT

Help. Alternation index Number of alternations Total nr. of zone visits - 2 -

references

Conrad, C.D., Galea, L.A., Kuroda, Y., McEwen, B.S. (1996). Chronic stress impairs rat spatial memory on the Y maze, and this effect is blocked by tianeptine pretreatment. Behav Neurosci 110: 1321 - 1334. Conrad, C.D., Lupien, S.J., Thanasoulis, L.C., McEwen, B.S. (1997). The effects of type I and type II corticosteroid receptor agonists on

exploratory behavior and spatial memory in the Y-maze. Brain Res. 759,

EthoVision XT and the Y-maze test

Detrait, E., Brohez, C., Hanon, E., De Ryck, M. (2010). Automation of Continuous Spontaneous Alternation to Increase the Throughput for In Vivo Screening of Cognitive Enhancers. Optimization of the Ethovision System for the Y-maze Test in Mice. Proceedings of Measuring Behavior 2010 (Eindhoven, The Netherlands, August 24-27, 2010), 141-144. For a complete list of publications, see the results of Google Scholar.

The Y-maze test in EthoVision XT

Create an experiment. For details, see Chapter 1 of this manual, or in

EthoVision XT press F1 and see Setup an Experiment in the EthoVision

XT Help. For suggestions about optimize lighting, see page 87.

experiment settings

Choose Setup > Experiment Settings. Number of Subjects per Arena: 1.

Tracked Features: Center-point detection or Center point, nose-

point and tail-base detection. If you want to use Deep learning technique to track the subject's nose, under Body point detection technique choose Deep learning. Note that in order to use this technique there are additional requirements. Among other things, you need a powerful graphics

card. See Deep learning: Requirements and Limitations in the

EthoVision XT Help.

arena settings

We assume that you followed the procedure in arena settings on page

15.

For the Spontaneous alternation task

  1. Choose Setup > Arena Settings > Open Arena Settings 1.
  2. Choose the video / camera image and click Grab.
  3. Click 2. Select Shape and Draw Arena. Resize and move the outline of the arena to make it overlap with the Y maze image.

For details on how to resize and move the outline the arena, see arena

settings on page 15 and Arena Settings in the EthoVision XT Help.

For the Delayed alternation task

Choose Setup > Arena Settings > New.

After calibrating and drawing the outline of the arena. click 3. Select

shape and draw zones. Draw the three arm zones. To draw the start box

zone and the target zones (that is, the arm ends which will be baited with food), create an additional zone group (Figure 13.3). For details on how to work with zone groups, and draw and edit shapes, see Arena Settings in the EthoVision XT Help.

Figure 13.2 Example of arena and zones in a Y-maze for spontaneous

alternation. Zones are highlighted with different overlay colors.

trial control settings

In the Trial Control Settings you can define conditions for the start and stop of the data acquisition. Choose Setup > Trial Control Settings > New.

Default Trial Control

The templates for the Y maze contain the following Trial Control Settings profiles:

Default. Tracking starts when the subject's center point is detected

for 1 second in the arena. Tracking stops at the end of the video or when you give the stop command.

Figure 13.3 Example of arena and zones in a Y-maze for delayed alternation. On

the right, the Arena Settings window shows two zone groups: Zone Group 1 with

the zones Left arm, Right arm and Start arm (these zones are like in the Arena

Settings for spontaneous alternation), and Start zone and targets with the target zones (Left bait and Right bait) and the Start zone.

Tracking Duration 5 min. Tracking starts when the subject's center

point moves from the start box to the center arm. Tracking stops after 5 minutes.

detection settings

Choose Setup > Detection Settings.

We assume that you followed the procedure in detection settings on

page 17.

Check in the Video Section that the sample rate is set to:

For rats: 5 samples/second. For mice: 12.5-15 samples/second. However, when tracking the nose-point, center-point and tail-base point of the rodents, always choose the maximum sample rate. If you selected to use the Deep learning technique to track the subject's

nose, under Method next to Deep learning click Define and select a box

around the subject. Make sure that the box includes the subject's nose. Try not to include objects like walls, especially if they are the same color as the subject. For details, see the EthoVision XT Help.

trial list

Independent variables

If you perform a Y-maze test where one of the arms is closed off or provided with food, it is always a good idea to create independent variables that mark the type of trial, and which you can use to select a subset of trials for answering a specific question. For example, create the independent variable Correct choice with possible values Yes and No, depending on whether the subject chose the arm not visited in the previous trial. At the end of each trial, enter the value for that subject. You can use this variable to filter the trials based on the value of Correct choice.

Acquiring data

protocols

Continuous Spontaneous Alternation

  1. Release the subject in the center of the Y maze.
  2. Start the trial.
  3. Let the subject explore the maze for the time required (typically 5-6 minutes). Then, stop the trial.
  4. Put the subject back in its home cage. Proceed with the next subject.

Forced-choice Alternation

In this variant, the subject is forced to explore one of the two arms in the first trial. 1. Close one of the arms of the maze. Place the subject into the start arm, and allow it to explore the maze for 15 minutes. 2. After a fixed inter-trial interval, open the door in the blocked arm. Return the subject to the maze by placing it in the start arm. The subject is allowed to explore freely all three arms of the maze for 5 min. The Y-maze is often rotated between the two trials.

Two-trial Spontaneous Alternation

In this task, the subject is confined for a fixed time in the T- or Y-maze arm chosen in the first trial. This allows to manipulate the time that the animal has experience with one of the arms. 1. In the first trial, let the subject access one of the arms after having left the start arm. Once an arm has been entered, close off that arm by lowering a guillotine door behind the subject. Leave the subject there for a fixed time (this is called intra-trial interval). 2. Remove the subject and, after an inter-trial interval, let it choose the arm in a second trial. This two-trial sequence is repeated a number of times.

Delayed Alternation

This task is usually designed with a T- or a Y- maze where one arm is the starting location, and the other arms are baited. 1. Release the subject in the start arm. Once the subject enters one of the other two arms, close the door for that arm (trial 1). 2. After a predetermined inter-trial interval, release the subject and let it freely choose one of the two arms (trial 2). If the subject chooses the alternate arm, this is scored as alternation. This two-trial procedure is repeated several times. See also acquiring tracks on page 21.

Data analysis

analysis profiles

Choose Analysis > Analysis Profile... The template experiment contains the analysis profiles:

Distance, Time & Movement. To calculate the total Distance moved

(a measure of activity of the animal), the mean Velocity, and the total time spent in the to states of Movement (moving and not moving). The group means with their standard errors are also calculated.

Zone alternation. with the variables In zone (to calculate the

frequency, total time and latency to first visit for each zone; and Zone alternation, to calculate the number of alternations and the maximum number of alternations for that set of zone visits (see below). See the section below to create analysis profiles for specific tasks.

alternation behavior

Spontaneous alternation

Choose Analysis > Results > Statistics and Charts. Select the Analysis profile that contains Zone Alternation variable. Locate the column Zone Alternation in the table.

To calculate the Alternation index, divide Alternations by Max

alternations and multiply this by 100. To change the Zone alternation definition, open the Analysis profile

Zone Alternation and double-click the variable Zone alternation. Here

you can specify which statistics you want to have. You can also enter a

Zone exit threshold, to remove false re-entries in a zone from the

Delayed alternation

For delayed alternation tests, Zone alternation is not the correct dependent variable. To analyze correct and incorrect choices, use Target visits and errors to compare performance between trials. Because the target arm changes between trials (for trial 2, the target is the arm which was not visited in the previous trial), you must define multiple instances of Target visits and errors. Whether an arm can be defined as "target" depends on the outcome of the previous trial. If the subject went to the Left arm in trial x, then for trial x+1 the target should be the Right arm, and a revisit to the Left arm should be scored as an error.

To do this, in the Trial List (Setup > Trial List) mark each trial with a

variable which states which arm was the correct choice. By definition, the 1st trial of each subject has no "correct" choice (the values for subsequent trials depend on what the animal does in that trial). In the Data Profile, filter the trials based on this variable. Make two Data profiles, one for "Right arm correct" and one for "Left arm correct". Next, create two analysis profiles. For example: Analysis profile Target visits and errors for when the target (correct choice) was the Left arm. The Right arm is a non-target; visits to that arm are scored as errors. Analysis profile Target visits and errors for when the target (correct choice) was the Right arm. When you analyze the data, make sure to combine a Data profile with the correct Analysis profile.

visualizing data

Choose Analysis > Results > Integrated Visualization. Figure 13.4 shows an example of visualization of spontaneous alternation behavior. The first plot shows the variable In zone defined in the Analysis profile; there you can see which arms were visited during the trial. The second plot is of Zone alternation. The subject visits first the zone marked in blue, then that in red, and when the subject enters the green - marked zone, an alternation is completed. This is scored as

Alternations (blue vertical segment; A). At every visit except the last

two in a trial, also Max Alternations is scored (purple vertical segment;

B). This marks the moment a possible alternation could have occurred. This variable is useful to calculate the Alternation index (see page 261). The plot also includes direct revisits (for example, green > green) or indirect revisits (green > red > green; C). The more revisits, the lower the Alternation index.

Figure 13.4 Integrated visualization of the dependent variables In zone and

Zone alternation for a Y-maze test. See explanations in the text.


Source: EthoVision XT 17.5 Application Manual, The Y-maze Test

shopping_bag
check_circle

Thank you!

We'll get back to you shortly.

error

Please correct the following errors:

error

error

error

error

By clicking Submit, you consent to Noldus processing your data as described in our privacy policy.