Farnesyl pyrophosphate synthase (FPPS) is a key enzyme in the terpenoid biosynthesis pathway, responsible for converting isopentenyl pyrophosphate (IPP) and dimethylallyl pyrophosphate (DMAPP) into farnesyl pyrophosphate (FPP). In crustaceans, FPPS plays an important role in various physiological processes, particularly in synthesizing the crustacean-specific hormone methyl farnesoate (MF). This study analyzed the evolutionary differences in the physicochemical properties, subcellular localization, gene structure, and motif composition of FPPS in Neocaridina denticulata sinensis (named NdFPPS) compared to other species. The significant evolutionary divergence of FPPS was observed in crustaceans, likely linked to its role in MF synthesis. After the RNA interference (RNAi)-mediated knockdown of NdFPPS, transcriptomic analysis of gills revealed the significant enrichment of differentially expressed genes (DEGs) in pathways related to metabolism and immunity. Gene set enrichment analysis (GSEA) showed that most of these immune-related pathways were significantly suppressed, suggesting that NdFPPS may indirectly regulate the immune response by modulating metabolic levels. During the early stages of Vibrio parahaemolyticus infection, the expression of NdFPPS in the gills was significantly downregulated and subsequently returned to its original levels. Overall, our results provide new perspectives on the role of FPPS in immune regulation and enrich the functional information of FPPS.