Humans are home to complex microbial communities, whose aggregate genomes and their encoded metabolic activities are referred to as the human microbiome. Recently, researchers have begun to appreciate that different human body habitats and the activities of their resident microorganisms can be better understood in ecological terms, as a range of spatial scales encompassing single cells, guilds of microorganisms responsive to a similar substrate, microbial communities, body habitats, and host populations. However, the bulk of the work to date has focused on studies of culturable microorganisms in isolation or on DNA sequencing–based surveys of microbial diversity in small-to-moderate-sized cohorts of individuals. Here, we discuss recent work that highlights the potential for assessing the human microbiome at a range of spatial scales, and for developing novel techniques that bridge multiple levels: for example, through the combination of single-cell methods and metagenomic sequencing. These studies promise to not only provide a much-needed epidemiological and ecological context for mechanistic studies of culturable and genetically tractable microorganisms, but may also lead to the discovery of fundamental rules that govern the assembly and function of host-associated microbial communities.