Skip to content
Finance Lessons

Fixed-Income Analytics

Immunization & Hedging a Rate Book

Put the toolkit to work: match duration (and convexity) to a liability so a rate move barely scratches your surplus, choose between barbell and bullet, and compute the DV01 hedge ratio that neutralizes an entire rate book.

14 min Updated Jun 10, 2026

A pension fund owes retirees a fixed stream of payments. A bank funds 10-year loans with overnight deposits. An insurer collects premiums today against claims decades away. Every one of them holds assets on one side and liabilities on the other — and a swing in interest rates can wreck the balance between them. Immunization is the art of arranging your assets so that a rate move hits both sides equally, leaving your surplus untouched. Hedging is the desk version: bolt on an offsetting position so the whole book’s rate risk nets to zero. Both run on the duration and DV01 you’ve already mastered. This is where fixed-income analytics stops being theory and starts protecting real money.

Before you read — take a guess

A pension fund wants to protect its surplus against interest-rate moves. The core idea of immunization is to:

The problem: assets and liabilities both react to rates

Analogy. Picture a balance scale with your assets in one pan and your liabilities in the other, perfectly level (you’re fully funded). Now interest rates jolt. Because both pans hold present values of future cash flows, both move — but if one is more rate-sensitive than the other, it swings further, and the scale tips. A tipped scale means your surplus just changed for reasons that have nothing to do with your actual business. Immunization is gluing weights so the scale stays level no matter how rates jolt.

The mechanism. A liability is just a (negative) bond — a stream of future cash flows with its own present value and its own duration. When rates rise, the liability’s present value falls (good for you, you owe less in today’s terms), but so does your assets’ value (bad). The net effect on your surplus depends on which side has more duration:

  • Asset duration > liability duration: a rate rise hurts assets more → surplus shrinks. You’re exposed to rising rates.
  • Asset duration < liability duration: a rate rise helps (liabilities fall more) → surplus grows on a rise, shrinks on a fall. You’re exposed to falling rates.
  • Asset duration = liability duration: both move together → surplus protected. Immunized.
Immunization is a duration balanceAsset duration too short
60%40%
Asset duration (built)
6.00 yr
Liability duration (target)
7.00 yr

Short bond weight: 60%

The beam is tilted: asset and liability durations differ, so a rate move hits the two sides unequally and the funding gap drifts. Rebalance the barbell until the beam is level.

Duration matching: the first-order shield

The rule. To immunize a single liability of present value VLV_L and duration DLD_L, build an asset portfolio with the same present value and the same duration:

VA=VLandDA=DL.V_A = V_L \quad\text{and}\quad D_A = D_L.

Then for a small parallel yield shift Δy\Delta y, both sides change by approximately DΔy-D \cdot \Delta y in percentage terms, so the surplus VAVLV_A - V_L stays put. That’s first-order (duration) immunization — it neutralizes the linear sensitivity, the dominant term.

Worked example — the barbell. You owe a single liability with duration 7 years and present value $10M. You’ll fund it with two bonds: a short bond (duration 2) and a long bond (duration 12). What weights match duration 7?

Let ww be the weight on the long bond. Solve:

2(1w)+12w=7    2+10w=7    w=0.5.2(1-w) + 12w = 7 \;\Rightarrow\; 2 + 10w = 7 \;\Rightarrow\; w = 0.5.

So 50% short, 50% long gives a portfolio duration of 0.5×2+0.5×12=70.5 \times 2 + 0.5 \times 12 = 7 — matched. This barbell now moves in lockstep with the liability for small parallel shifts. Put $5M in each bond and the surplus is shielded.

Think first

Your liability has duration 6. You'll fund it with a 3-duration bond and an 11-duration bond. What weight on the long bond immunizes it?

Hint: Solve 3(1−w) + 11w = 6 for w.

Fill in the immunization conditions.

Pick the right option for each blank, then check.

To immunize a liability, set the asset portfolio's present value the liability's, and the asset duration the liability duration. If asset duration EXCEEDS liability duration, the fund is exposed to rates. For an even sturdier shield against large moves, also match .

Convexity matching: the second-order upgrade

Why duration alone isn’t enough. Duration matching protects against small, parallel shifts. But for a large move, the convexity of the two sides matters too — if your assets and liabilities curve differently, a big jolt re-tips the scale even when durations match. The fix is to also match convexity:

DA=DLandCA=CL.D_A = D_L \quad\text{and}\quad C_A = C_L.

The barbell’s secret weapon. Recall that a barbell has more convexity than a same-duration bullet. So if you immunize a bullet-shaped liability with a barbell, you can match duration while giving your assets more convexity than the liability — which means for any large parallel move, your assets outperform the liability. The surplus doesn’t just hold; it grows on a big move in either direction. That extra convexity is a genuine edge (paid for, as always, with a little yield give-up).

Build the matched-duration asset portfolioMacaulay duration: 8.11 yr
Present value of each cash flowMacaulay duration
02357810
Macaulay duration
8.11 yr
Modified duration
7.72 yr
Price change per +1% yield
-7.72%

Use this to feel how coupon and maturity set a bond's duration — the raw material you blend to hit your liability's duration target. The barbell that matches duration usually carries more convexity than the liability, a quiet bonus on big moves.

Warning:

Immunization needs maintenance — it's not set-and-forget

Three things erode an immunized position: (1) Time passes — durations drift as the clock ticks, and assets and liabilities age at different rates, so the match decays and you must rebalance. (2) Non-parallel shifts — duration matching assumes the whole curve moves together; a twist (short rates up, long rates down) can tip a duration-matched book, because the two sides have cash flows at different points on the curve. (3) Rates move themselves — every shift changes durations, requiring a re-match. Immunization is a discipline of continual rebalancing, not a one-time trade.

A fund has duration-matched its assets and liabilities, but the yield curve TWISTS (short rates rise, long rates fall) rather than shifting in parallel. What can happen?

Hedging a book: the DV01 hedge ratio

Analogy. A trading desk doesn’t restructure its whole portfolio every time rates wobble — it bolts on an offsetting position (a futures contract, a swap, a short in another bond) sized so the combined DV01 is zero. It’s like adding a counterweight to a wobbling load: you don’t rebuild the load, you just balance it.

The hedge ratio. To neutralize a book’s rate risk with a hedging instrument, hold enough of the hedge that its DV01 exactly offsets the book’s DV01:

Nhedge=DV01bookDV01hedge instrument.N_{\text{hedge}} = -\frac{\text{DV01}_{\text{book}}}{\text{DV01}_{\text{hedge instrument}}}.

The minus sign means you take the opposite side (short the hedge if you’re long the book). After this, a small parallel rate move changes the book and the hedge by equal-and-opposite dollar amounts — net P&L ≈ 0.

Worked example. Your bond book has a DV01 of $8,000 (you lose $8,000 per bp rate rise). You’ll hedge with a futures contract whose DV01 is $25 per contract. How many contracts, and which way?

Nhedge=8,00025=320.N_{\text{hedge}} = -\frac{8{,}000}{25} = -320.

Short 320 contracts. Now if rates rise 1 bp, the book loses $8,000 but the short futures position gains 320×25=8000320 \times 25 = 8000 — $8,000, net zero. You’ve DV01-neutralized the book. Scale the futures position up or down as the book’s DV01 drifts, and you stay hedged.

A portfolio has a DV01 of $12,000. You hedge with a bond future whose DV01 is $40 per contract. To neutralize the rate risk you should:

Match each hedging/immunization concept to its role.

Pick a term, then click its definition.

The residual risks a duration hedge leaves open

Even a perfectly DV01-neutral, duration-matched, convexity-matched book isn’t risk-free — it’s only neutral to the risks you measured:

  • Curve (twist/butterfly) risk — non-parallel moves. The fix is key-rate durations: measure and hedge sensitivity to each segment of the curve (2y, 5y, 10y, 30y) separately, not just one blended duration.
  • Basis risk — your hedge instrument (a future, a swap) may not move exactly with your book; the imperfect correlation is basis risk.
  • Credit/spread risk — a Treasury hedge neutralizes rate risk but not spread risk; if your book is corporate bonds and spreads widen, the hedge won’t save you.
  • Rebalancing/gamma cost — as rates move, DV01s drift, so you must re-hedge, and each adjustment costs spread and may lock in losses.

A real rate desk layers all of these: DV01 for the level, key-rate durations for the curve shape, separate spread hedges for credit, and a rebalancing discipline to keep it all aligned.

A desk has DV01-hedged its Treasury book to zero. Its corporate bonds then suffer a sharp WIDENING in credit spreads. What happens?

When to use which

Use immunization (duration + convexity matching) when you have a defined liability stream to defend — a pension’s payouts, an insurer’s claims — and you want the surplus protected through a buy-and-maintain portfolio. Use DV01 hedging when you run an active book and want to neutralize rate risk tactically with liquid instruments (futures, swaps) without disturbing the underlying positions. Layer in key-rate durations the moment non-parallel curve moves matter, and separate spread hedges the moment you hold credit. The throughline: measure your sensitivity precisely, then deploy an equal-and-opposite sensitivity to cancel exactly the risk you don’t want.

Putting it together

Immunization protects a surplus by matching the duration of assets to liabilities so a parallel rate move tips neither pan of the scale; matching convexity too upgrades the shield for large moves, and a barbell can even hand you a convexity bonus over a bullet liability. On a desk, the DV01 hedge ratio (DV01book/DV01hedge-\text{DV01}_{\text{book}}/\text{DV01}_{\text{hedge}}) sizes an offsetting position that zeroes the book’s rate P&L. But a duration/DV01 hedge is only as complete as the risks it measures — twists, basis, spreads and rebalancing all lurk beyond it, which is why real books layer key-rate durations and dedicated spread hedges on top. Master this, and you’ve closed the loop from pricing a single bond to defending an entire balance sheet.

Big picture

Immunization & hedging a rate book

  • Immunize & Hedge
    • The problem
      • Assets vs liabilities both react to rates
      • Mismatched duration tips the surplus
      • A balance scale that must stay level
    • Duration matching
      • D_assets = D_liabilities
      • Match present values too
      • First-order, parallel-shift shield
      • Barbell weights solve D_target
    • Convexity matching
      • C_assets = C_liabilities
      • Protects against large moves
      • Barbell out-convexes a bullet
    • DV01 hedging
      • N = −DV01_book / DV01_hedge
      • Short the hedge if long the book
      • Net P&L ≈ 0 for a parallel move
      • Rebalance as DV01 drifts
    • Residual risks
      • Twist/butterfly → key-rate durations
      • Basis risk (imperfect hedge)
      • Spread risk (needs its own hedge)
      • Rebalancing cost
Match duration (and convexity) to defend a surplus; size a DV01 hedge to neutralize a book — then watch the residual twist, basis and spread risks a single-factor hedge leaves open.

Recap: immunization & hedging

Question 1 of 50 correct

A liability has duration 8. You fund it with a duration-4 bond and a duration-14 bond. The long-bond weight that immunizes it is:

Check your answer to continue.

That closes the loop. You can now price a bond from its cash flows, measure its sensitivity three ways, fold in convexity, build the spot and forward curve, glimpse how rates evolve, price the cost of default, and defend an entire balance sheet against rate moves. The final exam is next — one graded run through the whole arc.

Mark lesson as complete