This paper studies the effect of corruption on foreign direct investment. The sample covers bilateral investment from twelve source countries to 45 host countries. There are two central findings. First, a rise in either the tax rate on multinational firms or the corruption level in a host country reduces inward foreign direct investment (FDI). In a benchmark estimation, an increase in the corruption level from that of Singapore to that of Mexico would have the same negative effect on inward FDI as raising the tax rate by fifty percentage points. Second, American investors are averse to corruption in host countries, but not necessarily more so than average OECD investors, in spite of the U.S. Foreign Corrupt Practices Act of 1977.