We have studied the distribution and community composition of denitrifying bacteria in the stratified water column and at the sediment-water interface in lakes Plußsee and Schöhsee, and a nearshore site in the Baltic Sea in Germany. Although environmental changes induced by the stratification of the water column in marine environments are known to affect specific populations of denitrifying bacteria, little information is available for stratified freshwater lakes and brackish water. The aim of the present study was to fill this gap and to demonstrate specific distribution patterns of denitrifying bacteria in specific aquatic habitats using two functional markers for the nitrite reductase (nirK and nirS genes) as a proxy for the communities. The leading question to be answered was whether communities containing the genes nirK and nirS have similar, identical, or different distribution patterns, and occupy the same or different ecological niches. The genes nirK and nirS were analyzed by PCR amplification with specific primers followed by terminal restriction fragment length polymorphism (T-RFLP) and by cloning and sequence analysis. Overall, nirS-denitrifiers were more diverse than nirK-denitrifiers. Denitrifying communities in sediments were clearly different from those in the water column in all aquatic systems, regardless of the gene analyzed. A differential distribution of denitrifying assemblages was observed for each particular site. In the Baltic Sea and Lake Plußsee, nirK-denitrifiers were more diverse throughout the water column, while nirSdenitrifiers were more diverse in the sediment. In Lake Schöhsee, nirS-denitrifiers showed high diversity across the whole water body. Habitat-specific clusters of nirS sequences were observed for the freshwater lakes, while nirK sequences from both freshwater lakes and the Baltic Sea were found in Handling Editor: Piet Spaak.Electronic supplementary material The online version of this article (common phylogenetic clusters. These results demonstrated differences in the distribution of bacteria containing nirS and those containing nirK indicating that both types of denitrifiers apparently occupy different ecological niches.