This protocol describes the steps for immunostaining and confocal imaging of ex vivo slices following an electrophysiological experiment.