We analyze optimal hedging contracts and show that although hedging aims at sharing risk, it can lead to more risk …. This incentive problem limits the capacity to share risks and generates endogenous counterparty risk. Optimal hedging can … address the market failure caused by unregulated trading of hedging contracts among protection sellers …