Factlen ExplainerMortgage MarketExplainerJul 3, 2026, 7:23 AM· 4 min read· #2 of 2 in finance

The Mechanics of Secondary Market Risk: How Fannie and Freddie's Duration Gap Works

As interest rates remain elevated, the time it takes for existing mortgages to be paid off has stretched to historic lengths. This explainer breaks down how 'duration extension' impacts Fannie Mae and Freddie Mac, and what it means for the broader housing market.

By Factlen Editorial Team

Mortgage Industry Analysts 40%Systemic Risk Regulators 35%Academic Economists 25%
Mortgage Industry Analysts
Focuses on the mechanics of hedging and the pricing of mortgage-backed securities in a volatile rate environment.
Systemic Risk Regulators
Prioritizes the capital buffers at the GSEs and the need for rigorous stress testing against duration gaps to protect taxpayers.
Academic Economists
Examines the structural inefficiencies and unique systemic risks created by the 30-year fixed-rate mortgage.

What's not represented

  • · First-time homebuyers locked out by high rates
  • · Taxpayer advocacy groups

Why this matters

Understanding duration risk reveals the hidden plumbing of the U.S. housing market. For homebuyers and taxpayers, how government-sponsored enterprises manage this interest-rate mismatch directly influences future mortgage rates and the stability of the financial system.

Key points

  • High interest rates have caused homeowners to hold onto their mortgages longer, doubling the average lifespan of a mortgage-backed security.
  • This 'duration extension' traps capital in low-yielding assets while funding costs rise.
  • Fannie Mae and Freddie Mac must use expensive financial derivatives to hedge against this duration gap.
  • While the GSEs are well-capitalized, extreme duration gaps could theoretically expose taxpayers to losses.
  • The 30-year fixed-rate mortgage relies on this complex secondary market to absorb interest rate risk.
~7.0 years
Average MBS duration (up from 3.5 in 2021)
$7.5 Trillion
Combined GSE mortgage guarantee portfolio
3.5–3.75%
Current Fed Funds Rate

When a homeowner locks in a 30-year fixed-rate mortgage, they gain financial certainty for three decades. But that certainty does not come free; it is absorbed by the financial system, which must manage the risk that interest rates will change over those thirty years.[1][4]

Currently, the U.S. housing market is experiencing a phenomenon known as 'duration extension.' Because interest rates have remained elevated, millions of homeowners with sub-4% mortgages are refusing to sell or refinance, freezing the normal churn of the housing market.

As a result, the expected lifespan of the average mortgage has doubled. In 2021, the average mortgage-backed security (MBS) was expected to pay off in roughly 3.5 years due to rampant refinancing. Today, that timeline stretches closer to seven years.[2]

This shift places immense pressure on the secondary mortgage market, specifically on the government-sponsored enterprises (GSEs) Fannie Mae and Freddie Mac, which sit at the center of American housing finance.[1]

The expected lifespan of the average mortgage-backed security has doubled since 2021.
The expected lifespan of the average mortgage-backed security has doubled since 2021.

To understand why, one must look at the mechanics of how mortgages are funded. When a bank originates a loan, it rarely keeps it on its own balance sheet. It sells the loan to Fannie or Freddie, who package thousands of loans into an MBS.[4]

The GSEs guarantee the principal and interest payments on these securities for global investors, and they also hold a portion of them in their own retained portfolios to manage market liquidity.

The risk emerges from a mismatch between assets and liabilities, known in financial engineering as a 'duration gap.'[3]

If Fannie Mae holds a portfolio of mortgages yielding 3.5%, but the cost to borrow money in the current market has risen to 4.5%, the enterprise is losing money on the spread. They are paying more to fund their operations than they are earning from their assets.[1][2]

They are paying more to fund their operations than they are earning from their assets.

In a normal environment, this is manageable because mortgages pay off early, allowing the capital to be reinvested at higher current rates. But duration extension traps the capital in low-yielding assets for much longer than anticipated.[4]

A duration gap occurs when the cost of funding liabilities rises faster than the yield on fixed assets.
A duration gap occurs when the cost of funding liabilities rises faster than the yield on fixed assets.

This dynamic is uniquely pronounced in the United States. The 30-year fixed-rate mortgage, which allows borrowers to prepay without penalty, creates what bond traders call 'negative convexity.'[2][3]

Negative convexity means that when rates fall, borrowers refinance, returning capital to investors when it is hardest to reinvest. When rates rise, borrowers hold onto their loans, trapping the investors' capital just when higher yields are available elsewhere.[3][4]

For the GSEs, managing this risk requires sophisticated hedging strategies. They use interest rate swaps, swaptions, and callable debt to artificially shorten the duration of their liabilities to match their extending assets.[1]

However, hedging is not free. As volatility in the bond market increases, the cost of these derivative instruments rises, eating into the GSEs' guarantee fees and overall profitability.

The Federal Housing Finance Agency (FHFA), which regulates the GSEs, closely monitors this duration gap. Recent stress tests indicate that while Fannie and Freddie are better capitalized today than before the 2008 financial crisis, a prolonged period of high rates combined with a frozen housing market could generate billions in paper losses.

Negative convexity means investors' capital is trapped exactly when higher yields become available elsewhere.
Negative convexity means investors' capital is trapped exactly when higher yields become available elsewhere.

Because Fannie and Freddie remain in government conservatorship, their financial health is ultimately backstopped by the U.S. Treasury.[1][4]

If the duration gap widens beyond the capacity of their hedges, the resulting losses could theoretically expose taxpayers to a bailout, though analysts note the current capital buffers make this an extreme tail-risk scenario rather than an immediate threat.[2][4]

The uncertainty lies in human behavior. While financial models assume homeowners will never move if they have a 3% mortgage, life events—divorce, death, job relocation—eventually force sales, generating prepayments even in a high-rate environment.[3]

Ultimately, the mechanics of secondary market risk highlight the hidden costs of the American mortgage system. The ability of a homebuyer to secure a fixed rate for 30 years is a modern financial marvel, made possible only by a complex, heavily hedged secondary market absorbing the duration risk on the other side.[4]

How we got here

  1. 2008

    Fannie Mae and Freddie Mac are placed into government conservatorship during the financial crisis.

  2. 2020–2021

    A record refinancing wave drops the average MBS duration to historic lows of roughly 3.5 years.

  3. 2022–2023

    The Federal Reserve begins aggressive rate hikes, freezing the housing market and halting prepayments.

  4. 2026

    Duration extension peaks as the expected lifespan of mortgage securities stretches to seven years.

Viewpoints in depth

Secondary Market Investors

Focuses on the demand for higher yields and the pricing of extension risk.

For institutional investors buying mortgage-backed securities, duration extension is a double-edged sword. On one hand, they are stuck holding lower-yielding assets for longer than they modeled. On the other hand, new MBS issuances must offer significantly higher yields to compensate for this extension risk. These investors argue that the market is currently repricing the true cost of the 30-year fixed mortgage, demanding a higher premium for the negative convexity inherent in American housing finance.

Housing Policy Advocates

Focuses on the necessity of the 30-year fixed mortgage for affordability, despite the systemic risks it creates.

Housing advocates maintain that the 30-year fixed-rate mortgage is the cornerstone of American middle-class wealth creation. While acknowledging the complex duration risks it pushes onto the GSEs and the secondary market, they argue that this financial plumbing is a necessary public good. Without the GSEs absorbing this risk, homebuyers would be forced into adjustable-rate mortgages, exposing ordinary families to the exact interest rate shocks that currently plague Fannie and Freddie's balance sheets.

Systemic Risk Regulators

Focuses on the capital buffers at the GSEs and the need for rigorous stress testing against duration gaps.

Regulators at the FHFA and the Federal Reserve view the duration gap primarily through the lens of taxpayer protection. Their models stress-test the GSEs against scenarios where rates stay elevated for a decade while prepayments remain near zero. While current capital buffers are robust, regulators emphasize that the sheer size of the $7.5 trillion guarantee portfolio means even small unhedged duration mismatches can translate into billions in paper losses, necessitating strict oversight of the enterprises' derivative hedging programs.

What we don't know

  • Exactly how long interest rates will remain elevated enough to suppress mortgage prepayments.
  • The precise threshold at which life events (death, divorce, relocation) will force a baseline level of housing turnover regardless of rates.
  • Whether the cost of hedging derivative instruments will rise to a level that forces the GSEs to significantly increase guarantee fees.

Key terms

Duration
A measure of the sensitivity of the price of a bond or other debt instrument to a change in interest rates, often expressed in years.
Convexity
The relationship between bond prices and interest rates; negative convexity means the duration lengthens when rates rise because borrowers stop prepaying.
GSE
Government-Sponsored Enterprises, specifically financial services corporations created by Congress like Fannie Mae and Freddie Mac.
Prepayment Risk
The risk that a borrower will pay back a loan earlier than expected, usually to refinance at a lower rate, forcing the investor to reinvest at a lower yield.

Frequently asked

Why does a longer mortgage duration hurt Fannie and Freddie?

It traps their capital in older, lower-yielding loans while their own borrowing costs rise with current interest rates, creating a negative spread.

Will this duration gap cause another housing crash?

No. This is a balance sheet risk for the enterprises regarding interest rates, not a credit risk of homeowners defaulting on their loans.

How do the GSEs protect themselves from this risk?

They use financial derivatives like interest rate swaps and issue callable debt to hedge against the risk of changing interest rates.

Sources

Source coverage

4 outlets

3 viewpoints surfaced

Mortgage Industry Analysts 40%Systemic Risk Regulators 35%Academic Economists 25%
  1. [1]The Wall Street JournalMortgage Industry Analysts

    Fannie, Freddie Duration Risk Rises as Rate Cuts Stall

    Read on The Wall Street Journal
  2. [2]Federal Reserve Bank of New YorkSystemic Risk Regulators

    MBS Convexity and Duration Extension Risk in a High-Rate Environment

    Read on Federal Reserve Bank of New York
  3. [3]National Bureau of Economic ResearchAcademic Economists

    Interest Rate Risk in the US Mortgage Market

    Read on National Bureau of Economic Research
  4. [4]Factlen Editorial TeamMortgage Industry Analysts

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team
Stay informed

Every angle. Every day.

Get finance stories with full source coverage and perspective breakdowns delivered to your inbox.