Luck, skill and labor markets all have empirical support as determinants of managerial compensation. We examine the relative importance of pay for luck, managerial skill and labor market opportunities in determining compensation. We measure luck as the predictable component of firm performance, measure skill using managerial fixed effects and measure labor market opportunities as the compensation of executives at matched firms. Our results imply that managerial skill is the most important determinant of managers' compensation, followed by firm size and labor market opportunities, and that luck is not an important determinant of managerial compensation.