TASK · LEARNING, MEMORY & FEAR
Y-maze spontaneous alternation
Working memory · Alternation and partial entries
Three arms meet at 120°. The animal explores freely for about 8 minutes. Visiting all three arms in three successive entries counts as an alternation; alternation rate is alternations / (entries − 2).
Simulated example

Why keypoints
Many scoring protocols require all four paws inside an arm to count an entry. RodentFlow approximates this using body centre and tail base, and separately reports head-only entries.
What RodentFlow measures
| Measure | Definition |
|---|---|
| Alternation rate | Number of three-entry sequences visiting distinct arms / (total entries − 2). |
| Entries | By default an entry requires both body centre and tail base to be inside the arm. |
| Head entry without body entry | Nose enters an arm but the body turns back before entry. |
Thresholds are defaults and can be changed in the analysis parameters; the values used are saved with each session and written into the Methods text.
Setting up
- J marks the junction; A / B / C mark the three arm tips.
- Enter arm length and width (cm).
The general steps (choose the task, calibrate, track, review, export) are the same for every task: see Analysing a video.
Classic centroid version
This test can also be analysed with the classic centroid method, the tracker of RodentFlow 1.x: background subtraction and the body centroid at 10 Hz, with no model. It gives the zone, path and time measures; measures that need the nose or head (investigation, head dips, head direction) come from the pose version. See Classic centroid.
References
- Hughes RN (2004) The value of spontaneous alternation behavior (SAB) as a test of retention in pharmacological investigations of memory. Neurosci Biobehav Rev 28:497–505. doi:10.1016/j.neubiorev.2004.06.006
- Kraeuter AK, Guest PC, Sarnyai Z (2019) The Y-maze for assessment of spatial working and reference memory in mice. Methods Mol Biol 1916:105–111. doi:10.1007/978-1-4939-8994-2_10
Related tasks
Novel object recognition · Barnes maze · Morris water maze · Passive avoidance (step-through) · Step-down inhibitory avoidance · Place preference (RTPP / CPP) · T-maze choice & VTE · Fear conditioning · Looming threat escape · Platform-mediated avoidance
