[[abstract]]Theories on loan portfolio swap hedging are based on a portfolio-choice approach. This paper presents an alternative: a firm-theoretic model for bank behavior with loan portfolio swaps. Our paper derives the optimal loan rate and rate-taking loan amount of the banks portfolio, and relates them to the market loan rate, counterparty loan rate, swap default risk, capital-to-deposits ratio, and deposit insurance. We find that in the bilateral default risk approach, the comparative static results are generated by four factors: the banks risk magnitude about the equity market value, loan composition in the swap contract, the substitution effect in the loan portfolio, and the income effect from the swap transaction. The results imply t...