To study the effect of the legal system on the cost of external financing, we examine the degree of underpricing of the IPOs by foreign companies listed in the U.S. We find that firms from highly corrupted countries have larger IPO underpricing. The quality of the home countries' public law...