This paper presents theory and evidence from highly disaggregated Chinese data that tighter credit constrains force firms to produce lower quality. The paper modifies Melitz's (2003) model of trade with heterogeneous firms by introducing quality choice and credit constraints. The quality sorting...