In the present study, it was observed that TRAF6 cooperates with Ecsit to regulate mROS and the expression of ALFs in mitochondria and nuclei, respectively, which further affects hemolymph microbiota homeostasis in response to bacterial infection in mud crabs. The gene discussed is TRAF6; the disease is bacterial infectious disease.