Soil bacterial communities were analyzed in different habitats (bulk soil, rhizosphere, rhizoplane) of poplar tree microcosms (Populus tremulaxP. alba) using cultivation-independent methods. The roots of poplar trees regularly experience flooded and anoxic conditions. Therefore, we also determined the effect of flooding on microbial communities in microcosm experiments. Total community DNA was extracted and bacterial 16S rRNA genes were amplified by PCR and analyzed by terminal restriction fragment length polymorphism (T-RFLP) analysis, cloning and sequencing. Clone libraries were created from all three habitats under both unflooded and flooded conditions resulting in a total of 281 sequences. Numbers of different sequences (<97% similarity) in the different habitats represented 16-55% of total bacterial species richness determined from the nonparametric richness estimator Chao1. According to the number of different terminal restriction fragments (T-RFs), all of the different habitats contained approximately 20 different operational taxonomic units (OTUs), except the flooded rhizoplane habitat whose community contained less OTUs. Results of cloning and T-RFLP analysis generally supported each other. Correspondence analysis of T-RFLP patterns showed that the bacterial communities were different in bulk soil, rhizosphere and rhizoplane and changed upon flooding. For example OTUs representing Bacillus sp. were highest in the unflooded bulk soil and rhizosphere. Sequences related to Aquaspirillum, in contrast, were predominant on the poplar roots and in the rhizosphere of flooded microcosms but were rarely found in the other habitats.