Protocols described here allow for the study of the electrical properties of excitable cells in the most non-invasive physiological conditions by employing zebrafish embryos in an in vivo system together with a fluorescence resonance energy transfer (FRET)-based genetically encoded voltage indicator (GEVI) selectively expressed in the cell type of interest.