We present here an improved protocol for the whole-mount preparation and immunostaining of Drosophila testes, suitable for confocal microscopy and also allowing reproducible and reliable labeling. We illustrate this protocol by 3D representation and quantification of colocalization experiments on the large S4-S5 spermatocytes.