The linden tree (Tilia spp.) is a popular tree for landscaping and urban environments in central and northwest European countries, and it is one of the most popular in cities in Poland. Ectomycorrhizal fungi form a symbiosis with many urban tree species and protect the host plant from heavy metals and against salinity. The aim of this study was to characterise the ECM fungal community of urban linden trees along the tree damage gradient. The study was performed on two sites located in the centre of the city of Gdansk, in northern Poland. The vitality assessment of urban linden trees was made according to Roloff's classification. Tree damage classes were related to soil characteristics using principal component analysis. The five ectomycorrhizal fungal species were shared among all four tree damage classes, and Cenococcum geophilum was found to be the most abundant and frequent ectomycorrhizal fungal species in each class. Soil samples collected in the vicinity of trees belonging to the R0 class had significantly lower pH Na, Cl and Pb content than other soils. Our knowledge of ectomycorrhizal communities in urban areas is still limited, and these findings provide new insights into ectomycorrhizal distribution patterns in urban areas.