Stem cell niche is regulated by intrinsic and extrinsic factors. In the Drosophila testis, cyst stem cells (CySCs) support the differentiation of germline stem cells (GSCs). However, the underlying mechanisms remain unclear. In this study, we found that somatic CG6015 is required for CySC maintenance and GSC differentiation in a Drosophila model. Knockdown of CG6015 in CySCs caused aberrant activation of dpERK in undifferentiated germ cells in the Drosophila testis, and disruption of key downstream targets of EGFR signaling (Dsor1 and rl) in CySCs results in a phenotype resembling that of CG6015 knockdown. CG6015, Dsor1, and rl are essential for the survival of Drosophila cell line Schneider 2 (S2) cells. Our data showed that somatic CG6015 regulates CySC maintenance and GSC differentiation via EGFR signaling, and inhibits aberrant activation of germline dpERK signals. These findings indicate regulatory mechanisms of stem cell niche homeostasis in the Drosophila testis.