Does the awarding of oil and gas licenses increase corruption? We answer this question by exploiting leaked data on the incorporation of shell companies and detailed information on the awarding of oil and gas licenses. Using this data, we construct a new dataset covering 119 countries over the period 1990–2014. Shell companies, by providing secrecy to their ultimate beneficiaries, are an ideal vehicle to channel bribes to officials involved in the awarding of oil licenses. We consider the incorporation of offshore entities as an indicator of corruption risk. We find that the number of new shell companies increases by 11% in the period around the awarding of an exploration license. We interpret this evidence to be a strong indicator that the award of an exploration license increases the risk of corruption. Consistent with rent-maximising behaviour, this association is stronger when the price of oil increases.