Procambarus clarkii (P. clarkii), a commercially important shrimp species, has experienced increasing market demand, emphasizing the need for effective disease prevention and control strategies. Spiroplasma eriocheiris (S. eriocheiris), a recently identified bacterial pathogen, is commonly detected in the tissues of aquatic crustaceans and spreads via lymphocytes following infection, often resulting in mortality. Non-coding RNAs play essential roles in the growth, reproduction, and immune responses of aquatic organisms. This is particularly relevant to P. clarkii, which relies solely on innate immunity. The competitive endogenous RNA (ceRNA) regulatory mechanism, mediated by non-coding RNAs such as miRNAs and lncRNAs, may constitute a critical pathway in immune defense. In this study, transcriptomic sequencing integrated with systems biology was employed to analyze miRNAs, mRNAs, and lncRNAs in the hemocytes of P. clarkii across different infection stages. A total of 880 lncRNAs, 144 miRNAs, and 4370 mRNAs were differentially expressed. Based on these findings, 94 interaction pathways for differentially expressed lncRNAs, miRNAs, and mRNAs were identified, establishing a comprehensive ceRNA network. Functional annotation revealed that the target genes of these significantly differentially expressed miRNAs and lncRNAs are closely associated with immune and autophagy-related pathways. To validate the interactions between non-coding RNAs and immune-related genes within this network, dual-luciferase reporter assays confirmed that XR_006771428.1 and Rac1 are targets of pcla-mir_206, while IKBA and MSTRG.19161.1 are targets of pcla-mir_14. Additional functional validation demonstrated that the key node gene Rac1 was significantly expressed in the hemocytes and hepatopancreas of P. clarkii, and RNA interference of Rac1 led to a notable increase in the copy number of S. eriocheiris, indicating the involvement of Rac1 in the immune response. This study elucidates the immune defense mechanism of P. clarkii against S. eriocheiris infection and provides a potential strategy for controlling diseases in aquatic crustaceans.