Ethnopharmacological relevanceSanguisorba officinalis L. (S. officinalis L.), known as Di Yu (DY) in Traditional Chinese Medicine (TCM), are used to treat burns, vomiting of blood, asthma, intestinal infections, and dermatitis. It has been reported that the root of DY has a significant inhibitory effect on Helicobacter pylori (H. pylori). However, there is currently little research on the composition analysis and anti-H. pylori infection properties of the non-medicinal parts of DY, such as its stems, leaves, and flowers. Aim of studyThe commonly used eradication therapies for H. pylori infection are antibiotic-based therapies. With the increasing antibiotic resistance of H. pylori, it is urgent to find effective alternative therapies. To find alternative therapies and increase the utilization of DY, this study aims to investigate the phytochemistry profile, in vitro anti-H. pylori activity, and preliminary antibacterial mechanism of the non-medicinal parts of DY. Materials and methodsThe non-medicinal parts of DY extracts were obtained by using hot water reflux method. The chemical composition of these extracts was analyzed using colorimetric method, high-performance liquid chromatography (HPLC), and ultra-high-performance liquid chromatography-electrospray ionization-mass spectrometry (UPLC-ESI-MS). The in vitro anti-H. pylori activity was investigated using broth microdilution method, checkerboard dilution method, time-kill curve, time-inhibition curve, scanning electron microscopy, and transmission electron microscopy. Transcriptional sequencing technology was used to study the effect of DY stems and flowers on the gene expression of H. pylori and explore possible antibacterial mechanisms. ResultsThe non-medicinal parts of DY contain abundant phytochemicals, such as total phenols and total flavonoids, and possess strong inhibitory and bactericidal activity against both standard and clinical strains of H. pylori in vitro. The MIC was 80–1280 μg/mL and the MBC was 80–2560 μg/mL, and the strength of the antibacterial effects was dependent on the concentration of phytochemicals (total polyphenols, gallic acid and ellagic acid). In addition, the combination of non-medicinal parts of DY with antibiotics, such as amoxicillin, metronidazole, levofloxacin, and clarithromycin, did not result in any antagonistic effects. All of them could disrupt the morphology, internal microscopic and cell wall structures of H. pylori thereby acting as an inhibitor. The mechanism of action was found to be the disruption of H. pylori morphology, internal microstructure, and cell wall. Transcriptomic analysis showed that the non-medicinal parts of DY significantly regulated the gene expression of H. pylori, especially the metabolic pathway. ConclusionsThis study analyzed the chemical composition of the non-medicinal parts of DY and confirmed its inhibitory and bactericidal activities against H. pylori, both standard and clinical strains. Additional, the mechanism of inhibition involves disrupting the structure of H. pylori cells, altering gene expression, and interfering with bacterial metabolic pathways. This study provides a reference for further resource utilization and the development of H. pylori drugs using the non-medicinal parts of DY.