Blueberry (Vaccinium ssp.) is a perennial shrub belonging to the family Ericaceae, which is highly tolerant of acid soils and heavy metal pollution. In the present study, blueberry was subjected to cadmium (Cd) stress in simulated pot culture. The transcriptomics and rhizosphere fungal diversity of blueberry were analyzed, and the iron (Fe), manganese (Mn), copper (Cu), zinc (Zn) and cadmium (Cd) content of blueberry tissues, soil and DGT was determined. A correlation analysis was also performed. A total of 84 374 annotated genes were identified in the root, stem, leaf and fruit tissue of blueberry, of which 3370 were DEGs, and in stem tissue, of which 2521 were DEGs. The annotation data showed that these DEGs were mainly concentrated in a series of metabolic pathways related to signal transduction, defense and the plant–pathogen response. Blueberry transferred excess Cd from the root to the stem for storage, and the highest levels of Cd were found in stem tissue, consistent with the results of transcriptome analysis, while the lowest Cd concentration occurred in the fruit, Cd also inhibited the absorption of other metal elements by blueberry. A series of genes related to Cd regulation were screened by analyzing the correlation between heavy metal content and transcriptome results. The roots of blueberry rely on mycorrhiza to absorb nutrients from the soil. The presence of Cd has a significant effect on the microbial community composition of the blueberry rhizosphere. The fungal family Coniochaetaceae, which is extremely extremelytolerant, has gradually become the dominant population. The results of this study increase our understanding of the plant regulation mechanism for heavy metals, and suggest potential methods of soil remediation using blueberry.