Using a 10-species oral biofilm consortium and defined mutants, we show that high-level capacity to generate ammonia from a common salivary substrate is needed to maintain community diversity. This model appears to be suitable for the study of the effects of individual genetic determinants on the ecology of oral biofilms.