Objective Bacterial DNA (bactDNA) detection has been studied on ascitic fluid. However, there is insufficient data to support its use in clinical practice. We improved a novel droplet digital PCR (ddPCR) method and enhanced its diagnostic efficiency for spontaneous bacterial peritonitis (SBP). Method A total of 250 patients were included in this retrospective study. Extra cell-free DNA was depleted using Benzonase before pathogen DNA extraction to obtain viable bacterial DNA. The threshold value of bactDNA quantitation and its diagnostic performance were established based on ascites-polymorphonuclear (PMN) and clinical manifestation. The bactDNA quantification analysis were detailedly performed on patients who were symptomatic and had a PMN < 250 cells/mm3. Results This study enrolled 191 patients with liver cirrhosis and ascites. After the removal of free DNA, bactDNA detected by ddPCR were generally decreased(1.75 vs 1.5 copies/µl, P3, the bactDNA quantitation of 13 patients who were symptomatic was significantly higher than those asymptomatic(2.7 vs 1.7 copies/µl, P3.