Complex microbial communities shape the dynamics of various environments. In this Review, Knight and colleagues discuss the best practices for performing a microbiome study, including experimental design, choice of molecular analysis technology, methods for data analysis and the integration of multiple omics data sets.