$Missed Deductions

Can I get the home sale exclusion if I lived there less than 2 years?

Home Buyingintermediate3 answers · 6 min readUpdated February 28, 2026

Quick Answer

You may qualify for a partial home sale exclusion if you lived in your home less than 2 years due to specific unforeseen circumstances. The IRS allows prorated exclusions (up to $125,000-$250,000) for job changes, health issues, or other qualifying hardships, even if you only lived there 12 months.

Best Answer

RK

Robert Kim, Tax Return Analyst

Homeowners who need to sell due to job changes, health issues, or other IRS-recognized unforeseen circumstances

Top Answer

Can you get a partial home sale exclusion with less than 2 years?


Yes, you can qualify for a partial home sale exclusion even if you lived in your home for less than 2 years, but only if your sale is due to specific qualifying circumstances. According to IRS Publication 523, you may exclude a prorated portion of the standard $250,000 (single) or $500,000 (married filing jointly) exclusion.


The key is proving your sale was due to an "unforeseen circumstance" as defined by the IRS. You don't get the full exclusion, but you get a percentage based on how long you actually lived there.


Example: Job-related move after 18 months


Sarah bought a home in Denver for $400,000 in January 2025. In June 2026 (18 months later), her company transferred her to Seattle and she sold the house for $475,000, making a $75,000 gain.


Partial exclusion calculation:

  • Time lived in home: 18 months ÷ 24 months = 75%
  • Maximum exclusion (single): $250,000 × 75% = $187,500
  • Her gain: $75,000
  • Result: $0 taxes owed (gain is fully covered by partial exclusion)

  • If Sarah hadn't qualified for the exception, she would owe capital gains tax on the entire $75,000 gain.


    Qualifying unforeseen circumstances


    The IRS recognizes these specific situations for partial exclusions:


    Employment-related:

  • Job transfer more than 50 miles from current home
  • Involuntary termination or layoff
  • Beginning or ending self-employment

  • Health-related:

  • Serious illness requiring specialized medical care
  • Doctor-recommended change of residence
  • Physical inability to care for the home

  • Other qualifying events:

  • Divorce or legal separation
  • Natural disasters damaging the home
  • Terrorist attacks or acts of war
  • Unemployment qualifying for benefits
  • Multiple births from same pregnancy

  • Comparison: Full vs. partial exclusion amounts



    How to prove your qualifying circumstance


    You must demonstrate that your primary reason for selling was the unforeseen circumstance, not financial gain. Documentation helps:


  • Job transfer: Employment letter showing required relocation
  • Health issues: Doctor's written recommendation
  • Divorce: Court decree or separation agreement
  • Natural disaster: Insurance claims or government disaster declarations

  • What you should do


    1. Gather documentation proving your qualifying circumstance occurred during your ownership period

    2. Calculate your prorated exclusion using the formula: (months lived ÷ 24) × maximum exclusion

    3. File Form 8949 and Schedule D with your tax return to report the sale

    4. Keep detailed records including purchase documents, sale documents, and proof of qualifying circumstances


    Use our [return scanner](return-scanner) to check if you properly claimed all available exclusions on past returns, or our [refund estimator](refund-estimator) to calculate potential tax savings.


    Key takeaway: You can exclude up to 83% of the standard home sale exclusion ($207,500 single, $415,000 married) if you lived in your home for just 20 months due to qualifying unforeseen circumstances.

    *Sources: [IRS Publication 523](https://www.irs.gov/pub/irs-pdf/p523.pdf), IRC Section 121*

    Key Takeaway: Qualifying hardships allow partial home sale exclusions worth up to $207,500 (single) or $415,000 (married) even with less than 2 years of residence.

    Partial exclusion amounts based on time lived in home

    Time LivedPercentageSingle Filer MaxMarried Filing Jointly Max
    12 months50%$125,000$250,000
    18 months75%$187,500$375,000
    20 months83%$207,500$415,000
    23 months96%$240,000$480,000
    24+ months100%$250,000$500,000

    More Perspectives

    MW

    Michelle Woodard, Tax Policy Analyst

    Homeowners who lived in their home less than 2 years but don't have IRS-recognized unforeseen circumstances

    No exclusion without qualifying circumstances


    If you sell your primary residence after living there less than 2 years without a qualifying unforeseen circumstance, you cannot claim any portion of the home sale exclusion. The entire gain is subject to capital gains tax.


    Example: Investment-motivated sale


    Mark bought a condo in Austin for $350,000 in March 2025. By December 2025 (9 months later), home values had surged and he sold for $425,000, realizing a $75,000 gain. His motivation was purely financial—he wanted to cash in on the hot market.


    Tax consequences:

  • Gain: $75,000
  • Home sale exclusion: $0 (no qualifying circumstance)
  • Taxable gain: $75,000
  • Tax owed: $75,000 × 22% = $16,500 (assuming 22% tax bracket)

  • When personal choice doesn't qualify


    These common reasons do NOT qualify for partial exclusions:

  • Wanting to upgrade to a larger home
  • Moving to a better school district by choice
  • Relocating to be closer to family
  • Financial speculation or investment gains
  • Simply changing neighborhoods or lifestyle preferences

  • Planning strategies to minimize tax


    Option 1: Delay the sale

    If possible, wait until you meet the 2-year requirement. Even waiting an extra 3-6 months could save thousands in taxes.


    Option 2: 1031 like-kind exchange

    This doesn't apply to primary residences, only investment properties. However, if you're considering the home as a rental before selling, consult a tax professional.


    Option 3: Document any potential qualifying events

    Carefully review whether any life changes might qualify as unforeseen circumstances. Job changes, health issues, or family situations occurring near your sale date could potentially qualify.


    Key takeaway: Without qualifying unforeseen circumstances, selling your primary residence before 2 years means paying capital gains tax on the entire gain—potentially costing $15,000-$25,000 on a typical $75,000-$100,000 gain.

    Key Takeaway: Selling without qualifying circumstances means paying full capital gains tax, potentially $15,000-$25,000 on typical gains.

    MW

    Michelle Woodard, Tax Policy Analyst

    Investors who occasionally live in properties they flip or develop, trying to claim primary residence status

    IRS scrutiny for short-term residence claims


    Real estate investors who live in properties briefly before selling face intense IRS scrutiny when claiming home sale exclusions. The IRS looks for patterns indicating investment intent rather than genuine residence use.


    Red flags that trigger audits


    Pattern indicators:

  • Multiple properties claimed as primary residences within 2-3 years
  • Extensive renovations immediately before or after moving in
  • Properties held in business entities or LLCs
  • Minimal personal belongings or utility usage
  • Immediate listing for sale after minor residence period

  • Example: Failed investor strategy


    David, a house flipper, tried claiming primary residence on three properties:

  • 2024: Lived in flip house for 8 months, claimed job transfer
  • 2025: Lived in another flip for 11 months, claimed health issues
  • 2026: Lived in third flip for 6 months, claimed divorce

  • The IRS audited all three sales, determining the primary intent was investment, not residence. Result: $45,000 in additional taxes plus penalties.


    Legitimate strategies for investors


    The 2-out-of-5 year rule:

    You can claim the exclusion once every 2 years, but you must genuinely use the property as your primary residence for 2 of the previous 5 years. This allows some flexibility for investors who occasionally live in properties.


    Documentation requirements:

  • Voter registration at the address
  • Driver's license showing the address
  • Utility bills and mail delivery
  • Homestead exemption claims
  • School enrollment for children

  • Safe harbor approach:

    If you're going to claim a property as your primary residence, live there for the full 2 years and avoid any appearance of investment intent during that period.


    Key takeaway: Investors attempting to game the system with brief residence periods face audit risks and potential penalties of 20-40% on unpaid taxes, plus interest—often exceeding the attempted tax savings.

    Key Takeaway: Investors claiming brief residence periods risk audits and penalties of 20-40% on unpaid taxes, often exceeding attempted savings.

    Sources

    home sale exclusionprimary residencecapital gainspartial exclusion

    Reviewed by Robert Kim, Tax Return Analyst on February 28, 2026

    This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.