Per-, Poly-fluoroalkyl substances (PFASs) accumulation in benthic environments is mainly determined by material mixing and represents a significant challenge to river remediation. However, less attention has been paid to the effects of sediment distribution on PFASs accumulation, and how PFASs influence microbial community coalescence and biogeochemical processes. In order to identify correlations between PFASs distribution and benthic microbial community functions, we conducted a field study and quantified the ecological constrains of material transportation on benthic microorganisms. Perfluorohexanoic acid (PFHxA) contributed most to the taxonomic heterogeneity of both archaeal (12.199%) and bacterial (13.675%) communities. Genera Methanoregula (R2 = 0.292) and Bacillus (R2 = 0.791) were identified as indicators that respond to PFASs. Phylogenetic null modeling indicated that deterministic processes (50.0–82.2%) dominated in spatial assembly of archaea, while stochasticity (94.4–97.8%) dominated in bacteria. Furthermore, spatial mixing of PFASs influenced broadly in nitrogen cycling of archaeal genomes, and phosphorus mineralization of bacterial genomes (p < 0.05). Overall, we quantified the effect of PFASs on community assembly and highlighted the constrains of PFASs influence on benthic geochemical potentials, which may provide new insights into riverine remediation.