This paper develops a theory of a firm’s hedging decision with endogenous leverage. In contrast to previous models in the literature, our framework is based on less restrictive distributional assumptions and allows a closed-form analytical solution to the joint optimization problem. Using anecdotal evidence of greater benefits of risk management for firms selling “credence goods” or products that involve long-term relationships, we prove that those optimally leveraged firms, which face more convex indirect bankruptcy cost functions, will choose higher hedge ratios. Moreover, we suggest a new approach to test this relationship empirically. Copyright Springer Science+Business Media, LLC 2007Corporate hedging, Risk management, Leverage, Capital structure, Bankruptcy, Financial distress, G32, G39,