This paper shows (i) how entry and exit of firms in a competitive industry affect the valuation of securities and optimal capital structure, and (ii) how, given a trade-off between the tax advantages and agency costs, a firm will optimally adjust its leverage level after it is set up. We derive...