A new computational method to characterize the dynamics of human-associated microbial communities is applied to data from two large-scale metagenomic studies, and suggests that gut and mouth microbiomes of healthy individuals are subjected to universal (that is, host-independent) dynamics, whereas skin microbiomes are shaped by the host environment; the method paves the way to designing general microbiome-based therapies. Microbial communities associated with the human body are complex and highly personalized ecosystems, the ecological dynamics of which are poorly understood. Whether these are mainly host-independent (hence 'universal') or host-specific is an open question, and the answer is critical to the development of microbiome-based interventions. This study reports a new computational method for the characterization of the dynamics of human-associated microbial communities, and applies it to data from two of the largest microbiome studies. The results suggest that gut and mouth microbiomes display universal dynamics, whereas skin microbiomes are shaped by the host environment. These universal gut microbial dynamics are not observed in subjects infected with Clostridium difficile, but reappear following faecal transplantation. Human-associated microbial communities have a crucial role in determining our health and well-being1,2, and this has led to the continuing development of microbiome-based therapies3 such as faecal microbiota transplantation4,5. These microbial communities are very complex, dynamic6 and highly personalized ecosystems3,7, exhibiting a high degree of inter-individual variability in both species assemblages8 and abundance profiles9. It is not known whether the underlying ecological dynamics of these communities, which can be parameterized by growth rates, and intra- and inter-species interactions in population dynamics models10, are largely host-independent (that is, universal) or host-specific. If the inter-individual variability reflects host-specific dynamics due to differences in host lifestyle11, physiology12 or genetics13, then generic microbiome manipulations may have unintended consequences, rendering them ineffective or even detrimental. Alternatively, microbial ecosystems of different subjects may exhibit universal dynamics, with the inter-individual variability mainly originating from differences in the sets of colonizing species7,14. Here we develop a new computational method to characterize human microbial dynamics. By applying this method to cross-sectional data from two large-scale metagenomic studies—the Human Microbiome Project9,15 and the Student Microbiome Project16—we show that gut and mouth microbiomes display pronounced universal dynamics, whereas communities associated with certain skin sites are probably shaped by differences in the host environment. Notably, the universality of gut microbial dynamics is not observed in subjects with recurrent Clostridium difficile infection17 but is observed in the same set of subjects after faecal microbiota transplantation. These results fundamentally improve our understanding of the processes that shape human microbial ecosystems, and pave the way to designing general microbiome-based therapies18.