We address independent and joint effects of contractual hazards and technological capabilities on governance, arguing that strong technological capabilities improve a firm's ability to govern transactions, making outsourcing feasible despite certain contractual hazards. Examining a random sample of 405 service contracts from a single information technology firm, we found that contractual hazards encouraged internalizing transactions. Weak technological capabilities increased the likelihood of subcontracting, but strong technological capabilities had no independent effect. The latter had impact only in the presence of certain contractual hazards. These results illuminate why firms facing similar levels of contracting hazards organize their transactions differently.