Here, we present a protocol to dissociate and sort a specific cell population from the Drosophila male accessory glands (secondary cells) for RNA sequencing and RT-qPCR. Cell isolation is accomplished through FACS purification of GFP-expressing secondary cells after a multistep-dissociation process requiring dissection, proteases digestion and mechanical dispersion.