We study optimal incentives in a principal-agent problem in which the agent's outside option is determined endogenously in a competitive labor market. In equilibrium, strong performance increases the agent's market value. When this value becomes sufficiently high, the threat of the agent's...