Apparatus for head-fixed electrophysiology, optogenetics, and behavior experiments. The two photographs show a top view (left) and side view (right) of the assembled components. Aluminum foil electrical shields have been removed from equipment (e.g., infrared light (d)) for better visibility of materials. Labels reference components described in the materials section. Briefly: (a) Multi-Field Magnetic Speakers (TDT MF1). (b) BNC to LED cable (custom). (c) High-speed camera (AVT GE680). (d) Infrared light (Towallmark Crazy Cart 48-LED IR Infrared Night Vision Illuminator). (e) Blunt needle (23G), adapter (WPI 13160), and tubing for delivering air puff (Clippard URH1–0402-CLT). (f) Bars for holding headplate (custom). (g) Three-axis micromanipulator (Narishige UMC3). (h) Handheld microscope camera (Dino-Lite AD-4013 MTL). (i) One-axis micromanipulator (Narishige MMO-220A modified to remove ball joint). (j) Stereotaxic micromanipulator (Narishige SMM-100 with custom shaft (EDMS16–054b) and modified MA-2 micromanipulator stand (SDMS16–033a)). (k) Treadmill (custom). (l) Rotary encoder (Karlsson Robotics E6C2-CWZ3E 1024 count/revolution quadrature encoder)