During spermatogenesis in mammals and in Drosophila melanogaster, male germ cells develop in a series of essential developmental processes. This includes differentiation from a stem cell population, mitotic amplification, and meiosis. In addition, post-meiotic germ cells undergo a dramatic morphological reshaping process as well as a global epigenetic reconfiguration of the germ line chromatin-the histone-toprotamine switch.Studying the role of a protein in post-meiotic spermatogenesis using mutagenesis or other genetic tools is often impeded by essential embryonic, pre-meiotic, or meiotic functions of the protein under investigation. The post-meiotic phenotype of a mutant of such a protein could be obscured through an earlier developmental block, or the interpretation of the phenotype could be complicated. The model organism Drosophila melanogaster offers a bypass to this problem: intact testes and even cysts of germ cells dissected from early pupae are able to develop ex vivo in culture medium. Making use of such cultures allows microscopic imaging of living germ cells in testes and of germ-line cysts. Importantly, the cultivated testes and germ cells also become accessible to pharmacological inhibitors, thereby permitting manipulation of enzymatic functions during spermatogenesis, including post-meiotic stages.The protocol presented describes how to dissect and cultivate pupal testes and germ-line cysts. Information on the development of pupal testes and culture conditions are provided alongside microscope imaging data of live testes and germ-line cysts in culture. We also describe a pharmacological assay to study post-meiotic spermatogenesis, exemplified by an assay targeting the histone-to-protamine switch using the histone acetyltransferase inhibitor anacardic acid. In principle, this cultivation method could be adapted to address many other research questions in pre-and post-meiotic spermatogenesis.