ddPCR, with appropriate panel design, has advantages in pathogen detection and clinical management of ascites infection, especially for patients with fungal and polymicrobial infections. Patients with atypical spontaneous bacterial peritonitis benefited more from ddPCR.