Inundations in Amazonian black‐water river floodplain result in the selection of different tree lineages, thus promoting coexistence between species. We investigated whether Amazonian tree communities are phylogenetically structured and distributed along a flooding gradient from irregularly flooded forests along streams embedded within upland (terra‐firme) forest to seasonally flooded floodplains of large rivers (igapós). Floristic inventories and hydrological monitoring were performed along the Falsino River, a black‐water river in the eastern Amazon within the Amapá National Forest. We constructed a presence‐and‐absence matrix and generated a phylogeny using the vascular plant database available in GenBank. We calculated the standardized values of the metrics of phylogenetic diversity (ses.PD), average phylogenetic distance (ses.MPD), and average nearest‐neighbor distance (ses.MNTD) to test whether the history of relationships between species in the community is influenced by inundation. We used the phylogenetic endemism (PE) metric to verify the existence of taxa with restricted distribution. Linear regressions were used to test whether phylogenetic metrics have a significant relationship with the variables: maximum flood height, maximum water table depth, and maximum flood amplitude. The results show that forests subject to prolonged seasonal flooding have reduced taxon richness, low phylogenetic diversity, and random distribution of lineages within communities. On the other hand, terra‐firme riparian forests showed higher rates of taxon richness, diversity, and phylogenetic dispersion, in addition to greater phylogenetic endemism. These results indicate that seasonal and predictable soil flooding filters tree lineages along the hydrographic gradient. Different adaptations to root waterlogging are likely requirements for colonization in these environments and may represent an important factor in the diversification of tree lineages in the Amazon biome.