The soil microbiome is crucial for the environment and significantly impacts the ecosystem. Understanding the microbiome and its interaction with soil microorganisms is essential for improving ecological and environmental strategies. In this study,
Xiphinema elongatum
nematodes were collected from water berry in Sovenga Hills, Limpopo Province, South Africa, and were analyzed their associated bacterial communities using metabarcoding analysis. The findings revealed that
X. elongatum
forms associations with a wide range of bacterial species. Among the most abundant species identified, we found
Sphingomonas
sp., a bacterial species commonly found in various habitats and primarily beneficial to plants, and
Candidatus Xiphinematobacter
, a bacterial species commonly found in nematode species of
Xiphinema
as an endosymbiont. The analysis using principal component analysis (PCA) revealed that the abundance of
X. elongatum
in the soil is inversely correlated with clay content (
r
= -0.52) and soil pH levels (
r
= -0.98), and directly correlated with soil sand content (
r
= 0.88). This study provides valuable insights into the bacterial species associated with plant-parasitic nematodes in trees in South Africa. It underscores the presence of various potentially detrimental and beneficial nematode-associated bacteria. The results could potentially influence the overall quality of the soil, leading to implications for the productivity and yield of fruit crops. Additionally, the results help us understand the interaction between bacteria and
X. elongatum
.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-024-80877-2.