We test the pecking order model of capital structure by examining the financing of firms that went public in 1983. We estimate a logit to predict external financing, and a multinomial logit to predict the type of financing using data on the IPO firms' security offerings during 1984–1992. Our results indicate that the probability of obtaining external funds is unrelated to the shortfall in internally generated funds, although firms with cash surpluses avoid external financing. Firms that access the capital markets do not follow the pecking order when choosing the type of security to offer.