We formulate and estimate a structural model of firm investment behavior that specifies the exact channel through which financial frictions bite. The model also allows for the existence of both convex and non-convex costs to adjusting capital. Essentially, we move beyond simply testing and rejecting a neoclassical model without frictions. Our quantitative estimates show that both real and financial frictions have an important effect on firm investment dynamics.