In this paper, we propose a risk-based model for deposit insurance premiums and provide the closed-form formula for premiums, including early closure, capital forbearance, interest rate risk, and moral hazard. Our numerical analysis confirms the proposed pricing formula and the relative impact of the provisions for deposit insurance premiums. We illustrate how to use credit default swaps (CDSs) to manage the bank’s asset risk corresponding to the deposit insurance model. A failed bank, Washington Mutual, is used to demonstrate how to calibrate the model’s parameters and calculate fair premiums that are consistent with market risks on the basis of our proposed model and credit derivatives. Finally, a numerical experiment is designed to determine the optimal hedge ratio, which can minimise the variance of cash-flow of the deposit insurance corporations.