We study the optimal duration of contracts in a principal-agent framework with both moral hazard and adverse selection. Agents decide on a contract-specific and non-verifiable investment. Incentive compatibility requires that initial contracts, which serve to screen the ability of newly hired...