Blueberry ( Vaccinium spp.) are one of the most economically important fruit trees globally. However, due to continuous cropping have limited the industry’s ability to produce consistently over the long term, and the mechanism underlying the development of this continuous cropping problem is not yet fully understood. In this study, we applied metagenomic and metabolomic to systematically detect changes in microbial community structure, function and metabolic profiles in rhizosphere and non-rhizosphere soils after different years of continuous blueberry cultivation (0, 2, 4, and 6 years) in Dalian (China). The results showed that continuous cultivation significantly reduced overall microbial diversity and the bacterial and fungal Shannon index, with the decrease being more significant in the rhizosphere soils ( P < 0.05). The β diversity analysis showed that the microbial community structure was distinctly separated between cultivation periods, with the most prominent differences in the rhizosphere soils (PERMANOVA, P < 0.01). The increased cultivation duration led to a decrease in the relative abundance of beneficial functional taxa in the microbial community, while the depletion-tolerant and stress-adapted taxa were gradually enriched. Functional annotation analysis showed that KEGG pathways related to stress response, amino acid degradation, and energy metabolism significantly increased, while functions related to nutrient transformation and plant-microbe interactions were weakened (FDR < 0.05). The metabolomic results further showed that 6 years of continuous cultivation significantly reshaped the rhizosphere metabolite composition. This was evidenced by the accumulation of various secondary metabolites in the rhizosphere soil, including metabolites related to potential self-toxicity (e.g., ferulic acid, 3-hydroxyphenylacetic acid, and 2-hydroxycinnamic acid), mainly involved in the pathways of amino acid metabolism, lipid metabolism, and secondary metabolite synthesis. In conclusion, continuous cultivation of blueberry induced pronounced shifts in rhizosphere microbial community structure, function, and metabolite composition, suggesting that these changes may contribute to the development of continuous cropping obstacles (CCO).