We demonstrate a method that takes advantage of fast scanning confocal microscopy to perform live imaging of microglia cells in the developing zebrafish optic tectum, allowing for the analysis of the dynamics of these cells in vivo.