I document a previously unexplored substantial cost of initial public offerings (IPOs): patent lawsuits. I find that firms become targets of excessive patent lawsuits shortly before IPO completions, and the litigation intensity persists after firms become public. However, firms that withdraw...