Spatial distribution of ectomycorrhizae-associated basidiomycetes was determined in oakbirch forest using terminal restriction fragment length polymorphism (T-RFLP) analysis. The data were correlated with actual soil humidity, pH, electric conductivity of the soil extract, absorbance A(465) and A(665) of water and alkali soil extracts and with the ratio A(465)/A(665) (parameter A4/A6). Natural non-homogeneity of the soil parameters was used as experimental gradient. Distance-based redundancy analysis of the T-RFLP data (with soil parameters being taken as environmental parameters) provided significant results when ITS1F-terminanted restriction fragments were analyzed. Among other fungi, a Mycena galericulata related fungus was observed to correlate negatively with A4/A6, indicating its association with highly humified soil organic matter. Positive association of other, unidentified fungi with A4/A6 was also observed. Several other unidentified fungi negatively correlated with electric conductivity of the soil extract. The results may explain nonhomogeneity of the spatial distribution of the fungi associated with ectomycorrhizae as a result of their interaction with non-homogeneous soil environment.