Home sales can generate significant capital gains — but the IRS provides a generous exclusion for primary residences. Understanding the rules before you sell can save you tens of thousands.
The Primary Residence Exclusion
Under IRC Section 121, homeowners who meet certain requirements can exclude:
- $250,000 in gains (single filers)
- $500,000 in gains (married filing jointly)
from capital gains tax when selling their primary residence.
The Requirements (The “2 out of 5” Rule)
To qualify for the full exclusion, you must have:
- Owned the home for at least 2 of the last 5 years
- Used it as your primary residence for at least 2 of the last 5 years
The 2 years don’t need to be consecutive. If you rented the property for part of the time, it’s more complex — see a tax professional.
The Math That Matters
Example:
- You bought in 2018 for $550,000
- You sell in 2024 for $1,050,000
- Gain: $500,000
- Exclusion (married): $500,000
- Taxable gain: $0
This is the primary mechanism by which California homeowners have built substantial wealth — often tax-free.
What if your gain exceeds the exclusion? If your gain is $700,000 and you’re married, $500,000 is excluded. The remaining $200,000 is subject to long-term capital gains tax — currently 0%, 15%, or 20% depending on your income, plus the 3.8% Net Investment Income Tax for high earners.
Partial Exclusion Rules
If you don’t meet the full 2-year requirement due to a job change, health issue, or other qualifying unforeseen circumstance, you may qualify for a partial exclusion.
Planning Implications
If you’re approaching the 2-year mark and considering selling, it’s often worth waiting to qualify for the exclusion. For a couple in a high-appreciation market, waiting a few months could mean $75,000+ in tax savings.
We don’t provide tax advice, but we work closely with CPAs and financial advisors to ensure our clients understand the full financial picture before selling.