A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

Low-Cost Alternative for Examining Social Preference in Zebrafish (Danio rerio) Using the 3-Chamber Open-Tank Free-Swim Task

314 views

⸱

DOI:

10.3791/70610

⸱

August 7th, 2026

 ,  ,  ,  ,  ,  , 

In This Article

Summary

Multi-chamber social preference tasks have been adapted from rodents to zebrafish, facilitating the study of social behavior in model organisms. This protocol validates a low-cost 3-chamber open-tank task using webcams and open-source software to measure zebrafish social preference, making it accessible to undergraduate research and teaching.

Abstract

Understanding social behavior is a core pursuit in neurobehavioral research, often studied using social preference tasks. These tasks, originally developed for rodents and later adapted for zebrafish, are widely used to examine social dynamics and responses. The 3-chamber open-tank free-swim task (OTFST) consists of a central tank flanked by two stimulus tanks with a camera positioned to record behavior of the subject in the central tank and polarizing film and backlighting to enhance video quality and validity. This protocol uses a low-cost setup with USB webcams and readily available materials. We feature the use of DeepLabCut, an open-source markerless pose estimation tool that enables accurate video tracking of animal movements and provides positional time-series data to be analyzed for various metrics. Pilot sessions validate the system’s ability to capture robust social preference behavior. This budget-friendly approach offers an accessible and scalable platform for labs investigating social interaction in zebrafish, and the versatility and relative simplicity of the 3-Chamber OTFST make it suitable for undergraduate teaching laboratories and research projects.

Introduction

Social preference is an individual’s tendency to engage, seek, or avoid social stimuli and is a fundamental aspect of social behavior that plays a critical role in establishing bonds and hierarchies within groups of animals, including humans1,2,3,4. Understanding social preference is essential to characterizing the neural and behavioral mechanisms that underlie social interaction. Prior research indicates that deficits in social preferences can be associated with neurodevelopmental and psychiatric disorders5

Access restricted. Please log in or start a trial to view this content.

Protocol

All experimental procedures were approved by the Institutional Animal Care and Use Committee (IACUC) at Christopher Newport University (Protocol #2025-23).

1. Animals

  1. Obtain adult short-fin wild-type zebrafish23,36,37, although other strains can be used. Alternatively, obtain embryos and rear them in-house.
  2. House the fish in free-standing 10-gallon (38 L) tanks at a density of approximately two fish per gallon (3.8 L) of water. Equip tanks with active bio-filters, air stones, and submersible heaters. Alternati....

Access restricted. Please log in or start a trial to view this content.

Results

In order to validate the low-cost methods outlined above, one condition from the experiments conducted in Velkey et. al.33 was replicated using the present low-cost setup. Subjects (N = 23, 11 males and 12 females) were presented with the artificial moving mobile (low-fidelity) social stimuli on the left and the live shoal (high-fidelity) social stimuli on the right (Figure 2); as previous studies33,34 have no.......

Access restricted. Please log in or start a trial to view this content.

Discussion

The current protocol demonstrates that the present low-cost adaptation of the 3-Chamber OTFST can be used to reliably characterize social preference in adult zebrafish as measured by time spent in zone. Using inexpensive construction materials, a USB-connected webcam, and open-source acquisition and analysis software applications, the present system successfully replicated the finding that zebrafish prefer a shoal of live conspecifics over lower-fidelity moving models. These results validate the application of a low-cost.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Acknowledgements

The authors wish to thank Rommel Pagkalinawan, Robby Buck, Elizabeth Hiltz, Haley Dewitt, Maia Tankersley, Alexis Thai-Nguyen, Grady Fleming, Jacob Young, and Jack Medlin of TheFishLab team at Christopher Newport University for their contributions to animal husbandry and data collection for the validation experiment. The authors also wish to thank Samantha Commons for her assistance during her Community Captains Summer 2025 Program, including conducting the inventory of all components of the existing high-cost setup as well as the low-cost setup. The authors would also like to thank the Office of Student Research and Creative Activity at Christopher Newport University....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
10-Gallon AquariumAqueon, Inc. Franklin, WI, USA#100110010purchased at local pet supply (1 to 4)
12 Pieces 1-inch T-Pipe ClampsJoyHua Trade, ChinaASIN #B0DF19DJF1purchased from Amazon.com (1)
2-gang electrical boxSigma Engineered Solutions, Raleigh, NC, USA# 14350purchased at local hardware store (1)
3/4" Silver-Metallic electrical metallic(EMT) Conduit - 10-footWheatland Tube, Inc., Wheatland, PA, USA #0550110000purchased at local hardware store (3)
3-conductor cordUtilitech, Inc., Charlotte, NC, USAUT010710purchased at local hardware store (1)
3-prong receptacleEaton, Inc., Beachwood, OH, USA#270W-SP-LWpurchased at local hardware store (1)
3-way Air ValvePenn-Plax, Inc. 35 Marcus Blvd. Hauppauge, NY, USAModel VN3purchased at local pet supply (1)
A4 Cardstock (white), laminatedvariesvariespurchased from campus bookstore (2)
Active bio-filter Penguin 100Spectrum Brands Pet, LLC, Blacksburg, VA, USA#PF00100Bpurchased at local pet supply (1 to 4)
Air stonesPenn-Plax, Inc. 35 Marcus Blvd. Hauppauge, NY, USAModel AS6Qpurchased at local pet supply (3)
Aquarium Air TubingPenn-Plax, Inc. 35 Marcus Blvd. Hauppauge, NY, USAModel STD8purchased at local pet supply (1)
Black Fabric Twin Sheets (167.6 cm X 243.8 cm)Royale Linens, Inc., Melville, NY, USA#00011342258875purchased from Amazon.com (3)
Brio 4k WebcamLogitech International S.A., Lausanne, Switzerland960-001419purchased from Amazon.com (1 to 3)
Computer (sufficient for running Open Broadcaster Studio & 1-3 Webcams)Dell, Inc., Round Rock, TX, USAOptiPlex Micro 7010purchased from dell.com (1)
Dimmable light-emitting diode (LED) flat-panel lightLithonia Lighting-Acuity Brands, Inc. Conyers, GA, USACTCL-153P-WHpurchased from Amazon.com (1)
E-Z Up Dust Containment Pole (2 Pack)Trimaco, Inc., Cary, NC, USA# 00047034547330purchased from Amazon.com (1)
Feet Hardware TwinevariesVariespurchased at local hardware store (1)
Linear polarizing filtersB&H Foto & Electronics, Inc., New York, NY USARosco #7300purchased online (7)
Open Broadcaster SoftwareOBS Projectv32.0.0download from https://obsproject.com (1)
Polycarbonate Sheet (0.38"/9.6mm thick)Spectraglass, ltd., Perth, ScotlandUPC # 608037376817purchased from Amazon.com (1)
polyvinyl chloride (PVC) Cement, 4 oz canisterThe AZEK Co, Chicago, IL, USA#ARAD0004OZpurchased at local hardware store (1)
Rimless 5.5-Gallon AquariumAqueon, Inc. Franklin, WI, USA#100541424purchased at local pet supply (3)
Self-adhesive white plastic film CON-TACT Brand, La Miranda, CA, USA#16F-C9A952-06purchased at local hardware store (1)
Slider Dimmer switchLutron, Inc., Cooperburg, PA, USA#LECL-150H-WHpurchased at local hardware store (1)
small pulleyvariesVariespurchased at local hardware store (1)
Submersible 50W heaters (preset to 26C)Aqueon, Inc. Franklin, WI, USA#100106251purchased at local pet supply (3 to 7)
Super Clamp Camera MountJINSUI, ChinaX0040GEYLRpurchased from Amazon.com (1 to 3)
Tetra Whisper 10 Aquarium Air PumpSpectrum Pet, Home & Garden, Inc., Middleton, WI, USAUPC #046798778516purchased at local pet supply (1)
Weatherproof 2-gang electrical enclosureHubbell, Inc., Shelton, CT, USA#MM2420Cpurchased at local hardware store (1)
White PVC Sheet 1/4" x 24" 48"Royal Building Products, Bristol, TN, USA#3101purchased at local hardware store (2)
White PVC Trim Board, nominal 1 x 2 (0.75" x 1/5" x 96")Royal Building Products, Bristol, TN, USA#7832-8purchased at local hardware store (1)

References

  1. Seo, H., Lee, D. Neural basis of learning and preference during social decision-making. Curr Opin Neurobiol. 22 (6), 990-995 (2012).
  2. Bray, J., et al. Social bonds predict dominance trajectories in adult male chimpanzees. Anim Behav. 179

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Explore More Articles

Zebrafish Social BehaviorThree Chamber TaskDeepLabCut TrackingMarkerless Pose EstimationBehavioral Video AnalysisLow Cost SetupSocial InteractionNeurobehavioral Research