We study optimal contracts when R\&D is outsourced to another company. We find that, when a realistic assumption holds, the optimal contract always leads in equilibrium to the lowest acceptable chance of having a successful technical innovation, given announced compensations. This assumption is...