The genetic code is redundant with most amino acids using multiple codons. In many organisms, codon usage is biased toward particular codons. Understanding the adaptive and nonadaptive forces driving the evolution of codon usage bias (CUB) has been an area of intense focus and debate in the fields of molecular and evolutionary biology. However, their relative importance in shaping genomic patterns of CUB remains unsolved. Using a nested model of protein translation and population genetics, we show that observed gene level variation of CUB in Saccharomyces cerevisiae can be explained almost entirely by selection for efficient ribosomal usage, genetic drift, and biased mutation. The correlation between observed codon counts within individual genes and our model predictions is 0.96. Although a variety of factors shape patterns of CUB at the level of individual sites within genes, our results suggest that selection for efficient ribosome usage is a central force in shaping codon usage at the genomic scale. In addition, our model allows direct estimation of codon-specific mutation rates and elongation times and can be readily applied to any organism with highthroughput expression datasets. More generally, we have developed a natural framework for integrating models of molecular processes to population genetics models to quantitatively estimate parameters underlying fundamental biological processes, such a protein translation.ribosome overhead cost | protein production rate F or many organisms, the preferential usage of certain codons, commonly referred to as codon usage bias (CUB), is strongly correlated with corresponding tRNA abundances and expression levels (1, 2). Explanations for these correlations abound; the most favored ones include selection against translational errors (3-5), selection for translational efficiency (6-8), effects on protein folding (9), and stability of mRNA secondary structures (10, 11). Because different combinations of these factors could lead to very similar patterns of codon usage, their relative importance in shaping the evolution of CUB is unknown (10, 12, 13). We believe that this uncertainty over their relative importance is, in large part, attributable to a lack of mechanistic models of processes hypothesized to give rise to these patterns (exceptions are found in refs. 5, 6, 13, and 14). Although most theories of codon usage predict that the degree of bias in codon usage should increase with gene expression (1, 4, 15), they lack any specific quantitative predictions about the rate and nature of these changes. This is because most commonly used indices of CUB, such as frequency of optimal codons (F op ) (1), codon adaptation index (CAI) (16), and codon bias index (CBI) (17), are both heuristic and aggregate measures of CUB and fail to define explicitly the factors responsible for the evolution of CUB. In contrast, we show that a mechanistic model of protein translation that explicitly includes the effects of biased mutation, genetic drift, and selection for efficient ribosome usage...