A microfluidic system, Fish-Trap, was developed to enable automatic, gel-free, and anesthetic-free immobilization and orientation of zebrafish larvae, allowing high-throughput mapping of drug-induced brain-wide neural activity in awake vertebrates with single-cell resolution.