q2-phylogenize allows users to link microbial genes to environments using phylogenetic regression. Phylogenetic regression takes into account the fact that species that share ancestry will often share phenotypic traits, including colonizing similar environments. This confounder can otherwise lead to high rates of spurious associations. We hope researchers who are doing functional analysis of 16S data will find this tool particularly useful.