Drosophila melanogaster relies solely on innate immunity to defend against various microbial pathogens. Although it is well-known that the adaptor protein Imd undergoes K63-linked ubiquitination to activate the downstream signaling cascades, its involvement with K48-linked ubiquitination and what is responsible for controlling this modification remain largely unknown. In this study, we explored the immunological function of CG4968, which encodes a typical ovarian tumour-associated protease (OTU)-type deubiquitinase (Dub) in flies. Our in vitro and vivo evidence demonstrated that CG4968 plays a positive role in governing the immune deficiency (IMD), but not the Toll innate immune response in an OTU domain-dependent manner. Mechanistically, we found that CG4968 is associated with Imd to restrict its K48-linked ubiquitination, thereby contributing to its turnover. Collectively, our study uncovered a novel regulatory mechanism involving the K48-linked ubiquitination of Imd in Drosophila innate immunity.