Intuition suggests that corporate investment should be decreasing in financing constraints. We show that even when financing is obtained using a standard debt contract and there is symmetric information between the firm and outside investors, the relation is actually U-shaped. We thus provide a new theoretical explanation for the recent empirical findings of Cleary et al. (2007). We split up the endogenously implied financing costs and propose a trade-off between expected liquidation costs and second-best investment costs. For rather unconstrained firms, the risk of costly liquidation dominates the cost of underinvestment and, hence, induces cutting down investment. On the other hand, severely constrained firms benefit more by getting closer to the first-best investment implying higher investment.