Background Diabetes mellitus (DM) has become a common risk factor for pyogenic liver abscess (PLA) patients, Klebsiella pneumoniae is a primary pathogen of PLA (KPLA). The purpose of this study was to evaluate the clinical and microbiological characteristics in PLA patients with or without DM induced by Klebsiella pneumoniae or not.Methods The clinical data of the total 557 PLA patients were collected in Zhongshan Hospital from January 2015 to December 2020. The liver abscess were confirmed using abdominal ultrasound (US),computerized tomography (CT), and/or magnetic resonance imaging (MRI). The 557 patients were divided into two groups, PLA with DM and PLA without DM. In the group of PLA with DM, the patients were further separated into KPLA with DM and non-KPLA with DM.Results The total of 557 patients with PLA were analyzed, 225 (40.40%) patients comorbided DM. Among PLA patients with DM, there is a higher proportion of patients with hypertension (42.22%) and fatty liver diseases (38.67%), the most common clinical manifestation is frail and fatigue (18.22%), and more likely to progress to sepsis and metastatic infections such as periorbital infection. The PLA patients with DM have higher inflammatory markers (WBC, N%, CRP, ESR and PCT). There was significant difference between the group of PLA with DM and PLA without DM in the percentage of neutrophils, liver enzymes, albumin, glucose metabolism (blood glucose, glycated hemoglobin and glycated albumin), lipid metabolism (triglycerides, low density lipoprotein, high density lipoprotein), blood sodium and chlorine, blood urea nitrogen and higher heart markers ( proBNP and CK-MB). In KPLA patients with DM compared with non-KPLA with DM, inflammatory markers (WBC, N%, CRP, ESR and PCT), liver function index (TB, CB, ALT, AST, ALP and r-GT) and cardiac markers (cTnT and proBNP) are more higher. The level of albumin, serum sodium and ferritin are more lower between the KPLA patients with DM and non-KPLA with DM. Detection of liver abscess by high-throughput sequencing is more sensitive and accurate. There was no in-hospital mortality.Conclusions The study found that in the PLA patients with diabetic DM, Klebsiella pneumoniae infection is the most common, which is more prone to organ dysfunction and electrolyte disorder. High-throughput sequencing can help early diagnosis and accurate treatment of PLA patients.