The accumulation of firm-specific knowledge improves firm productivity and employee retention, by creating a wedge between what the employee is worth inside and outside the firm. How does the firm create incentives for investment in firm-specific human capital when this investment requires costly employee effort and is not contractible? We characterize the optimal linear wage policies that provide such incentives. In a one-period model with stochastic outside offers, we obtain several results. (1) The firm-specific and general investments are substitutes in the employee’s utility function, even if they are not in the cost function. (2) The firm-specific investment is zero below a threshold sharing rule, but it can jump discontinuously to a ...